Surface.Parser_driverSourceWrapping module around parser and lexer that offers the Surface.Parser_driver.parse_source_file API.
val lines :
Catala_utils.File.t ->
Catala_utils.Cli.backend_lang ->
(string * Lexer_common.line_token) Seq.tRaw 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.
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.