aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop handling panic to print a stack traceRyo Nihei2022-05-156-135/+41
|
* Update CHANGELOGRyo Nihei2022-05-101-0/+15
|
* Follow golangci-lintRyo Nihei2022-05-101-3/+1
|
* Add spelling inconsistencies checkRyo Nihei2022-05-103-23/+238
|
* Make the identifier format strictRyo Nihei2022-05-1011-88/+152
|
* Change the default suffix of a grammar file from .vr to .vartanRyo Nihei2022-05-102-5/+5
|
* Change the suffix of a description file from -description.json to -report.jsonRyo Nihei2022-05-106-40/+40
|
* Add ordered symbol notationRyo Nihei2022-05-1012-216/+1120
|
* Add #assign directiveRyo Nihei2022-05-105-13/+507
| | | | An #assign directive changes only precedence.
* Change syntax for top-level directivesRyo Nihei2022-05-1022-385/+892
| | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d );
* Make #prec directive change only precedence and not associativityRyo Nihei2022-05-105-30/+275
|
* Add --json option to vartan-parse commandRyo Nihei2022-05-103-28/+91
|
* Update CHANGELOGRyo Nihei2022-04-221-0/+12
|
* Suppress a report about conflicts resolved explicitlyRyo Nihei2022-04-225-48/+151
|
* vartan-show command prints only adopted actions when conflicts occurRyo Nihei2022-04-214-63/+51
|
* Update READMERyo Nihei2022-04-201-75/+21
|
* Update dependenciesRyo Nihei2022-04-202-5/+8
|
* Prohibit ambiguous symbol in an #ast directiveRyo Nihei2022-04-163-1/+49
|
* Add tests for driverRyo Nihei2022-04-161-3/+155
|
* Add tests for compilerRyo Nihei2022-04-161-0/+224
|
* Prohibit using the same element multiple times in the #ast directiveRyo Nihei2022-04-163-4/+45
|
* Prohibit specifying associativity and precedence multiple times for a symbolRyo Nihei2022-04-163-1/+130
|
* Add tests for compilerRyo Nihei2022-04-156-119/+735
|
* Move compiler tests from driver package to grammar packageRyo Nihei2022-04-143-553/+658
|
* Update CHANGELOGRyo Nihei2022-04-031-0/+24
|
* Allow arbitrary user-defined types for nodes in a syntax treeRyo Nihei2022-04-035-203/+229
|
* Fix help documentsRyo Nihei2022-04-022-5/+4
|
* Remove --grammar option from vartan-compile commandRyo Nihei2022-04-022-8/+10
|
* Update READMERyo Nihei2022-04-021-0/+439
|
* Print a parse tree even if syntax error occurRyo Nihei2022-04-012-4/+18
| | | | | A parser can construct a parse tree even if syntax error occur. When there is a parse tree, print it.
* Fix error messagesRyo Nihei2022-03-301-2/+2
|
* Upgrade maleeni to v0.6.0Ryo Nihei2022-03-304-5/+25
|
* Allow an alternative to have multiple directivesRyo Nihei2022-03-305-23/+199
|
* Move directives given to lexical productionsRyo Nihei2022-03-299-207/+300
| | | | | 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.
* Change syntax of production directivesRyo Nihei2022-03-294-76/+57
| | | | | | | The position of directives given to productions has moved from before a left-hand side value to after a left-hand side value. This change aims to simplify the syntax. However, there is no change in positions of directives given to alternatives.
* Use IDs and labels as parameters of an #ast directive instead of symbol ↵Ryo Nihei2022-03-2910-178/+187
| | | | positions
* Add label notationRyo Nihei2022-03-2910-26/+252
|
* Simplify the syntax of #ast directiveRyo Nihei2022-03-2811-233/+131
| | | | This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`.
* Follow golangci-lintRyo Nihei2022-03-2811-103/+36
|
* Use golangci-lintRyo Nihei2022-03-271-0/+11
|
* Add vartan-go commandRyo Nihei2022-03-2712-108/+1016
|
* Use a lexer via interfaceRyo Nihei2022-03-2710-97/+194
|
* Use grammar via an interfaceRyo Nihei2022-03-238-49/+173
|
* Add name directive to specify a grammar nameRyo Nihei2021-10-2814-2/+205
|
* Use maleeni v0.5.1Ryo Nihei2021-10-278-23/+28
|
* Generate the lexer source codeRyo Nihei2021-10-275-53/+1408
|
* Pass a token that caused a syntax error to the semantic action APIsRyo Nihei2021-09-073-16/+17
|
* Call the 'MissError' when input doesn't meet an error productionRyo Nihei2021-09-072-1/+7
|
* Add the semantic action API 'TrapAndShiftError' instead of 'TrapError' and ↵Ryo Nihei2021-09-073-52/+35
| | | | 'ShiftError'
* Change semantic action APIsRyo Nihei2021-09-073-18/+42
| | | | The driver reports whether it recovered from an error to the semantic action APIs via the argument `recovered`.