Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-06-11 | Remove the kind field from a node corresponding to an anonymous terminal symbol | Ryo Nihei | 1 | -8/+12 | |
2022-05-29 | Support testable tree output in vartan-parse command | Ryo Nihei | 4 | -7/+66 | |
2022-05-29 | Add vartan-test command | Ryo Nihei | 12 | -1/+2535 | |
2022-05-27 | Rename spec package to spec/grammar package | Ryo Nihei | 29 | -29/+29 | |
2022-05-22 | Allows a directory to be specified as the --output option for the ↵ | Ryo Nihei | 7 | -76/+112 | |
vartan-compile command | |||||
2022-05-22 | Stop supporting SLR(1) and always use LALR(1) | Ryo Nihei | 20 | -1182/+67 | |
2022-05-15 | Prohibit applying #left, #right, #assign, and #prec to an error symbol | Ryo Nihei | 2 | -14/+103 | |
The shift of the error symbol is an operation forced by the driver. Therefore it is impossible to change this behavior by giving precedence to the error symbol. If we desire to change the precedence of a production rule with the error symbol, we can use #prec directive. | |||||
2022-05-15 | Prohibit applying the expansion operator to anything other than identifiers | Ryo Nihei | 3 | -2/+62 | |
2022-05-15 | Prohibit using escape sequences in string literals | Ryo Nihei | 5 | -86/+58 | |
2022-05-15 | Stop handling panic to print a stack trace | Ryo Nihei | 6 | -135/+41 | |
2022-05-10 | Update CHANGELOG | Ryo Nihei | 1 | -0/+15 | |
2022-05-10 | Follow golangci-lint | Ryo Nihei | 1 | -3/+1 | |
2022-05-10 | Add spelling inconsistencies check | Ryo Nihei | 3 | -23/+238 | |
2022-05-10 | Make the identifier format strict | Ryo Nihei | 11 | -88/+152 | |
2022-05-10 | Change the default suffix of a grammar file from .vr to .vartan | Ryo Nihei | 2 | -5/+5 | |
2022-05-10 | Change the suffix of a description file from -description.json to -report.json | Ryo Nihei | 6 | -40/+40 | |
2022-05-10 | Add ordered symbol notation | Ryo Nihei | 12 | -216/+1120 | |
2022-05-10 | Add #assign directive | Ryo Nihei | 5 | -13/+507 | |
An #assign directive changes only precedence. | |||||
2022-05-10 | Change syntax for top-level directives | Ryo Nihei | 22 | -385/+892 | |
%name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d ); | |||||
2022-05-10 | Make #prec directive change only precedence and not associativity | Ryo Nihei | 5 | -30/+275 | |
2022-05-10 | Add --json option to vartan-parse command | Ryo Nihei | 3 | -28/+91 | |
2022-04-22 | Update CHANGELOG | Ryo Nihei | 1 | -0/+12 | |
2022-04-22 | Suppress a report about conflicts resolved explicitly | Ryo Nihei | 5 | -48/+151 | |
2022-04-21 | vartan-show command prints only adopted actions when conflicts occur | Ryo Nihei | 4 | -63/+51 | |
2022-04-20 | Update README | Ryo Nihei | 1 | -75/+21 | |
2022-04-20 | Update dependencies | Ryo Nihei | 2 | -5/+8 | |
2022-04-16 | Prohibit ambiguous symbol in an #ast directive | Ryo Nihei | 3 | -1/+49 | |
2022-04-16 | Add tests for driver | Ryo Nihei | 1 | -3/+155 | |
2022-04-16 | Add tests for compiler | Ryo Nihei | 1 | -0/+224 | |
2022-04-16 | Prohibit using the same element multiple times in the #ast directive | Ryo Nihei | 3 | -4/+45 | |
2022-04-16 | Prohibit specifying associativity and precedence multiple times for a symbol | Ryo Nihei | 3 | -1/+130 | |
2022-04-15 | Add tests for compiler | Ryo Nihei | 6 | -119/+735 | |
2022-04-14 | Move compiler tests from driver package to grammar package | Ryo Nihei | 3 | -553/+658 | |
2022-04-03 | Update CHANGELOG | Ryo Nihei | 1 | -0/+24 | |
2022-04-03 | Allow arbitrary user-defined types for nodes in a syntax tree | Ryo Nihei | 5 | -203/+229 | |
2022-04-02 | Fix help documents | Ryo Nihei | 2 | -5/+4 | |
2022-04-02 | Remove --grammar option from vartan-compile command | Ryo Nihei | 2 | -8/+10 | |
2022-04-02 | Update README | Ryo Nihei | 1 | -0/+439 | |
2022-04-01 | Print a parse tree even if syntax error occur | Ryo Nihei | 2 | -4/+18 | |
A parser can construct a parse tree even if syntax error occur. When there is a parse tree, print it. | |||||
2022-03-30 | Fix error messages | Ryo Nihei | 1 | -2/+2 | |
2022-03-30 | Upgrade maleeni to v0.6.0 | Ryo Nihei | 4 | -5/+25 | |
2022-03-30 | Allow an alternative to have multiple directives | Ryo Nihei | 5 | -23/+199 | |
2022-03-29 | Move directives given to lexical productions | Ryo Nihei | 9 | -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. | |||||
2022-03-29 | Change syntax of production directives | Ryo Nihei | 4 | -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. | |||||
2022-03-29 | Use IDs and labels as parameters of an #ast directive instead of symbol ↵ | Ryo Nihei | 10 | -178/+187 | |
positions | |||||
2022-03-29 | Add label notation | Ryo Nihei | 10 | -26/+252 | |
2022-03-28 | Simplify the syntax of #ast directive | Ryo Nihei | 11 | -233/+131 | |
This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`. | |||||
2022-03-28 | Follow golangci-lint | Ryo Nihei | 11 | -103/+36 | |
2022-03-27 | Use golangci-lint | Ryo Nihei | 1 | -0/+11 | |
2022-03-27 | Add vartan-go command | Ryo Nihei | 12 | -108/+1016 | |