Modules§
- compile
- The compiler module.
- env
- The environment module.
- error
- lexer
- The lexer module.
- logger
- The logger module.
- node
- The data structure of node and other compiled-time objects.
- package
- Functions related to loading packages and JIT compilation
- parser
- The parser module.
- preprocess
- The preprocessor module.
- runtime
- The runtime module.
- symbol
- Symbols and special forms.
- util 🔒
- Utility functions.
Macros§
- nil
- The shorthand for
Node::Symbol(Symbol::Nil)
. - vec_
to_ list - Generate a list node from a vector of nodes.
Statics§
- RT
- The runtime that is pointed by all C bindings.
Functions§
- rt_
add_ root - Calls Runtime::add_root.
- rt_
apply - Calls Runtime::apply.
- rt_
breakpoint - Calls Runtime::breakpoint.
- rt_
current_ env - Calls Runtime::current_env.
- rt_
define - Calls Env::define.
- rt_
display_ node_ idx - Calls Runtime::display_node_idx.
- rt_
evaluated - Calls Runtime::evaluated.
- rt_get
- Calls Env::get.
- rt_
get_ bool - Get the boolean value Returns 1 if the symbol is not nil, 0 if it is nil.
- rt_
get_ c_ func - Calls Runtime::get_c_func.
- rt_
get_ float - Get the float value
- rt_
get_ integer - Get the integer value
- rt_
get_ root - Calls Runtime::get_root.
- rt_
get_ symbol - Get the symbol value
- rt_
import - Import a package.
- rt_
is_ symbol - Checks if a node is a symbol.
- rt_
list_ to_ stack - Calls Runtime::list_to_stack.
- rt_
move_ to_ env - Calls Runtime::move_to_env.
- rt_
new_ closure - Calls Closure::new and pushes the result to the stack.
- rt_
new_ constant - Parse an expression from a string and push the result to the stack
- rt_
new_ float - Create a new float and push the result to the stack
- rt_
new_ integer - Create a new number and push the result to the stack
- rt_
new_ symbol - Create a new symbol and push the result to the stack
- rt_pop
- Calls Runtime::pop.
- rt_
prepare_ args - Calls Runtime::prepare_args.
- rt_push
- Calls Runtime::push.
- rt_read
- The
(read)
special form. - rt_
remove_ root - Calls Runtime::remove_root.
- rt_set
- Calls Env::set.
- rt_
set_ car - Calls Runtime::set_car.
- rt_
set_ cdr - Calls Runtime::set_cdr.
- rt_
set_ root - Calls Runtime::set_root.
- rt_
start - Calls Runtime::top_env.
- rt_swap
- Calls Runtime::swap.
- rt_top
- Calls Runtime::top.
- run_
node