Lcalc.To_ocamlSourceFormats a lambda calculus program into a valid OCaml program
val format_struct_field_name :
Format.formatter ->
(Shared_ast.StructName.t option * Shared_ast.StructField.t) ->
unitval format_to_module_name :
Format.formatter ->
[< `Ename of Shared_ast.EnumName.t | `Sname of Shared_ast.StructName.t ] ->
unitval format_program :
Format.formatter ->
?exec_scope:Shared_ast.ScopeName.t ->
?exec_args:bool ->
'm Ast.program ->
Scopelang.Dependency.TVertex.t list ->
unitUsage 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 if exec_scope is None