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.6.0.tar.gz
md5=b22e238d5d5c8452067109e9c7c0f427
sha512=ccc8c557c67c2f9d1bed4b957b2367f0f6afc0ef9b8b83237cf2a2912b3e8829b7e8af78ea7fe00b20ecf28b436ad04b591e5fff4f82fd08725d40a18c9924d0

doc/catala.scopelang/Scopelang/Scope_to_dcalc/index.html

Module Scopelang.Scope_to_dcalcSource

Scope language to default calculus translator

Sourceval translate_program : Ast.program -> Dcalc.Ast.program * Dependency.TVertex.t list

Usage translate_program p returns a tuple (new_program, types_list) where new_program is the map of translated scopes. Finally, types_list is a list of all types (structs and enums) used in the program, correctly ordered with respect to inter-types dependency.

OCaml

Innovation. Community. Security.