aboutsummaryrefslogtreecommitdiff
path: root/driver/conflict_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Import source code of lexer generatorRyo Nihei2022-11-101-529/+0
| | | | From: https://github.com/nihei9/maleeni
* Rename spec package to spec/grammar packageRyo Nihei2022-05-271-1/+1
|
* Allows a directory to be specified as the --output option for the ↵Ryo Nihei2022-05-221-1/+1
| | | | vartan-compile command
* Stop supporting SLR(1) and always use LALR(1)Ryo Nihei2022-05-221-1/+1
|
* Add #assign directiveRyo Nihei2022-05-101-13/+152
| | | | An #assign directive changes only precedence.
* Change syntax for top-level directivesRyo Nihei2022-05-101-16/+26
| | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d );
* Allow arbitrary user-defined types for nodes in a syntax treeRyo Nihei2022-04-031-8/+5
|
* Move directives given to lexical productionsRyo Nihei2022-03-291-8/+16
| | | | | Move all directives given to lexical productions from alternative directives to production directives. This change aims to ensure consistency with respect to the syntax of definitions of terminal symbols and non-terminal symbols.
* Add vartan-go commandRyo Nihei2022-03-271-3/+4
|
* Use a lexer via interfaceRyo Nihei2022-03-271-1/+6
|
* Use grammar via an interfaceRyo Nihei2022-03-231-1/+1
|
* Add name directive to specify a grammar nameRyo Nihei2021-10-281-0/+14
|
* Make semantic actions user-configurableRyo Nihei2021-09-031-3/+4
|
* Support %left and %right to specify precedences and associativitiesRyo Nihei2021-08-221-0/+245
|
* Resolve conflicts by default rulesRyo Nihei2021-08-211-0/+109
When a shift/reduce conflict occurred, we prioritize the shift action, and when a reduce/reduce conflict occurred, we prioritize the production defined earlier in the grammar file.