Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Sort error messages before printing them | Ryo Nihei | 2021-07-19 | 1 | -2/+12 |
| | |||||
* | Detect multiple semantic errors in a single parse | Ryo Nihei | 2021-07-18 | 12 | -47/+165 |
| | |||||
* | Add token positions to an AST | Ryo Nihei | 2021-07-18 | 3 | -29/+238 |
| | |||||
* | Refactor | Ryo Nihei | 2021-07-18 | 3 | -188/+250 |
| | |||||
* | Detect multiple syntax errors in a single parse | Ryo Nihei | 2021-07-17 | 6 | -39/+126 |
| | |||||
* | Improve syntax error messages | Ryo Nihei | 2021-07-17 | 4 | -25/+139 |
| | | | | | - Add a source file name to error messages. - Add a line that an error occurred at to error messages. | ||||
* | Add a line number to token error messages | Ryo Nihei | 2021-07-17 | 2 | -6/+31 |
| | |||||
* | Add a line number to error messages | Ryo Nihei | 2021-07-16 | 6 | -74/+137 |
| | |||||
* | 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 | 4 | -34/+56 |
| | |||||
* | Prettify trees | Ryo Nihei | 2021-07-02 | 3 | -11/+33 |
| | |||||
* | Prohibit defining identifiers beginning with an underscore | Ryo Nihei | 2021-07-02 | 3 | -1/+10 |
| | | | | Identifiers beginning with an underscore are used as auto-generated identifiers. | ||||
* | Simplify syntax of modifiers and semantic actions | Ryo Nihei | 2021-06-30 | 9 | -274/+329 |
| | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | ||||
* | Add testing for the driver | Ryo Nihei | 2021-06-29 | 1 | -1/+114 |
| | |||||
* | Prioritize anonymous patterns over named patterns | Ryo Nihei | 2021-06-29 | 1 | -1/+4 |
| | |||||
* | Add ast action | Ryo Nihei | 2021-06-28 | 12 | -84/+515 |
| | |||||
* | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 9 | -19/+129 |
| | |||||
* | Add skip action | Ryo Nihei | 2021-06-20 | 4 | -16/+60 |
| | |||||
* | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 9 | -30/+298 |
| | | | | | Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications. | ||||
* | Add syntax of comments | Ryo Nihei | 2021-06-20 | 4 | -1/+22 |
| | |||||
* | Add CLI | Ryo Nihei | 2021-06-19 | 6 | -1/+206 |
| | |||||
* | Add driver | Ryo Nihei | 2021-06-19 | 4 | -0/+337 |
| | |||||
* | 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 |
| | |||||
* | Set up CI | Ryo Nihei | 2021-06-18 | 2 | -0/+24 |
| | |||||
* | Add production syntax | Ryo Nihei | 2021-06-15 | 7 | -24/+85 |
| | |||||
* | Add spec parser | Ryo Nihei | 2021-06-15 | 9 | -0/+934 |
| | | | | Currently, the parser only supports definitions of lexical specification. | ||||
* | Update README | Ryo Nihei | 2021-05-29 | 1 | -1/+7 |
| | |||||
* | Initial commit | Ryo Nihei | 2021-05-29 | 2 | -0/+22 |