package catala

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Wrapping module around parser and lexer that offers the Surface.Parser_driver.parse_source_file API.

Raw file parser that doesn't interpret any includes and returns the flat law structure as is

Reads only declarations in metadata in the supplied input file, and only keeps type information. The list of submodules is initialised with names only and empty contents.

val parse_top_level_file : Catala_utils.Cli.input_src -> Ast.program

Parses a catala file (handling file includes) and returns a program. Interfaces of the used modules are returned empty, use load_interface to fill them.

OCaml

Innovation. Community. Security.