package zelus

  1. Overview
  2. Docs
A synchronous language with ODEs

Install

Dune Dependency

Authors

Maintainers

Sources

2.2.tar.gz
md5=437ae922f1fda392efca3e37e8b8bb4c
sha512=d591cdbeedb8f3a7f568d6d4994de572093822cb354b112886326219174311715a71a35de57a4c2070eae349f65f0c8f3d6c2f6a5a79a8187bbffc687cd108a6

doc/zelus.zlcompilerlibs/Reduce/index.html

Module Reduce

reduce expressions that are tagged to be static; leave other unchanged

type fun_defs = {
  1. fundefs : (Deftypes.name * Zelus.funexp) list;
}
val empty : fun_defs
val num : int ref
val gfresh : unit -> string

Build a renaming from an environment

val rename : Zident.Env.key -> 'a Zident.Env.t -> 'a

rename a variable

val remove : 'a Zident.Env.t -> 'b Zident.Env.t -> 'b Zident.Env.t

Remove entries in venv that are defined in renaming

Rename an operator

Simplify an expression.

Simplify an equation.

val exp_of_value : fun_defs -> Global.value_code -> Zelus.exp * fun_defs

Convert a value into an expression.

OCaml

Innovation. Community. Security.