Skip to main content

Crate nilang

Crate nilang 

Source

Macros§

Root
Produce impl ForLt types on demand.

Structs§

Arena
A concurrently garbage collected arena with a single root type.
Backtrace
BacktraceCall
Config
Func
Gc
Immutable Gc pointer, meaning a write barrier cannot be used to update this pointer.
GcHashMap
GcOpt
A GC pointer which is able of pointing to null.
GcVec
List
Mutator
Allows for allocation and mutation within the GC arena.
NativeFunc
Runtime
RuntimeError
Span
SymbolMap
Tagged
TaggedValue
VMString

Enums§

ByteCode
InterpreterError
RuntimeErrorKind
Value
ValueTag

Constants§

BOOL_SYM
FLOAT_SYM
FN_SYM
INT_SYM
LIST_SYM
MAP_SYM
NULL_SYM
STR_SYM
SYM_SYM

Traits§

Root
The main trait of the crate. The one expressing : <'_>-genericity.
Trace
Allows tracer to find all GC references stored in a type.
TraceLeaf
Indicates a type contains no Gc references internally.

Functions§

compile
run_repl

Type Aliases§

NativeFn
SymID

Derive Macros§

Trace
TraceLeaf