Driver.Commands
Helper functions used by top-level commands
val get_output :
?ext:string ->
Catala_utils.Global.options ->
Catala_utils.Global.raw_file option ->
string option * ((Stdlib.out_channel -> 'a) -> 'a)
bounded open of the expected output file
val get_output_format :
?ext:string ->
Catala_utils.Global.options ->
Catala_utils.Global.raw_file option ->
string option * ((Stdlib.Format.formatter -> 'a) -> 'a)
val get_scope_uid : Shared_ast.decl_ctx -> string -> Shared_ast.ScopeName.t
val get_variable_uid :
Desugared.Name_resolution.context ->
Shared_ast.ScopeName.t ->
string ->
Desugared.Ast.ScopeDef.t