aboutsummaryrefslogtreecommitdiff
path: root/grammar/grammar.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* Stop supporting SLR(1) and always use LALR(1)Ryo Nihei2022-05-221-45/+4
* Prohibit applying #left, #right, #assign, and #prec to an error symbolRyo Nihei2022-05-151-14/+32
* Add spelling inconsistencies checkRyo Nihei2022-05-101-0/+70
* Change the suffix of a description file from -description.json to -report.jsonRyo Nihei2022-05-101-10/+10
* Add ordered symbol notationRyo Nihei2022-05-101-111/+155
* Add #assign directiveRyo Nihei2022-05-101-0/+2
* Change syntax for top-level directivesRyo Nihei2022-05-101-24/+47
* Make #prec directive change only precedence and not associativityRyo Nihei2022-05-101-26/+35
* Suppress a report about conflicts resolved explicitlyRyo Nihei2022-04-221-2/+15
* Prohibit ambiguous symbol in an #ast directiveRyo Nihei2022-04-161-1/+20
* Prohibit using the same element multiple times in the #ast directiveRyo Nihei2022-04-161-4/+16
* Prohibit specifying associativity and precedence multiple times for a symbolRyo Nihei2022-04-161-1/+29
* Add tests for compilerRyo Nihei2022-04-151-7/+20
* Move compiler tests from driver package to grammar packageRyo Nihei2022-04-141-8/+15
* Fix error messagesRyo Nihei2022-03-301-2/+2
* Upgrade maleeni to v0.6.0Ryo Nihei2022-03-301-1/+21
* Allow an alternative to have multiple directivesRyo Nihei2022-03-301-5/+25
* Move directives given to lexical productionsRyo Nihei2022-03-291-30/+36
* Use IDs and labels as parameters of an #ast directive instead of symbol posit...Ryo Nihei2022-03-291-21/+25
* Add label notationRyo Nihei2022-03-291-0/+23
* Simplify the syntax of #ast directiveRyo Nihei2022-03-281-30/+29
* Follow golangci-lintRyo Nihei2022-03-281-11/+14
* Add name directive to specify a grammar nameRyo Nihei2021-10-281-2/+38
* Use maleeni v0.5.1Ryo Nihei2021-10-271-1/+4
* Use the LALR by default when using grammar.Compile instead of the CLIRyo Nihei2021-09-031-1/+3
* Support LAC (lookahead correction)Ryo Nihei2021-09-021-0/+7
* Remove the expected terminals field from the parsing tableRyo Nihei2021-08-311-1/+0
* Add #prec directive to set precedence and associativity of productionsRyo Nihei2021-08-301-10/+48
* Add precedences and associativities to the description fileRyo Nihei2021-08-291-2/+13
* Add describe command to print a description fileRyo Nihei2021-08-291-1/+12
* Use a pattern string defined by a string literal as its aliasRyo Nihei2021-08-281-13/+42
* Add an #alias directive to define a user-friendly name of a terminalRyo Nihei2021-08-281-11/+36
* Add error symbol and #recover directive to recover from an error stateRyo Nihei2021-08-261-14/+93
* Fix panic on no productionsRyo Nihei2021-08-221-0/+3
* Add a column number to an error messageRyo Nihei2021-08-221-0/+28
* Support %left and %right to specify precedences and associativitiesRyo Nihei2021-08-221-1/+147
* Resolve conflicts by default rulesRyo Nihei2021-08-211-30/+16
* Set look-ahead symbols to items before generating a SLR(1) parsing tableRyo Nihei2021-08-181-26/+11
* Support LALR(1) classRyo Nihei2021-08-151-25/+94
* Print expected terminals on a parse errorRyo Nihei2021-08-021-1/+6
* 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
* Detect unused-symbol errorRyo Nihei2021-07-301-1/+100
* Detect duplicate production errorsRyo Nihei2021-07-281-0/+37
* Write a description fileRyo Nihei2021-07-221-6/+32
* 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