package zelus
A synchronous language with ODEs
Install
Dune Dependency
Authors
Maintainers
Sources
2.2.tar.gz
md5=437ae922f1fda392efca3e37e8b8bb4c
sha512=d591cdbeedb8f3a7f568d6d4994de572093822cb354b112886326219174311715a71a35de57a4c2070eae349f65f0c8f3d6c2f6a5a79a8187bbffc687cd108a6
doc/zelus.zlcompilerlibs/Zelus/index.html
Module Zelus
type type_expression = type_expression_desc localized
Types
and type_expression_desc =
| Etypevar of string
| Etypeconstr of Lident.t * type_expression list
| Etypetuple of type_expression list
| Etypevec of type_expression * size
| Etypefun of kind * Zident.t option * type_expression * type_expression
type interface = interface_desc localized
Declarations and expressions
and type_decl = type_decl_desc localized
and type_decl_desc =
| Eabstract_type
| Eabbrev of type_expression
| Evariant_type of constr_decl list
| Erecord_type of (name * type_expression) list
and constr_decl = constr_decl_desc localized
and implementation = implementation_desc localized
and funexp = {
f_kind : kind;
f_atomic : is_atomic;
f_args : pattern list;
f_body : exp;
mutable f_env : Deftypes.tentry Zident.Env.t;
f_loc : Zlocation.location;
}
and exp = {
mutable e_desc : desc;
e_loc : Zlocation.location;
mutable e_typ : Deftypes.typ;
mutable e_caus : Defcaus.tc;
mutable e_init : Definit.ti;
}
and desc =
| Elocal of Zident.t
| Eglobal of {
lname : Lident.t;
typ_instance : Deftypes.typ_instance;
}
| Econst of immediate
| Econstr0 of Lident.t
| Econstr1 of Lident.t * exp list
| Elast of Zident.t
| Eapp of app * exp * exp list
| Eop of op * exp list
| Etuple of exp list
| Erecord_access of exp * Lident.t
| Erecord of (Lident.t * exp) list
| Erecord_with of exp * (Lident.t * exp) list
| Etypeconstraint of exp * type_expression
| Epresent of exp present_handler list * exp option
| Ematch of total ref * exp * exp match_handler list
| Elet of local * exp
| Eseq of exp * exp
| Eperiod of exp period
| Eblock of eq list block * exp
and immediate = Deftypes.immediate
and pattern = {
mutable p_desc : pdesc;
p_loc : Zlocation.location;
mutable p_typ : Deftypes.typ;
mutable p_caus : Defcaus.tc;
mutable p_init : Definit.ti;
}
and eq = {
eq_desc : eqdesc;
eq_loc : Zlocation.location;
eq_index : int;
eq_safe : bool;
mutable eq_write : Deftypes.defnames;
}
and eqdesc =
| EQeq of pattern * exp
| EQder of Zident.t * exp * exp option * exp present_handler list
| EQinit of Zident.t * exp
| EQnext of Zident.t * exp * exp option
| EQpluseq of Zident.t * exp
| EQautomaton of is_weak * state_handler list * state_exp option
| EQpresent of eq list block present_handler list * eq list block option
| EQmatch of total ref * exp * eq list block match_handler list
| EQreset of eq list * exp
| EQemit of Zident.t * exp option
| EQblock of eq list block
| EQand of eq list
| EQbefore of eq list
| EQforall of forall_handler
and 'a block = {
b_vars : vardec list;
b_locals : local list;
b_body : 'a;
b_loc : Zlocation.location;
mutable b_env : Deftypes.tentry Zident.Env.t;
mutable b_write : Deftypes.defnames;
}
and vardec = {
vardec_name : Zident.t;
vardec_default : Deftypes.constant default option;
vardec_combine : Lident.t option;
vardec_loc : Zlocation.location;
}
and local = {
l_rec : is_rec;
l_eq : eq list;
mutable l_env : Deftypes.tentry Zident.Env.t;
l_loc : Zlocation.location;
}
and state_handler = {
s_loc : Zlocation.location;
s_state : statepat;
s_body : eq list block;
s_trans : escape list;
mutable s_env : Deftypes.tentry Zident.Env.t;
mutable s_reset : bool;
}
and statepat = statepatdesc localized
and state_exp = state_exdesc localized
and escape = {
e_cond : scondpat;
e_reset : bool;
e_block : eq list block option;
e_next_state : state_exp;
mutable e_env : Deftypes.tentry Zident.Env.t;
mutable e_zero : bool;
}
and scondpat = scondpat_desc localized
and 'a match_handler = {
m_pat : pattern;
m_body : 'a;
mutable m_env : Deftypes.tentry Zident.Env.t;
m_reset : bool;
mutable m_zero : bool;
}
and 'a present_handler = {
p_cond : scondpat;
p_body : 'a;
mutable p_env : Deftypes.tentry Zident.Env.t;
mutable p_zero : bool;
}
and forall_handler = {
for_index : indexes_desc localized list;
for_init : init_desc localized list;
for_body : eq list block;
mutable for_in_env : Deftypes.tentry Zident.Env.t;
mutable for_out_env : Deftypes.tentry Zident.Env.t;
for_loc : Zlocation.location;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>