Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove keywordRegex, it is not used now. To do: make sure that ID not
match keywords, implement parseExp.
|
|
|
|
Add a next() function that returns the next scanned token and match() to
consume the token from input. next() takes an automaton such that you
can match "begin" in the beginning, but any other string (including
"begin" prefixes) for ID.
|
|
NAT and ID regexes were taken from RegexTest.java. Tests are added
before the implementation (test-driven development).
|