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.8.0.tar.gz
md5=1408a1cce45c7d5990b981e83e7589c2
sha512=eb3b923aa1f743378b4a05e30f50be5d180dc862a716270d747a90e469017f42fa5fc41352f02fbbf59cd2560f91c4f1b32cf38d80085b105d9387b0aed2039d

doc/catala.lcalc/Lcalc/To_ocaml/index.html

Module Lcalc.To_ocamlSource

Formats a lambda calculus program into a valid OCaml program

Sourceval avoid_keywords : string -> string
Sourceval typ_needs_parens : Shared_ast.typ -> bool
Sourceval format_enum_name : Format.formatter -> Shared_ast.EnumName.t -> unit
Sourceval format_enum_cons_name : Format.formatter -> Shared_ast.EnumConstructor.t -> unit
Sourceval format_struct_name : Format.formatter -> Shared_ast.StructName.t -> unit
Sourceval format_struct_field_name : Format.formatter -> (Shared_ast.StructName.t option * Shared_ast.StructField.t) -> unit
Sourceval format_to_module_name : Format.formatter -> [< `Ename of Shared_ast.EnumName.t | `Sname of Shared_ast.StructName.t ] -> unit
Sourceval format_var : Format.formatter -> 'm Shared_ast.Var.t -> unit
Sourceval format_program : Format.formatter -> 'm Ast.program -> Scopelang.Dependency.TVertex.t list -> unit

Usage format_program fmt p type_dependencies_ordering

OCaml

Innovation. Community. Security.