Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support LAC (lookahead correction) | Ryo Nihei | 2021-09-02 | 2 | -0/+9 |
| | |||||
* | Remove the expected terminals field from the parsing table | Ryo Nihei | 2021-08-31 | 2 | -25/+5 |
| | | | | 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 | 2 | -3/+42 |
| | |||||
* | Add describe command to print a description file | Ryo Nihei | 2021-08-29 | 3 | -171/+213 |
| | |||||
* | 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 | 9 | -43/+156 |
| | |||||
* | 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 | 3 | -3/+176 |
| | |||||
* | Resolve conflicts by default rules | Ryo Nihei | 2021-08-21 | 3 | -88/+94 |
| | | | | 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. | ||||
* | Make the functions that test the automaton common | Ryo Nihei | 2021-08-18 | 3 | -361/+152 |
| | |||||
* | Set look-ahead symbols to items before generating a SLR(1) parsing table | Ryo Nihei | 2021-08-18 | 9 | -288/+713 |
| | |||||
* | Support LALR(1) class | Ryo Nihei | 2021-08-15 | 11 | -920/+2089 |
| | |||||
* | Fix the name of the EOF symbol in the description file | Ryo Nihei | 2021-08-03 | 1 | -0/+7 |
| | |||||
* | Print expected terminals on a parse error | Ryo Nihei | 2021-08-02 | 3 | -15/+35 |
| | |||||
* | Use maleeni v0.3.0 | Ryo Nihei | 2021-08-01 | 1 | -33/+22 |
| | |||||
* | 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 | 2 | -4/+12 |
| | |||||
* | Prevent terminals used in productions from being skipped | Ryo Nihei | 2021-07-31 | 2 | -23/+57 |
| | | | | A terminal symbol used in productions cannot have the skip directive. | ||||
* | Detect unused-symbol error | Ryo Nihei | 2021-07-30 | 2 | -1/+102 |
| | | | | 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 | 3 | -9/+45 |
| | |||||
* | Write a description file | Ryo Nihei | 2021-07-22 | 6 | -21/+193 |
| | | | | 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 |
| | |||||
* | Detect multiple conflicts | Ryo Nihei | 2021-07-20 | 3 | -29/+124 |
| | |||||
* | Detect duplicate definitions of terminal symbols and fragments in advance | Ryo Nihei | 2021-07-19 | 2 | -0/+21 |
| | |||||
* | Detect multiple semantic errors in a single parse | Ryo Nihei | 2021-07-18 | 6 | -27/+139 |
| | |||||
* | 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 | 10 | -0/+2201 |
| | |||||
* | Add production set | Ryo Nihei | 2021-06-18 | 1 | -0/+121 |
| | |||||
* | Add symbol table | Ryo Nihei | 2021-06-18 | 2 | -0/+394 |