#include "cons.hpp"
Go to the source code of this file.
Functions | |
Cell * | parse (string sexpr) |
Recursively parse sexpr and build the parse tree. | |
bool | iswhitespace (char ch) |
Check whether the character is whitespace. |
bool iswhitespace | ( | char | ch | ) |
Check whether the character is whitespace.
ch | The character to check. |
Referenced by clearwhitespace(), readfile(), readsinglesymbol(), and separate_parse().
Cell* parse | ( | string | sexpr | ) |
Recursively parse sexpr and build the parse tree.
sexpr | The s-expression stored in a string variable (note that this version of parse has side effects: it may alter the contents of sexpr). |
References clearwhitespace(), is_legalexpr(), makecell(), and separate_parse().
Referenced by parse_eval_print(), and separate_parse().