aboutsummaryrefslogtreecommitdiff
path: root/compiler/parser.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-02-14Add compilerRyo Nihei1-0/+221
The compiler takes a lexical specification expressed by regular expressions and generates a DFA accepting the tokens. Operators that you can use in the regular expressions are concatenation, alternation, repeat, and grouping.