#include "c_cons.h"
#include "Cell.hpp"
#include "eval.hpp"
#include <stack>
Functions | |
CCell * | c_make_int (const int i) |
Make an int cell. | |
CCell * | c_make_double (const double d) |
Make a double cell. | |
CCell * | c_make_symbol (const char *const s) |
Make a symbol cell. | |
CCell * | c_cons (CCell *const my_car, CCell *const my_cdr) |
Make a conspair cell. | |
void | c_delete (CCell *tcell) |
Delete the Cell tcell. |
Make a conspair cell.
my_car | The initial car pointer to be stored in the new cell. | |
my_cdr | The initial cdr pointer to be stored in the new cell. |
void c_delete | ( | CCell * | tcell | ) |
Delete the Cell tcell.
tcell | The Cell to be deleted. |
CCell* c_make_double | ( | const double | d | ) |
Make a double cell.
d | The initial double value to be stored in the new cell. |
CCell* c_make_int | ( | const int | i | ) |
Make an int cell.
i | The initial int value to be stored in the new cell. |
CCell* c_make_symbol | ( | const char *const | s | ) |
Make a symbol cell.
s | The initial symbol name to be stored in the new cell. |