Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Stop handling panic to print a stack trace | Ryo Nihei | 2022-05-15 | 6 | -135/+41 | |
| | ||||||
* | Update CHANGELOG | Ryo Nihei | 2022-05-10 | 1 | -0/+15 | |
| | ||||||
* | Follow golangci-lint | Ryo Nihei | 2022-05-10 | 1 | -3/+1 | |
| | ||||||
* | Add spelling inconsistencies check | Ryo Nihei | 2022-05-10 | 3 | -23/+238 | |
| | ||||||
* | Make the identifier format strict | Ryo Nihei | 2022-05-10 | 11 | -88/+152 | |
| | ||||||
* | Change the default suffix of a grammar file from .vr to .vartan | Ryo Nihei | 2022-05-10 | 2 | -5/+5 | |
| | ||||||
* | Change the suffix of a description file from -description.json to -report.json | Ryo Nihei | 2022-05-10 | 6 | -40/+40 | |
| | ||||||
* | Add ordered symbol notation | Ryo Nihei | 2022-05-10 | 12 | -216/+1120 | |
| | ||||||
* | Add #assign directive | Ryo Nihei | 2022-05-10 | 5 | -13/+507 | |
| | | | | An #assign directive changes only precedence. | |||||
* | Change syntax for top-level directives | Ryo Nihei | 2022-05-10 | 22 | -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 associativity | Ryo Nihei | 2022-05-10 | 5 | -30/+275 | |
| | ||||||
* | Add --json option to vartan-parse command | Ryo Nihei | 2022-05-10 | 3 | -28/+91 | |
| | ||||||
* | Update CHANGELOG | Ryo Nihei | 2022-04-22 | 1 | -0/+12 | |
| | ||||||
* | Suppress a report about conflicts resolved explicitly | Ryo Nihei | 2022-04-22 | 5 | -48/+151 | |
| | ||||||
* | vartan-show command prints only adopted actions when conflicts occur | Ryo Nihei | 2022-04-21 | 4 | -63/+51 | |
| | ||||||
* | Update README | Ryo Nihei | 2022-04-20 | 1 | -75/+21 | |
| | ||||||
* | Update dependencies | Ryo Nihei | 2022-04-20 | 2 | -5/+8 | |
| | ||||||
* | Prohibit ambiguous symbol in an #ast directive | Ryo Nihei | 2022-04-16 | 3 | -1/+49 | |
| | ||||||
* | Add tests for driver | Ryo Nihei | 2022-04-16 | 1 | -3/+155 | |
| | ||||||
* | Add tests for compiler | Ryo Nihei | 2022-04-16 | 1 | -0/+224 | |
| | ||||||
* | Prohibit using the same element multiple times in the #ast directive | Ryo Nihei | 2022-04-16 | 3 | -4/+45 | |
| | ||||||
* | Prohibit specifying associativity and precedence multiple times for a symbol | Ryo Nihei | 2022-04-16 | 3 | -1/+130 | |
| | ||||||
* | Add tests for compiler | Ryo Nihei | 2022-04-15 | 6 | -119/+735 | |
| | ||||||
* | Move compiler tests from driver package to grammar package | Ryo Nihei | 2022-04-14 | 3 | -553/+658 | |
| | ||||||
* | Update CHANGELOG | Ryo Nihei | 2022-04-03 | 1 | -0/+24 | |
| | ||||||
* | Allow arbitrary user-defined types for nodes in a syntax tree | Ryo Nihei | 2022-04-03 | 5 | -203/+229 | |
| | ||||||
* | Fix help documents | Ryo Nihei | 2022-04-02 | 2 | -5/+4 | |
| | ||||||
* | Remove --grammar option from vartan-compile command | Ryo Nihei | 2022-04-02 | 2 | -8/+10 | |
| | ||||||
* | Update README | Ryo Nihei | 2022-04-02 | 1 | -0/+439 | |
| | ||||||
* | Print a parse tree even if syntax error occur | Ryo Nihei | 2022-04-01 | 2 | -4/+18 | |
| | | | | | A parser can construct a parse tree even if syntax error occur. When there is a parse tree, print it. | |||||
* | Fix error messages | Ryo Nihei | 2022-03-30 | 1 | -2/+2 | |
| | ||||||
* | Upgrade maleeni to v0.6.0 | Ryo Nihei | 2022-03-30 | 4 | -5/+25 | |
| | ||||||
* | Allow an alternative to have multiple directives | Ryo Nihei | 2022-03-30 | 5 | -23/+199 | |
| | ||||||
* | Move directives given to lexical productions | Ryo Nihei | 2022-03-29 | 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. | |||||
* | Change syntax of production directives | Ryo Nihei | 2022-03-29 | 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. | |||||
* | Use IDs and labels as parameters of an #ast directive instead of symbol ↵ | Ryo Nihei | 2022-03-29 | 10 | -178/+187 | |
| | | | | positions | |||||
* | Add label notation | Ryo Nihei | 2022-03-29 | 10 | -26/+252 | |
| | ||||||
* | Simplify the syntax of #ast directive | Ryo Nihei | 2022-03-28 | 11 | -233/+131 | |
| | | | | This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`. | |||||
* | Follow golangci-lint | Ryo Nihei | 2022-03-28 | 11 | -103/+36 | |
| | ||||||
* | Use golangci-lint | Ryo Nihei | 2022-03-27 | 1 | -0/+11 | |
| | ||||||
* | Add vartan-go command | Ryo Nihei | 2022-03-27 | 12 | -108/+1016 | |
| | ||||||
* | Use a lexer via interface | Ryo Nihei | 2022-03-27 | 10 | -97/+194 | |
| | ||||||
* | Use grammar via an interface | Ryo Nihei | 2022-03-23 | 8 | -49/+173 | |
| | ||||||
* | Add name directive to specify a grammar name | Ryo Nihei | 2021-10-28 | 14 | -2/+205 | |
| | ||||||
* | Use maleeni v0.5.1 | Ryo Nihei | 2021-10-27 | 8 | -23/+28 | |
| | ||||||
* | Generate the lexer source code | Ryo Nihei | 2021-10-27 | 5 | -53/+1408 | |
| | ||||||
* | Pass a token that caused a syntax error to the semantic action APIs | Ryo Nihei | 2021-09-07 | 3 | -16/+17 | |
| | ||||||
* | Call the 'MissError' when input doesn't meet an error production | Ryo Nihei | 2021-09-07 | 2 | -1/+7 | |
| | ||||||
* | Add the semantic action API 'TrapAndShiftError' instead of 'TrapError' and ↵ | Ryo Nihei | 2021-09-07 | 3 | -52/+35 | |
| | | | | 'ShiftError' | |||||
* | Change semantic action APIs | Ryo Nihei | 2021-09-07 | 3 | -18/+42 | |
| | | | | The driver reports whether it recovered from an error to the semantic action APIs via the argument `recovered`. |