| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Update CHANGELOG | Ryo Nihei | 2021-08-06 | 1 | -0/+11 |
| | | |||||
| * | Remove the accept message | Ryo Nihei | 2021-08-05 | 2 | -6/+3 |
| | | |||||
| * | Print a stack trace on panic | Ryo Nihei | 2021-08-05 | 2 | -6/+9 |
| | | |||||
| * | Add --only-parse option to the parse command | Ryo Nihei | 2021-08-05 | 2 | -17/+32 |
| | | | | | When this option is enabled, the parser performs only parse and doesn't semantic actions. | ||||
| * | Avoid the growth of slices when constructing trees | Ryo Nihei | 2021-08-05 | 1 | -5/+25 |
| | | |||||
| * | Add --cst option to the parse command | Ryo Nihei | 2021-08-05 | 1 | -7/+23 |
| | | | | | When this option is enabled, the parser generates a CST. | ||||
| * | Generate an AST and a CST only when they are necessary | Ryo Nihei | 2021-08-04 | 3 | -60/+100 |
| | | |||||
| * | Fix the name of the EOF symbol in the description file | Ryo Nihei | 2021-08-03 | 1 | -0/+7 |
| | | |||||
| * | Add CHANGELOG | Ryo Nihei | 2021-08-03 | 1 | -0/+11 |
| | | |||||
