Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add #prec directive to set precedence and associativity of productions | Ryo Nihei | 2021-08-30 | 1 | -0/+92 | |
| | ||||||
* | Add an #alias directive to define a user-friendly name of a terminal | Ryo Nihei | 2021-08-28 | 1 | -25/+17 | |
| | ||||||
* | Add error symbol and #recover directive to recover from an error state | Ryo Nihei | 2021-08-26 | 3 | -27/+336 | |
| | ||||||
* | Add a column number to a token | Ryo Nihei | 2021-08-22 | 1 | -2/+10 | |
| | ||||||
* | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 2 | -0/+297 | |
| | ||||||
* | Resolve conflicts by default rules | Ryo Nihei | 2021-08-21 | 2 | -12/+121 | |
| | | | | 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 | 1 | -1/+1 | |
| | ||||||
* | Fix panic on a syntax error | Ryo Nihei | 2021-08-15 | 1 | -3/+5 | |
| | ||||||
* | Support LALR(1) class | Ryo Nihei | 2021-08-15 | 1 | -40/+47 | |
| | ||||||
* | Add --only-parse option to the parse command | Ryo Nihei | 2021-08-05 | 1 | -6/+11 | |
| | | | | 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 | |
| | ||||||
* | Generate an AST and a CST only when they are necessary | Ryo Nihei | 2021-08-04 | 2 | -60/+100 | |
| | ||||||
* | Print expected terminals on a parse error | Ryo Nihei | 2021-08-02 | 1 | -2/+44 | |
| | ||||||
* | Use maleeni v0.3.0 | Ryo Nihei | 2021-08-01 | 1 | -2/+2 | |
| | ||||||
* | Detect duplicate names between terminals and non-terminals | Ryo Nihei | 2021-07-31 | 1 | -0/+26 | |
| | ||||||
* | Prevent terminals used in productions from being skipped | Ryo Nihei | 2021-07-31 | 1 | -0/+11 | |
| | | | | A terminal symbol used in productions cannot have the skip directive. | |||||
* | Detect unused-symbol error | Ryo Nihei | 2021-07-30 | 1 | -0/+43 | |
| | | | | When there are productions and terminals that are cannot be reached from the start symbol, the compiler reports an error. | |||||
* | Detect duplicate production errors | Ryo Nihei | 2021-07-28 | 1 | -0/+42 | |
| | ||||||
* | Add literal pattern syntax and change tree structure syntax | Ryo Nihei | 2021-07-22 | 1 | -5/+5 | |
| | | | | | | - 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 | 1 | -2/+4 | |
| | | | | The description file describes a LR(0) item set and conflicts (if any). | |||||
* | Detect multiple semantic errors in a single parse | Ryo Nihei | 2021-07-18 | 1 | -1/+2 | |
| | ||||||
* | Add testing for the driver | Ryo Nihei | 2021-07-15 | 2 | -0/+47 | |
| | | | | The driver can reduce productions that have the empty alternative and can generate a CST (and AST) node. | |||||
* | Allow directives to take multiple parameters | Ryo Nihei | 2021-07-02 | 1 | -1/+3 | |
| | ||||||
* | Prettify trees | Ryo Nihei | 2021-07-02 | 2 | -10/+32 | |
| | ||||||
* | Simplify syntax of modifiers and semantic actions | Ryo Nihei | 2021-06-30 | 1 | -15/+15 | |
| | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | |||||
* | Add testing for the driver | Ryo Nihei | 2021-06-29 | 1 | -1/+114 | |
| | ||||||
* | Add ast action | Ryo Nihei | 2021-06-28 | 2 | -42/+158 | |
| | ||||||
* | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 1 | -0/+11 | |
| | ||||||
* | Add skip action | Ryo Nihei | 2021-06-20 | 2 | -12/+33 | |
| | ||||||
* | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 1 | -23/+65 | |
| | | | | | Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications. | |||||
* | Add driver | Ryo Nihei | 2021-06-19 | 2 | -0/+205 | |