diff --git a/parser.py b/parser.py new file mode 100644 index 0000000000000000000000000000000000000000..d2748dec329e8cfed409c83f13c09de6937f3dd9 --- /dev/null +++ b/parser.py @@ -0,0 +1,12 @@ +def preprocess(): + +# Return the next token from the input +def getToken(): + int lastChar = ' ' + while isSpace(lastChar): + lastChar = getChar() + +def parse(): + preprocess(): + tokenise() + isValid() \ No newline at end of file