jon.recoil.org

Module Compile

Bytecode compilation for .ml and .mli files.

val interface : source_file:string -> output_prefix:string -> unit
val implementation : start_from:Clflags.Compiler_pass.t -> source_file:string -> output_prefix:string -> keep_symbol_tables:bool -> unit
val instance : source_file:string -> output_prefix:string -> compilation_unit:Compilation_unit.t -> runtime_args:Translmod.runtime_arg list -> main_module_block_repr:Lambda.module_representation -> arg_descr:Lambda.arg_descr option -> keep_symbol_tables:bool -> unit

Internal functions

*

to_bytecode info typed takes a typechecked implementation and returns its bytecode.

emit_bytecode bytecode output the bytecode executable.