aboutsummaryrefslogtreecommitdiff
path: root/grammar/grammar.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use maleeni v0.3.0Ryo Nihei2021-08-011-33/+22
|
* Write terminals to a description fileRyo Nihei2021-07-311-37/+37
|
* Detect duplicate names between terminals and non-terminalsRyo Nihei2021-07-311-3/+10
|
* Prevent terminals used in productions from being skippedRyo Nihei2021-07-311-23/+56
| | | | A terminal symbol used in productions cannot have the skip directive.
* Detect unused-symbol errorRyo Nihei2021-07-301-1/+100
| | | | When there are productions and terminals that are cannot be reached from the start symbol, the compiler reports an error.
* Detect duplicate production errorsRyo Nihei2021-07-281-0/+37
|
* Write a description fileRyo Nihei2021-07-221-6/+32
| | | | The description file describes a LR(0) item set and conflicts (if any).
* Print pattern strings of anonymous pattern on conflict messagesRyo Nihei2021-07-201-0/+7
|
* Detect multiple conflictsRyo Nihei2021-07-201-1/+9
|
* Detect duplicate definitions of terminal symbols and fragments in advanceRyo Nihei2021-07-191-0/+20
|
* Detect multiple semantic errors in a single parseRyo Nihei2021-07-181-23/+109
|
* RefactorRyo Nihei2021-07-181-180/+217
|
* Detect multiple syntax errors in a single parseRyo Nihei2021-07-171-0/+4
|
* Allow directives to take multiple parametersRyo Nihei2021-07-021-12/+12
|
* Simplify syntax of modifiers and semantic actionsRyo Nihei2021-06-301-23/+23
| | | | Modifiers and semantic actions are represented by directives following the '#' symbol.
* Prioritize anonymous patterns over named patternsRyo Nihei2021-06-291-1/+4
|
* Add ast actionRyo Nihei2021-06-281-5/+79
|
* Add syntax of fragmentRyo Nihei2021-06-201-0/+9
|
* Add skip actionRyo Nihei2021-06-201-4/+26
|
* Add syntax of modifiers and actionsRyo Nihei2021-06-201-1/+42
| | | | | Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications.
* Add driverRyo Nihei2021-06-191-0/+99
|
* Add SLR parsing table generatorRyo Nihei2021-06-181-0/+158