aboutsummaryrefslogtreecommitdiff
path: root/compiler/dfa_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Increase the maximum number of symbol positions per patternRyo Nihei2021-04-121-4/+12
| | | | | This commit increases the maximum number of symbol positions per pattern to 2^15 (= 32,768). When the limit is exceeded, the parse method returns an error.
* Add compilerRyo Nihei2021-02-141-0/+104
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.