Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Gobba.Typesmodule T = ANSITerminalmodule D = Util.Dictval pp_ide :
Ppx_deriving_runtime.Format.formatter ->
ide ->
Ppx_deriving_runtime.unitval show_ide : ide -> Ppx_deriving_runtime.stringval equal_ide : ide -> ide -> Ppx_deriving_runtime.boolval compare_ide : ide -> ide -> Ppx_deriving_runtime.inttype complext = Complex.tA type wrapper for complex numbers where equality, ordering and showing are defined
val pp_complext :
Ppx_deriving_runtime.Format.formatter ->
complext ->
Ppx_deriving_runtime.unitval show_complext : complext -> Ppx_deriving_runtime.stringval equal_complext : complext -> complext -> Ppx_deriving_runtime.boolval compare_complext : complext -> complext -> Ppx_deriving_runtime.inttype typeinfo = | TVect of int * typeinfo| TUnit| TBool| TNumber| TInt| TFloat| TComplex| TString| TChar| TList| TDict| TLambdaA type containing all the types that a values can assume
val pp_typeinfo :
Ppx_deriving_runtime.Format.formatter ->
typeinfo ->
Ppx_deriving_runtime.unitval equal_typeinfo : typeinfo -> typeinfo -> Ppx_deriving_runtime.boolval compare_typeinfo : typeinfo -> typeinfo -> Ppx_deriving_runtime.intval show_typeinfo : typeinfo -> stringtype purityenv_type = (ide, puret) Util.Dict.tAn environment type containing identifier - purity couples
A type representing if a computation is pure or not
val pp_purityenv_type :
Ppx_deriving_runtime.Format.formatter ->
purityenv_type ->
Ppx_deriving_runtime.unitval show_purityenv_type : purityenv_type -> Ppx_deriving_runtime.stringval pp_puret :
Ppx_deriving_runtime.Format.formatter ->
puret ->
Ppx_deriving_runtime.unitval show_puret : puret -> Ppx_deriving_runtime.stringval equal_purityenv_type :
purityenv_type ->
purityenv_type ->
Ppx_deriving_runtime.boolval equal_puret : puret -> puret -> Ppx_deriving_runtime.boolval compare_purityenv_type :
purityenv_type ->
purityenv_type ->
Ppx_deriving_runtime.intval compare_puret : puret -> puret -> Ppx_deriving_runtime.intContains a primitive's name, number of arguments and pureness
val pp_primitiveinfo :
Ppx_deriving_runtime.Format.formatter ->
primitiveinfo ->
Ppx_deriving_runtime.unitval show_primitiveinfo : primitiveinfo -> Ppx_deriving_runtime.stringval equal_primitiveinfo :
primitiveinfo ->
primitiveinfo ->
Ppx_deriving_runtime.boolval compare_primitiveinfo :
primitiveinfo ->
primitiveinfo ->
Ppx_deriving_runtime.intval pp_binop :
Ppx_deriving_runtime.Format.formatter ->
binop ->
Ppx_deriving_runtime.unitval show_binop : binop -> Ppx_deriving_runtime.stringval equal_binop : binop -> binop -> Ppx_deriving_runtime.boolval compare_binop : binop -> binop -> Ppx_deriving_runtime.inttype expr = | Unit| SetPurity of puret * expr| NumInt of int| NumFloat of float| NumComplex of complext| Character of char| Boolean of bool| String of string| Symbol of ide| List of expr list| Vect of expr list| Dict of assignment_type list| Binop of binop * expr * expr| Not of expr| IfThenElse of expr * expr * expr| Let of assignment_type list * expr| Lambda of ide * expr| Apply of expr * expr| ApplyPrimitive of primitiveinfo * expr array| Sequence of expr * exprThe type representing Abstract Syntax Tree expressions
val pp_expr :
Ppx_deriving_runtime.Format.formatter ->
expr ->
Ppx_deriving_runtime.unitval show_expr : expr -> Ppx_deriving_runtime.stringval pp_assignment_type :
Ppx_deriving_runtime.Format.formatter ->
assignment_type ->
Ppx_deriving_runtime.unitval show_assignment_type : assignment_type -> Ppx_deriving_runtime.stringval equal_expr : expr -> expr -> Ppx_deriving_runtime.boolval equal_assignment_type :
assignment_type ->
assignment_type ->
Ppx_deriving_runtime.boolval compare_expr : expr -> expr -> Ppx_deriving_runtime.intval compare_assignment_type :
assignment_type ->
assignment_type ->
Ppx_deriving_runtime.intval pp_directive :
Ppx_deriving_runtime.Format.formatter ->
directive ->
Ppx_deriving_runtime.unitval show_directive : directive -> Ppx_deriving_runtime.stringval equal_directive : directive -> directive -> Ppx_deriving_runtime.boolval compare_directive : directive -> directive -> Ppx_deriving_runtime.intA type useful for evaluating files, stating if a command is an expression or simply a "global" declaration (appended to environment)
val pp_command :
Ppx_deriving_runtime.Format.formatter ->
command ->
Ppx_deriving_runtime.unitval show_command : command -> Ppx_deriving_runtime.stringval equal_command : command -> command -> Ppx_deriving_runtime.boolval compare_command : command -> command -> Ppx_deriving_runtime.inttype evt = | EvtUnit| EvtInt of int| EvtFloat of float| EvtComplex of complext| EvtBool of bool| EvtChar of char| EvtString of string| EvtList of evt list| EvtVect of typeinfo * evt vect_type| EvtDict of (ide * evt) listRecursion is achieved by keeping an optional function name in the constructor
*)| Closure of ide option * ide * expr * env_type| LazyExpression of exprA type that represents an evaluated (result of a computation) value
val pp_evt :
Ppx_deriving_runtime.Format.formatter ->
evt ->
Ppx_deriving_runtime.unitval show_evt : evt -> Ppx_deriving_runtime.stringval pp_env_type :
Ppx_deriving_runtime.Format.formatter ->
env_type ->
Ppx_deriving_runtime.unitval show_env_type : env_type -> Ppx_deriving_runtime.stringval pp_vect_type :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a vect_type ->
Ppx_deriving_runtime.unitval show_vect_type :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
'a vect_type ->
Ppx_deriving_runtime.stringval equal_evt : evt -> evt -> Ppx_deriving_runtime.boolval equal_env_type : env_type -> env_type -> Ppx_deriving_runtime.boolval equal_vect_type :
'a. ('a -> 'a -> Ppx_deriving_runtime.bool) ->
'a vect_type ->
'a vect_type ->
Ppx_deriving_runtime.boolval compare_evt : evt -> evt -> Ppx_deriving_runtime.intval compare_env_type : env_type -> env_type -> Ppx_deriving_runtime.intval compare_vect_type :
'a. ('a -> 'a -> Ppx_deriving_runtime.int) ->
'a vect_type ->
'a vect_type ->
Ppx_deriving_runtime.intA type representing a primitive
A recursive type representing a stacktrace frame
val pp_stackframe :
Ppx_deriving_runtime.Format.formatter ->
stackframe ->
Ppx_deriving_runtime.unitval show_stackframe : stackframe -> Ppx_deriving_runtime.stringtype evalstate = {env : env_type;purityenv : purityenv_type;verbosity : int;stack : stackframe;mutable printresult : bool;purity : puret;}Options for the eval function
val default_evalstate : evalstate