[][src]Crate lep

An interpreter for implementing interactive consoles.

See https://crates.io/crates/lep for an overview.

Modules

builtin

Structs

Domain

Domain of extension functions.

Pair

Pair may be a node in a singly linked list.

Ref

Ref is a native object stored in an Rc<dyn Any>.

State

Incrementally constructed state.

World

World of primitive values.

Traits

Fun

Fun is an extension function object.

FunMut

FunMut is an extension function object with side-effects.

Functions

eval_stmt

Parse and evaluate a statement. A derived state with the result value is returned.

stringify

Stringify (), bool, i64, String, Ref or Pair. () is represented by the empty string. String will be quoted. None is returned if the type is not supported.