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/scalc.html

Statement calculus

This representation is the sixth in the compilation chain (see Architecture). Its main difference with the previous default calculus is the switch to a statement-based language. This representation does not assume any scoping rules in the language, every local variable has a unique id.

The module describing the abstract syntax tree is:

Compilation from lambda calculus

Scalc.From_lcalc Performs the classical translation from an expression-based language to a statement-based language. Union types are eliminated in favor of tagged unions.

Related modules:

Backends

Related modules:

  • Scalc.To_python Formats a lambda calculus program into a valid Python program
OCaml

Innovation. Community. Security.