package catala

  1. Overview
  2. Docs
Compiler and library for the literate programming language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.10.0.tar.gz
md5=5abd76e8c51a47670645e91b21b57fc5
sha512=9c6fbe50c0b5a60566e877eeddadca0a339e2ce35deb5c1beceb03bc40eb6af2d519313e71859d88645b53fad591d4fa5288c633b185c9d765603da0f5b7dd7b

doc/catala.lcalc/Lcalc/From_dcalc/index.html

Module Lcalc.From_dcalcSource

Sourceval translate_program_with_exceptions : 'm Dcalc.Ast.program -> 'm Ast.program

Translation from the default calculus to the lambda calculus. This translation uses exceptions to handle empty default terms.

Sourceval translate_program_without_exceptions : 'm Dcalc.Ast.program -> 'm Ast.program

Translation from the default calculus to the lambda calculus. This translation uses an option monad to handle empty defaults terms. This transformation is one piece to permit to compile toward legacy languages that does not contains catchable exceptions.

OCaml

Innovation. Community. Security.