package zelus

  1. Overview
  2. Docs
A synchronous language with ODEs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

2.1.tar.gz
sha256=cb0f7bacc33a4bb425683e2def67359fcf6d402545a32f7f953c4822a9a01862
md5=83fb886e4b14ce286e7a6eb59248be4b

doc/zelus.zlcompilerlibs/Static/index.html

Module Static

static evaluation of expressions

type error =
  1. | NotStaticEq of Zelus.eq
  2. | NotStaticExp of Zelus.exp
  3. | TypeError
exception Error of error
val remove : 'a Ident.Env.t -> 'b Ident.Env.t -> 'a Ident.Env.t

Remove entries in the type environment of a block

val record_access : Global.value_code -> Lident.t -> Global.value_code

Pattern matching

Pattern matching. matches env p v = env' returns an extended

select env v m_b_list = b where * - env is a environment; * - v a value; * - m_b_list a list of pattern * block; * - b a block whose pattern matches v and is the first in the list

Evaluate an expression. expression env e = v

Evaluate an application

Evaluate all the definitions and returns an environment

Reduce an equation.

OCaml

Innovation. Community. Security.