package catala

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.3.2.tar.gz
md5=4f8ba5a733ebdb5c115241162f618d6e
sha512=a091173c7f0a7ef3842849a72250e4fb2da65776f8b7423f5d2473234aa1e842eee63c424640622e89fd1059a6a442831d339bdb8406fb1b362efc0073058637

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