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/Deadcode/index.html
Module Deadcode
type table = cont Ident.Env.t
horizons are considered to be useful
val print : Format.formatter -> cont Ident.Env.t -> unit
Useful function. For debugging purpose.
val add :
bool ->
Ident.S.t ->
Ident.S.t ->
cont Ident.Env.t ->
cont Ident.Env.t
val extend : cont Ident.Env.t -> Ident.S.t -> cont Ident.Env.t
is marked to also depend on names in names
val merge : cont Ident.Env.t -> cont Ident.Env.t -> cont Ident.Env.t
Fusion of two tables
val build_equation : cont Ident.Env.t -> Zelus.eq -> cont Ident.Env.t
Build the association table yk -> { x1,..., xn}
val build_block :
cont Ident.Env.t ->
Zelus.eq list Zelus.block ->
cont Ident.Env.t
val build_local : cont Ident.Env.t -> Zelus.local -> cont Ident.Env.t
val build_equation_list : cont Ident.Env.t -> Zelus.eq list -> cont Ident.Env.t
val visit : Ident.S.t -> cont Ident.Env.t -> Ident.S.t
read
is a set of variables
val is_empty_block : 'a list Zelus.block -> bool
Empty block
val writes : Ident.S.t -> Deftypes.defnames -> Deftypes.defnames
remove useless names in write names
val pattern : Ident.S.t -> Zelus.pattern -> Zelus.pattern
Remove useless equations. useful
is the set of useful names
val remove_block :
Ident.S.t ->
Zelus.eq list Zelus.block ->
Zelus.eq list Zelus.block
val remove_local : Ident.S.t -> Zelus.local -> Zelus.local
val horizon : Ident.S.t -> Zelus.local -> Ident.S.t
Compute the set of horizons
val implementation :
Zelus.implementation_desc Zelus.localized ->
Zelus.implementation_desc Zelus.localized
val implementation_list :
Zelus.implementation_desc Zelus.localized list ->
Zelus.implementation_desc Zelus.localized list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>