Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prohibit applying the expansion operator to anything other than identifiers | Ryo Nihei | 2022-05-15 | 3 | -2/+62 |
| | |||||
* | Prohibit using escape sequences in string literals | Ryo Nihei | 2022-05-15 | 4 | -86/+34 |
| | |||||
* | Make the identifier format strict | Ryo Nihei | 2022-05-10 | 5 | -13/+76 |
| | |||||
* | Change the suffix of a description file from -description.json to -report.json | Ryo Nihei | 2022-05-10 | 1 | -1/+1 |
| | |||||
* | Add ordered symbol notation | Ryo Nihei | 2022-05-10 | 7 | -79/+134 |
| | |||||
* | Add #assign directive | Ryo Nihei | 2022-05-10 | 1 | -0/+20 |
| | | | | An #assign directive changes only precedence. | ||||
* | Change syntax for top-level directives | Ryo Nihei | 2022-05-10 | 7 | -95/+230 |
| | | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d ); | ||||
* | Suppress a report about conflicts resolved explicitly | Ryo Nihei | 2022-04-22 | 1 | -0/+2 |
| | |||||
* | Add tests for compiler | Ryo Nihei | 2022-04-15 | 3 | -6/+16 |
| | |||||
* | Upgrade maleeni to v0.6.0 | Ryo Nihei | 2022-03-30 | 1 | -1/+1 |
| | |||||
* | Allow an alternative to have multiple directives | Ryo Nihei | 2022-03-30 | 2 | -16/+57 |
| | |||||
* | Move directives given to lexical productions | Ryo Nihei | 2022-03-29 | 2 | -91/+104 |
| | | | | | Move all directives given to lexical productions from alternative directives to production directives. This change aims to ensure consistency with respect to the syntax of definitions of terminal symbols and non-terminal symbols. | ||||
* | Change syntax of production directives | Ryo Nihei | 2022-03-29 | 3 | -64/+41 |
| | | | | | | | The position of directives given to productions has moved from before a left-hand side value to after a left-hand side value. This change aims to simplify the syntax. However, there is no change in positions of directives given to alternatives. | ||||
* | Use IDs and labels as parameters of an #ast directive instead of symbol ↵ | Ryo Nihei | 2022-03-29 | 7 | -149/+56 |
| | | | | positions | ||||
* | Add label notation | Ryo Nihei | 2022-03-29 | 7 | -26/+167 |
| | |||||
* | Simplify the syntax of #ast directive | Ryo Nihei | 2022-03-28 | 7 | -179/+93 |
| | | | | 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 | 3 | -11/+4 |
| | |||||
* | Add name directive to specify a grammar name | Ryo Nihei | 2021-10-28 | 1 | -0/+1 |
| | |||||
* | Generate the lexer source code | Ryo Nihei | 2021-10-27 | 4 | -53/+1407 |
| | |||||
* | Support LAC (lookahead correction) | Ryo Nihei | 2021-09-02 | 2 | -0/+2 |
| | |||||
* | 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 precedences and associativities to the description file | Ryo Nihei | 2021-08-29 | 1 | -8/+12 |
| | |||||
* | Add describe command to print a description file | Ryo Nihei | 2021-08-29 | 1 | -0/+67 |
| | |||||
* | Use a pattern string defined by a string literal as its alias | Ryo Nihei | 2021-08-28 | 1 | -5/+7 |
| | |||||
* | 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 | 4 | -8/+39 |
| | |||||
* | Add error symbol and #recover directive to recover from an error state | Ryo Nihei | 2021-08-26 | 1 | -0/+3 |
| | |||||
* | Add a column number to an error message | Ryo Nihei | 2021-08-22 | 3 | -72/+82 |
| | |||||
* | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 6 | -2/+159 |
| | |||||
* | Print expected terminals on a parse error | Ryo Nihei | 2021-08-02 | 1 | -0/+2 |
| | |||||
* | Use maleeni v0.3.0 | Ryo Nihei | 2021-08-01 | 2 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Add literal pattern syntax and change tree structure syntax | Ryo Nihei | 2021-07-22 | 6 | -15/+47 |
| | | | | | | - 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 #(...). | ||||
* | Detect multiple semantic errors in a single parse | Ryo Nihei | 2021-07-18 | 3 | -18/+18 |
| | |||||
* | Add token positions to an AST | Ryo Nihei | 2021-07-18 | 3 | -29/+238 |
| | |||||
* | Refactor | Ryo Nihei | 2021-07-18 | 2 | -6/+31 |
| | |||||
* | Detect multiple syntax errors in a single parse | Ryo Nihei | 2021-07-17 | 3 | -23/+95 |
| | |||||
* | 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 | 5 | -74/+122 |
| | |||||
* | Allow directives to take multiple parameters | Ryo Nihei | 2021-07-02 | 2 | -21/+41 |
| | |||||
* | 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 | 7 | -236/+291 |
| | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | ||||
* | Add ast action | Ryo Nihei | 2021-06-28 | 8 | -37/+277 |
| | |||||
* | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 7 | -19/+109 |
| | |||||
* | Add skip action | Ryo Nihei | 2021-06-20 | 1 | -0/+1 |
| | |||||
* | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 7 | -6/+191 |
| | | | | | 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 driver | Ryo Nihei | 2021-06-19 | 1 | -0/+33 |
| | |||||
* | Add production syntax | Ryo Nihei | 2021-06-15 | 7 | -24/+85 |
| |