| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | -15/+16 | |
| | | ||||||
| * | 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`. | |||||
| * | Update CHANGELOG | Ryo Nihei | 2021-09-03 | 1 | -0/+16 | |
| | | ||||||
| * | Use the LALR by default when using grammar.Compile instead of the CLI | Ryo Nihei | 2021-09-03 | 1 | -1/+3 | |
| | | ||||||
| * | Add tests for LAC | Ryo Nihei | 2021-09-03 | 1 | -0/+113 | |
| | | ||||||
| * | Make semantic actions user-configurable | Ryo Nihei | 2021-09-03 | 7 | -252/+539 | |
| | | ||||||
| * | Rename describe command to show command | Ryo Nihei | 2021-09-02 | 2 | -6/+51 | |
| | | ||||||
| * | Support LAC (lookahead correction) | Ryo Nihei | 2021-09-02 | 7 | -33/+139 | |
| | | ||||||
| * | Remove the expected terminals field from the parsing table | Ryo Nihei | 2021-08-31 | 4 | -36/+20 | |
| | | | | | The driver searches the expected terminals corresponding to each state if necessary. | |||||
| * | Refactor | Ryo Nihei | 2021-08-30 | 1 | -165/+215 | |
| | | ||||||
| * | Add #prec directive to set precedence and associativity of productions | Ryo Nihei | 2021-08-30 | 2 | -10/+140 | |
| | | ||||||
| * | Add precedences and associativities to the description file | Ryo Nihei | 2021-08-29 | 4 | -14/+85 | |
| | | ||||||
| * | Add describe command to print a description file | Ryo Nihei | 2021-08-29 | 6 | -172/+522 | |
| | | ||||||
| * | Use a pattern string defined by a string literal as its alias | Ryo Nihei | 2021-08-28 | 2 | -18/+49 | |
| | | ||||||
| * | Support the escape sequecens \' and \\ in a string literal | Ryo Nihei | 2021-08-28 | 5 | -23/+98 | |
| | | ||||||
| * | Add an #alias directive to define a user-friendly name of a terminal | Ryo Nihei | 2021-08-28 | 6 | -44/+92 | |
| | | ||||||
| * | Add error symbol and #recover directive to recover from an error state | Ryo Nihei | 2021-08-26 | 14 | -71/+520 | |
| | | ||||||
| * | Update CHANGELOG | Ryo Nihei | 2021-08-23 | 1 | -0/+14 | |
| | | ||||||
| * | Fix panic on no productions | Ryo Nihei | 2021-08-22 | 1 | -0/+3 | |
| | | ||||||
| * | Add a column number to a token | Ryo Nihei | 2021-08-22 | 1 | -2/+10 | |
| | | ||||||
| * | Add a column number to an error message | Ryo Nihei | 2021-08-22 | 7 | -77/+116 | |
| | | ||||||
| * | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 11 | -5/+632 | |
| | | ||||||
| * | Resolve conflicts by default rules | Ryo Nihei | 2021-08-21 | 5 | -100/+215 | |
| | | | | | 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. | |||||
| * | Fix indents of a tree | Ryo Nihei | 2021-08-19 | 2 | -13/+13 | |
| | | ||||||
| * | Make the functions that test the automaton common | Ryo Nihei | 2021-08-18 | 3 | -361/+152 | |
| | | ||||||
| * | Update README | Ryo Nihei | 2021-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | Set look-ahead symbols to items before generating a SLR(1) parsing table | Ryo Nihei | 2021-08-18 | 9 | -288/+713 | |
| | | ||||||
| * | Fix panic on a syntax error | Ryo Nihei | 2021-08-15 | 1 | -3/+5 | |
| | | ||||||
| * | Print a stack trace only when a panic occured | Ryo Nihei | 2021-08-15 | 2 | -2/+14 | |
| | | ||||||
| * | Support LALR(1) class | Ryo Nihei | 2021-08-15 | 13 | -961/+2151 | |
| | | ||||||
