aboutsummaryrefslogtreecommitdiff
path: root/driver/semantic_action_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Import source code of lexer generatorRyo Nihei2022-11-101-231/+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
|
* Change syntax for top-level directivesRyo Nihei2022-05-101-2/+2
| | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d );
* Move directives given to lexical productionsRyo Nihei2022-03-291-7/+14
| | | | | 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/+3
|
* Use a lexer via interfaceRyo Nihei2022-03-271-8/+12
|
* Use grammar via an interfaceRyo Nihei2022-03-231-1/+1
|
* Add name directive to specify a grammar nameRyo Nihei2021-10-281-0/+4
|
* Use maleeni v0.5.1Ryo Nihei2021-10-271-2/+3
|
* Pass a token that caused a syntax error to the semantic action APIsRyo Nihei2021-09-071-3/+3
|
* Call the 'MissError' when input doesn't meet an error productionRyo Nihei2021-09-071-1/+3
|
* Add the semantic action API 'TrapAndShiftError' instead of 'TrapError' and ↵Ryo Nihei2021-09-071-17/+8
| | | | 'ShiftError'
* Change semantic action APIsRyo Nihei2021-09-071-7/+26
| | | | The driver reports whether it recovered from an error to the semantic action APIs via the argument `recovered`.
* Make semantic actions user-configurableRyo Nihei2021-09-031-0/+203