package catala
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/To_ocaml/index.html
Module Lcalc.To_ocaml
Source
Formats a lambda calculus program into a valid OCaml program
Source
val format_struct_field_name :
Format.formatter ->
(Shared_ast.StructName.t option * Shared_ast.StructField.t) ->
unit
Source
val format_to_module_name :
Format.formatter ->
[< `Ename of Shared_ast.EnumName.t | `Sname of Shared_ast.StructName.t ] ->
unit
Source
val format_program :
Format.formatter ->
?exec_scope:Shared_ast.ScopeName.t ->
?exec_args:bool ->
'm Ast.program ->
Scopelang.Dependency.TVertex.t list ->
unit
Usage format_program fmt p type_dependencies_ordering
. Either one of these may be set:
exec_scope
will mark the named scope as "main" and execute it at the end of the program. It must have no inputs.exec_args
will add support for executing scopes passed on Argv (default true ifexec_scope
isNone
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>