33 #include "system/program.h" 34 #include "../parser.h"
Base class for all statements in a syntax tree.
Base class for all nodes in a syntax tree.
class FilesystemBase * Filesystem
virtual char * Execute()=0
virtual CharBuffer * LoadTextFile(const char *name)=0
Parser(const char *input)
LoadStatement(const char *file)
SyntaxNode * Parse()
Parses the input into a syntax tree.
unsigned int AllocAndCopy(char **destination, const char *source)
Allocate memory and copy a string into the array.
Encapsulate an character array which can be used as a string.
Encapsulates a recursive descent parser.