package asak
Module Asak.Parse_structureSource
If the string is a valid OCaml code, return its parsetree.
Initial typing envrionement, maybe with an other openened library.
Typecheck a parsetree with the initial environement.
Check if a value_binding is a variable with the given name.
Source
val get_specific_lambda_of_typedtree :
string ->
Typedtree.structure ->
Lambda.lambda Monad_error.ErrS.tExtract a specific let binding in a typedtree, and transform it into a lambda expression.
Source
val find_let_in_parsetree_items :
string ->
Parsetree.structure ->
Parsetree.structure_item optionFind a specific toplevel let-definition.
Source
val read_structure_with_loc :
?prefix:string ->
Typedtree.structure ->
((string * Location.t) * Lambda.lambda) listReturn all let bindings of a typedtree converted in lambda expression plus its location.
Return all let bindings of a typedtree converted in lambda expressions.
Read a valid OCaml fragment and compile every toplevel definitions to Lambda.
An OCaml version-independent init_path