Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | -166/+216 | |
| | ||||||
* | 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 | -368/+159 | |
| | ||||||
* | 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 | -61/+101 | |
| | ||||||
* | 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 | |
| | ||||||
* | Update README | Ryo Nihei | 2021-08-02 | 1 | -2/+73 | |
| | ||||||
* | Print expected terminals on a parse error | Ryo Nihei | 2021-08-02 | 5 | -17/+81 | |
| | ||||||
* | Use maleeni v0.3.0 | Ryo Nihei | 2021-08-01 | 6 | -41/+30 | |
| | ||||||
* | Write terminals to a description file | Ryo Nihei | 2021-07-31 | 5 | -43/+78 | |
| | ||||||
* | Detect duplicate names between terminals and non-terminals | Ryo Nihei | 2021-07-31 | 3 | -4/+38 | |
| | ||||||
* | Prevent terminals used in productions from being skipped | Ryo Nihei | 2021-07-31 | 3 | -23/+68 | |
| | | | | A terminal symbol used in productions cannot have the skip directive. | |||||
* | Detect unused-symbol error | Ryo Nihei | 2021-07-30 | 3 | -1/+145 | |
| | | | | When there are productions and terminals that are cannot be reached from the start symbol, the compiler reports an error. | |||||
* | Add a token position and detailed info to a lexical error message | Ryo Nihei | 2021-07-28 | 3 | -7/+21 | |
| | ||||||
* | Count the number of each line in consecutive lines | Ryo Nihei | 2021-07-28 | 3 | -2/+54 | |
| | ||||||
* | Detect duplicate production errors | Ryo Nihei | 2021-07-28 | 4 | -9/+87 | |
| | ||||||
* | Add literal pattern syntax and change tree structure syntax | Ryo Nihei | 2021-07-22 | 9 | -23/+55 | |
| | | | | | | - Literal patterns don't interpret the special characters of regular expressions. In other words, 'abc|def' matches only `abc|def`, not `abc` or `def`. - Change tree structure syntax from '(...) to #(...). | |||||
* | Write a description file | Ryo Nihei | 2021-07-22 | 8 | -26/+209 | |
| | | | | The description file describes a LR(0) item set and conflicts (if any). | |||||
* | Print pattern strings of anonymous pattern on conflict messages | Ryo Nihei | 2021-07-20 | 2 | -10/+28 | |
| |