#include "parse.hpp"
Functions | |
bool | iswhitespace (char ch) |
Check whether the character is whitespace. | |
void | readsinglesymbol (string &substring, string &sexpr) |
void | clearwhitespace (string &sexpr) |
Clear the whitespace at the begining and end of string sexpr. | |
Cell * | makecell (string str) |
Make the cell. | |
Cell * | separate_parse (string &instr) |
Separately parse the sexpr and build the tree. | |
Cell * | parse (string sexpr) |
Recursively parse sexpr and build the parse tree. |
|
Clear the whitespace at the begining and end of string sexpr.
|
|
Check whether the character is whitespace.
|
|
Make the cell.
|
|
Recursively parse sexpr and build the parse tree.
|
|
|
|
Separately parse the sexpr and build the tree.
|