Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-08-31 | Remove the expected terminals field from the parsing table | Ryo Nihei | 4 | -36/+20 | |
The driver searches the expected terminals corresponding to each state if necessary. | |||||
2021-08-30 | Refactor | Ryo Nihei | 1 | -166/+216 | |
2021-08-30 | Add #prec directive to set precedence and associativity of productions | Ryo Nihei | 2 | -10/+140 | |
2021-08-29 | Add precedences and associativities to the description file | Ryo Nihei | 4 | -14/+85 | |
2021-08-29 | Add describe command to print a description file | Ryo Nihei | 6 | -172/+522 | |
2021-08-28 | Use a pattern string defined by a string literal as its alias | Ryo Nihei | 2 | -18/+49 | |
2021-08-28 | Support the escape sequecens \' and \\ in a string literal | Ryo Nihei | 5 | -23/+98 | |
2021-08-28 | Add an #alias directive to define a user-friendly name of a terminal | Ryo Nihei | 6 | -44/+92 | |
2021-08-26 | Add error symbol and #recover directive to recover from an error state | Ryo Nihei | 14 | -71/+520 | |
2021-08-23 | Update CHANGELOG | Ryo Nihei | 1 | -0/+14 | |
2021-08-22 | Fix panic on no productions | Ryo Nihei | 1 | -0/+3 | |
2021-08-22 | Add a column number to a token | Ryo Nihei | 1 | -2/+10 | |
2021-08-22 | Add a column number to an error message | Ryo Nihei | 7 | -77/+116 | |
2021-08-22 | Support %left and %right to specify precedences and associativities | Ryo Nihei | 11 | -5/+632 | |
2021-08-21 | Resolve conflicts by default rules | Ryo Nihei | 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. | |||||
2021-08-19 | Fix indents of a tree | Ryo Nihei | 2 | -13/+13 | |
2021-08-18 | Make the functions that test the automaton common | Ryo Nihei | 3 | -368/+159 | |
2021-08-18 | Update README | Ryo Nihei | 1 | -1/+1 | |
2021-08-18 | Set look-ahead symbols to items before generating a SLR(1) parsing table | Ryo Nihei | 9 | -288/+713 | |
2021-08-15 | Fix panic on a syntax error | Ryo Nihei | 1 | -3/+5 | |
2021-08-15 | Print a stack trace only when a panic occured | Ryo Nihei | 2 | -2/+14 | |
2021-08-15 | Support LALR(1) class | Ryo Nihei | 13 | -961/+2151 | |
2021-08-06 | Update CHANGELOG | Ryo Nihei | 1 | -0/+11 | |
2021-08-05 | Remove the accept message | Ryo Nihei | 2 | -6/+3 | |
2021-08-05 | Print a stack trace on panic | Ryo Nihei | 2 | -6/+9 | |
2021-08-05 | Add --only-parse option to the parse command | Ryo Nihei | 2 | -17/+32 | |
When this option is enabled, the parser performs only parse and doesn't semantic actions. | |||||
2021-08-05 | Avoid the growth of slices when constructing trees | Ryo Nihei | 1 | -5/+25 | |
2021-08-05 | Add --cst option to the parse command | Ryo Nihei | 1 | -7/+23 | |
When this option is enabled, the parser generates a CST. | |||||
2021-08-04 | Generate an AST and a CST only when they are necessary | Ryo Nihei | 3 | -61/+101 | |
2021-08-03 | Fix the name of the EOF symbol in the description file | Ryo Nihei | 1 | -0/+7 | |