lval struct
#include <types.h>
Represents a Lisp Value.
Contents
- Reference
A lval
consists of a:
- type : int corresponding to an enum value
- num : long corresponding to a number
- err : char* corresponding to an error message (optional)
- sym : char* corresponding to a symbol or operator (optional)
- count : int corresponding to the number of elements in the
cell
array - cell : lval** corresponding to an array of lvals