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.dcalc/Dcalc/Print/index.html

Module Dcalc.PrintSource

Printing functions for the default calculus AST

Helpers

Sourceval is_uppercase : CamomileLibraryDefault.Camomile.UChar.t -> bool
Sourceval begins_with_uppercase : string -> bool

Common syntax highlighting helpers

Sourceval format_base_type : Format.formatter -> string -> unit
Sourceval format_keyword : Format.formatter -> string -> unit
Sourceval format_punctuation : Format.formatter -> string -> unit
Sourceval format_operator : Format.formatter -> string -> unit
Sourceval format_lit_style : Format.formatter -> string -> unit

Formatters

Sourceval format_uid_list : Format.formatter -> Utils.Uid.MarkedString.info list -> unit
Sourceval format_enum_constructor : Format.formatter -> Ast.EnumConstructor.t -> unit
Sourceval format_tlit : Format.formatter -> Ast.typ_lit -> unit
Sourceval format_lit : Format.formatter -> Ast.lit Utils.Pos.marked -> unit
Sourceval format_op_kind : Format.formatter -> Ast.op_kind -> unit
Sourceval format_binop : Format.formatter -> Ast.binop Utils.Pos.marked -> unit
Sourceval format_ternop : Format.formatter -> Ast.ternop Utils.Pos.marked -> unit
Sourceval format_log_entry : Format.formatter -> Ast.log_entry -> unit
Sourceval format_unop : Format.formatter -> Ast.unop Utils.Pos.marked -> unit
Sourceval format_var : Format.formatter -> Ast.Var.t -> unit
Sourceval format_expr : ?debug:bool -> Ast.decl_ctx -> Format.formatter -> Ast.expr Utils.Pos.marked -> unit
Sourceval format_scope : ?debug:bool -> Ast.decl_ctx -> Format.formatter -> (Ast.ScopeName.t * Ast.scope_body) -> unit
OCaml

Innovation. Community. Security.