[][src]Module lep::builtin

Functions

add
car
cdr
cons
div
identity
is_truthful

Convert an object to a boolean value. The (), false, 0 (i64) and "" (String) values are considered false; all other objects are considered true.

list
mul
not
register

Register all built-in functions.

register_add

Register the + function.

register_and

Register the special and form.

register_apply

Register the special apply form.

register_car

Register car function.

register_cdr

Register cdr function.

register_cons

Register cons function.

register_div

Register the / function.

register_identity

Register identity function.

register_list

Register list function.

register_mul

Register * function.

register_not

Register not function.

register_or

Register the special or form.

register_sub

Register the - function.

sub