| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add label notation | Ryo Nihei | 2022-03-29 | 1 | -0/+23 |
| | | |||||
| * | Simplify the syntax of #ast directive | Ryo Nihei | 2022-03-28 | 1 | -30/+29 |
| | | | | | 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 | 1 | -11/+14 |
| | | |||||
| * | Add name directive to specify a grammar name | Ryo Nihei | 2021-10-28 | 1 | -2/+38 |
| | | |||||
| * | Use maleeni v0.5.1 | Ryo Nihei | 2021-10-27 | 1 | -1/+4 |
| | | |||||
| * | Use the LALR by default when using grammar.Compile instead of the CLI | Ryo Nihei | 2021-09-03 | 1 | -1/+3 |
| | | |||||
| * | Support LAC (lookahead correction) | Ryo Nihei | 2021-09-02 | 1 | -0/+7 |
| | | |||||
| * | Remove the expected terminals field from the parsing table | Ryo Nihei | 2021-08-31 | 1 | -1/+0 |
| | | | | | The driver searches the expected terminals corresponding to each state if necessary. | ||||
| * | Add #prec directive to set precedence and associativity of productions | Ryo Nihei | 2021-08-30 | 1 | -10/+48 |
| | | |||||
| * | Add precedences and associativities to the description file | Ryo Nihei | 2021-08-29 | 1 | -2/+13 |
| | | |||||
| * | Add describe command to print a description file | Ryo Nihei | 2021-08-29 | 1 | -1/+12 |
| | | |||||
| * | Use a pattern string defined by a string literal as its alias | Ryo Nihei | 2021-08-28 | 1 | -13/+42 |
| | | |||||
| * | Add an #alias directive to define a user-friendly name of a terminal | Ryo Nihei | 2021-08-28 | 1 | -11/+36 |
| | | |||||
| * | Add error symbol and #recover directive to recover from an error state | Ryo Nihei | 2021-08-26 | 1 | -14/+93 |
| | | |||||
| * | Fix panic on no productions | Ryo Nihei | 2021-08-22 | 1 | -0/+3 |
| | | |||||
| * | Add a column number to an error message | Ryo Nihei | 2021-08-22 | 1 | -0/+28 |
| | | |||||
| * | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 1 | -1/+147 |
| | | |||||
| * | Resolve conflicts by default rules | Ryo Nihei | 2021-08-21 | 1 | -30/+16 |
| | | | | | 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. | ||||
| * | Set look-ahead symbols to items before generating a SLR(1) parsing table | Ryo Nihei | 2021-08-18 | 1 | -26/+11 |
| | | |||||
| * | Support LALR(1) class | Ryo Nihei | 2021-08-15 | 1 | -25/+94 |
| | | |||||
| * | Print expected terminals on a parse error | Ryo Nihei | 2021-08-02 | 1 | -1/+6 |
| | | |||||
| * | Use maleeni v0.3.0 | Ryo Nihei | 2021-08-01 | 1 | -33/+22 |
| | | |||||
| * | Write terminals to a description file | Ryo Nihei | 2021-07-31 | 1 | -37/+37 |
| | | |||||
| * | Detect duplicate names between terminals and non-terminals | Ryo Nihei | 2021-07-31 | 1 | -3/+10 |
| | | |||||
| * | Prevent terminals used in productions from being skipped | Ryo Nihei | 2021-07-31 | 1 | -23/+56 |
| | | | | | A terminal symbol used in productions cannot have the skip directive. | ||||
| * | Detect unused-symbol error | Ryo Nihei | 2021-07-30 | 1 | -1/+100 |
| | | | | | 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/+37 |
| | | |||||
| * | Write a description file | Ryo Nihei | 2021-07-22 | 1 | -6/+32 |
| | | | | | 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 | 1 | -0/+7 |
| | | |||||
| * | Detect multiple conflicts | Ryo Nihei | 2021-07-20 | 1 | -1/+9 |
| | | |||||
| * | Detect duplicate definitions of terminal symbols and fragments in advance | Ryo Nihei | 2021-07-19 | 1 | -0/+20 |
| | | |||||
| * | Detect multiple semantic errors in a single parse | Ryo Nihei | 2021-07-18 | 1 | -23/+109 |
| | | |||||
| * | Refactor | Ryo Nihei | 2021-07-18 | 1 | -180/+217 |
| | | |||||
| * | Detect multiple syntax errors in a single parse | Ryo Nihei | 2021-07-17 | 1 | -0/+4 |
| | | |||||
| * | Allow directives to take multiple parameters | Ryo Nihei | 2021-07-02 | 1 | -12/+12 |
| | | |||||
| * | Simplify syntax of modifiers and semantic actions | Ryo Nihei | 2021-06-30 | 1 | -23/+23 |
| | | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | ||||
| * | Prioritize anonymous patterns over named patterns | Ryo Nihei | 2021-06-29 | 1 | -1/+4 |
| | | |||||
| * | Add ast action | Ryo Nihei | 2021-06-28 | 1 | -5/+79 |
| | | |||||
| * | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 1 | -0/+9 |
| | | |||||
| * | Add skip action | Ryo Nihei | 2021-06-20 | 1 | -4/+26 |
| | | |||||
| * | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 1 | -1/+42 |
| | | | | | | 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 | 1 | -0/+99 |
| | | |||||
| * | Add SLR parsing table generator | Ryo Nihei | 2021-06-18 | 1 | -0/+158 |
