aboutsummaryrefslogtreecommitdiff
path: root/spec/parser_test.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* Count the number of each line in consecutive linesRyo Nihei2021-07-281-0/+52
* Add literal pattern syntax and change tree structure syntax•••- Literal patterns don't interpret the special characters of regular expressions. In other words, 'abc|def' matches only `abc|def`, not `abc` or `def`. - Change tree structure syntax from '(...) to #(...). Ryo Nihei2021-07-221-6/+6
* Detect multiple semantic errors in a single parseRyo Nihei2021-07-181-1/+1
* Add token positions to an ASTRyo Nihei2021-07-181-18/+199
* RefactorRyo Nihei2021-07-181-1/+12
* Detect multiple syntax errors in a single parseRyo Nihei2021-07-171-6/+2
* Add a line number to error messagesRyo Nihei2021-07-161-1/+7
* Allow directives to take multiple parametersRyo Nihei2021-07-021-12/+20
* Simplify syntax of modifiers and semantic actions•••Modifiers and semantic actions are represented by directives following the '#' symbol. Ryo Nihei2021-06-301-126/+132
* Add ast actionRyo Nihei2021-06-281-8/+131
* Add syntax of fragmentRyo Nihei2021-06-201-0/+29
* Add syntax of modifiers and actions•••Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications. Ryo Nihei2021-06-201-0/+111
* Add production syntaxRyo Nihei2021-06-151-11/+47
* Add spec parser•••Currently, the parser only supports definitions of lexical specification. Ryo Nihei2021-06-151-0/+153