picell.c File Reference
Include dependency graph for picell.c:

Functions

cellis_symbol_allocated (char *symbol)
 
cellcell_space_is_symbol_allocated (cell_space *cs, char *symbol)
 
cellis_symbol_builtin_lambda (char *symbol)
 
cellis_symbol_builtin_macro (char *symbol)
 
cellmk_sym (char *symbol)
 
cellmk_builtin_lambda (char *symbol, cell *(*function)(cell *), void(*builtin_stack)(size_t, unsigned char))
 
cellmk_builtin_macro (char *symbol, cell *(*function)(cell *, cell *))
 
cellcopy_cell (cell *c)
 
void free_cell_pointed_memory (cell *c)
 
cell_blockcell_block_create (size_t s)
 
void cell_space_init (cell_space *cs)
 
cell_spacecell_space_create ()
 
bool cell_space_is_full (cell_space *cs)
 
void cell_space_double_capacity_if_full (cell_space *cs)
 
void cell_space_grow (cell_space *cs)
 
cellcell_space_get_cell (cell_space *cs)
 
void init_memory ()
 
void collect_garbage (cell_space *cs)
 
void deep_collect_garbage (cell_space *cs)
 
void mark_memory (cell_space *cs)
 
void mark (cell *root)
 
void sweep (cell_space *cs)
 
void deep_sweep (cell_space *cs)
 
void cell_space_mark_cell_as_free (cell_space *cs, cell *c)
 
void cell_push_recursive (cell *val)
 
void cell_remove_recursive (cell *val)
 
void cell_space_free (cell_space *cs)
 
void cell_block_free (cell_block *cb)
 
void free_memory ()
 
bool cell_is_in_global_env (cell *global_env, cell *c)
 
void cell_remove_args (cell *args)
 
void cell_remove_pairlis (cell *new_env, cell *old_env)
 
void cell_remove_cars (cell *list)
 
void cell_remove_pairlis_deep (cell *new_env, cell *old_env)
 
void unsafe_cell_remove (cell *c)
 
cellget_cell ()
 
cellmk_num (int n)
 
cellmk_str (char *s)
 
cellmk_cons (cell *car, cell *cdr)
 
bool is_num (cell *c)
 
bool is_str (cell *c)
 
bool is_cons (cell *c)
 
bool is_keyword (cell *c)
 
bool is_sym (cell *c)
 
bool is_builtin (cell *c)
 
bool is_builtin_lambda (cell *c)
 
bool is_builtin_macro (cell *c)
 
void cell_push (cell *val)
 
void cell_remove (cell *val)
 

Function Documentation

cell* is_symbol_allocated ( char *  symbol)