package acgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Abstract Categorial Grammar development toolkit
Install
dune-project
Dependency
Authors
Maintainers
Sources
acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2
doc/acgtk.scripting/Scripting/Environment/index.html
Module Scripting.EnvironmentSource
Source
type var = | Bool of bool * UtilsLib.Error.pos| Int of int * UtilsLib.Error.pos| Sig of AcgSig.t * UtilsLib.Error.pos| Lex of AcgLex.t * UtilsLib.Error.pos| Entry of AcgEnv.entry * UtilsLib.Error.pos| LexList of AcgLex.t list * UtilsLib.Error.pos| String of string * UtilsLib.Error.pos| StringList of string list * UtilsLib.Error.pos| Type of Logic.Lambda.Lambda.stype * UtilsLib.Error.pos
Source
type var_type = | T_Bool| T_Int| T_Sig| T_Lex| T_Entry| T_LexList| T_String of completion_info| T_StringList of completion_info| T_Type of sig_ref
Source
type var_arg = | Bool_a of bool * UtilsLib.Error.pos| Int_a of int * UtilsLib.Error.pos| Sig_a of AcgSig.t * UtilsLib.Error.pos| Lex_a of AcgLex.t * UtilsLib.Error.pos| Entry_a of AcgEnv.entry * UtilsLib.Error.pos| LexList_a of AcgLex.t list * UtilsLib.Error.pos| String_a of string * UtilsLib.Error.pos| StringList_a of string list * UtilsLib.Error.pos| Type_a of Logic.Lambda.Lambda.stype * UtilsLib.Error.pos| Argument_a of int * var_type * UtilsLib.Error.pos
Source
type var_temp = | Bool_t of bool * UtilsLib.Error.pos| Int_t of int * UtilsLib.Error.pos| Sig_t of AcgSig.t * UtilsLib.Error.pos| Lex_t of AcgLex.t * UtilsLib.Error.pos| Entry_t of AcgEnv.entry * UtilsLib.Error.pos| LexList_t of AcgLex.t list * UtilsLib.Error.pos| String_t of string * UtilsLib.Error.pos| StringList_t of string list * UtilsLib.Error.pos| Type_t_s of sig_ref * string * UtilsLib.Error.pos| Type_t_r of Logic.Lambda.Lambda.stype * UtilsLib.Error.pos| Argument_t of int * var_type * UtilsLib.Error.pos
Source
type var_spec = | Bool_s of bool option| Int_s of int option| Sig_s of AcgSig.t option| Lex_s of AcgLex.t option| Entry_s of AcgEnv.entry option| LexList_s of AcgLex.t list option| String_s of string option * completion_info| StringList_s of string list option * completion_info| Type_s of sig_ref * Logic.Lambda.Lambda.stype option
Source
type arg_parse = | Int_p of int * UtilsLib.Error.pos| Id_p of string * UtilsLib.Error.pos| Data_p of string * UtilsLib.Error.pos| Bool_p of bool * UtilsLib.Error.pos| VList_p of vlist_elem list * UtilsLib.Error.pos| StringList_p of vlist_elem list * UtilsLib.Error.pos| Completion_val
Source
type var_type_parse = | T_Bool_p of UtilsLib.Error.pos| T_Int_p of UtilsLib.Error.pos| T_Sig_p of UtilsLib.Error.pos| T_Lex_p of UtilsLib.Error.pos| T_Entry_p of UtilsLib.Error.pos| T_VListF_p of UtilsLib.Error.pos| T_LexList_p of UtilsLib.Error.pos| T_LexListF_p of UtilsLib.Error.pos| T_StringList_p of UtilsLib.Error.pos * completion_info| T_StringListF_p of UtilsLib.Error.pos * completion_info option| T_String_p of UtilsLib.Error.pos * completion_info| T_Type_p of sig_ref option * UtilsLib.Error.pos| T_Id_p of UtilsLib.Error.pos| T_Data_p of UtilsLib.Error.pos
Source
type arg_full = | Arg of (string * UtilsLib.Error.pos) option * arg_parse| Completion_name of var_type option * string * char
Source
type func = | Generation_f of var list -> env -> Value.value| Computation_f of var list -> env -> Value.value -> Value.value| Consumption_f of var list -> env -> Value.value -> unit| Special_f of var list -> env -> env
Source
and env = {config : Config.config;acg_env : AcgEnv.t;functions : func_spec list;last_value : Value.value option;
}Source
val add_fun :
env ->
string ->
param_list ->
UtilsLib.Error.pos ->
UtilsLib.Error.pos ->
(func_type ->
binding_list ->
env ->
func_type
* binding_list
* (var list ->
env ->
Value.value option ->
Value.value option * env)) ->
envSource
val call_fun :
string ->
arg_full list ->
UtilsLib.Error.pos ->
UtilsLib.Error.pos ->
func_type ->
binding_list ->
env ->
func_type
* binding_list
* (var list ->
env ->
Value.value option ->
Value.value option * env)This function is used to generate the documentation in odoc format. It uses the function specifications and the help texts defined in the module Functions.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>