package zelus
A synchronous language with ODEs
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.1.tar.gz
sha256=cb0f7bacc33a4bb425683e2def67359fcf6d402545a32f7f953c4822a9a01862
md5=83fb886e4b14ce286e7a6eb59248be4b
doc/zelus.zlcompilerlibs/Reduce/index.html
Module Reduce
reduce expressions that are tagged to be static; leave other unchanged
val empty : fun_defs
val num : int ref
val build : 'a Ident.Env.t -> 'a Ident.Env.t * Ident.t Ident.Env.t
Build a renaming from an environment
val rename : Ident.Env.key -> 'a Ident.Env.t -> 'a
rename a variable
val remove : 'a Ident.Env.t -> 'b Ident.Env.t -> 'b Ident.Env.t
Remove entries in venv
that are defined in renaming
val type_expression :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
Zelus.type_expression ->
Zelus.type_expression
type expressions
val size :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
Zelus.size ->
Zelus.size
val operator :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
Zelus.op ->
Zelus.op
Rename an operator
val pattern :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
Zelus.pattern ->
Zelus.pattern
Renaming of patterns
val expression :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
fun_defs ->
Zelus.exp ->
Zelus.exp * fun_defs
Simplify an expression.
val static :
Global.value_code Ident.Env.t ->
fun_defs ->
Zelus.exp ->
Zelus.exp * fun_defs
val local :
Global.value_code Ident.Env.t ->
(Ident.t Ident.Env.t * fun_defs) ->
Zelus.local ->
Zelus.local * (Ident.t Ident.Env.t * fun_defs)
Simplify a local declaration
val equation :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
fun_defs ->
Zelus.eq ->
Zelus.eq * fun_defs
Simplify an equation.
val scondpat :
Global.value_code Ident.Env.t ->
Ident.t Ident.Env.t ->
fun_defs ->
Zelus.scondpat ->
Zelus.scondpat * fun_defs
val vardec : Ident.t Ident.Env.t -> Zelus.vardec -> Zelus.vardec
val block :
Global.value_code Ident.Env.t ->
(Ident.t Ident.Env.t * fun_defs) ->
Zelus.eq list Zelus.block ->
Zelus.eq list Zelus.block * (Ident.t Ident.Env.t * fun_defs)
val exp_of_value : fun_defs -> Global.value_code -> Zelus.exp * fun_defs
Convert a value into an expression.
val lambda :
Global.value_code Ident.Env.t ->
fun_defs ->
Zelus.funexp ->
Zelus.funexp * fun_defs
val implementation_list :
'a ->
Zelus.implementation_desc Zelus.localized list ->
Zelus.implementation_desc Zelus.localized list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>