Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename spec package to spec/grammar package | Ryo Nihei | 2022-05-27 | 1 | -236/+0 |
| | |||||
* | Prohibit using escape sequences in string literals | Ryo Nihei | 2022-05-15 | 1 | -9/+4 |
| | |||||
* | Make the identifier format strict | Ryo Nihei | 2022-05-10 | 1 | -2/+32 |
| | |||||
* | Add ordered symbol notation | Ryo Nihei | 2022-05-10 | 1 | -1/+2 |
| | |||||
* | Change syntax for top-level directives | Ryo Nihei | 2022-05-10 | 1 | -2/+3 |
| | | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d ); | ||||
* | Use IDs and labels as parameters of an #ast directive instead of symbol ↵ | Ryo Nihei | 2022-03-29 | 1 | -12/+2 |
| | | | | positions | ||||
* | Add label notation | Ryo Nihei | 2022-03-29 | 1 | -1/+2 |
| | |||||
* | Simplify the syntax of #ast directive | Ryo Nihei | 2022-03-28 | 1 | -3/+1 |
| | | | | This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`. | ||||
* | Support the escape sequecens \' and \\ in a string literal | Ryo Nihei | 2021-08-28 | 1 | -6/+24 |
| | |||||
* | Add an #alias directive to define a user-friendly name of a terminal | Ryo Nihei | 2021-08-28 | 1 | -1/+5 |
| | |||||
* | Add a column number to an error message | Ryo Nihei | 2021-08-22 | 1 | -5/+5 |
| | |||||
* | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 1 | -1/+2 |
| | |||||
* | Add a token position and detailed info to a lexical error message | Ryo Nihei | 2021-07-28 | 1 | -1/+5 |
| | |||||
* | Add literal pattern syntax and change tree structure syntax | Ryo Nihei | 2021-07-22 | 1 | -2/+13 |
| | | | | | | - 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 #(...). | ||||
* | Add a line number to token error messages | Ryo Nihei | 2021-07-17 | 1 | -2/+14 |
| | |||||
* | Add a line number to error messages | Ryo Nihei | 2021-07-16 | 1 | -29/+45 |
| | |||||
* | Prohibit defining identifiers beginning with an underscore | Ryo Nihei | 2021-07-02 | 1 | -0/+5 |
| | | | | Identifiers beginning with an underscore are used as auto-generated identifiers. | ||||
* | Simplify syntax of modifiers and semantic actions | Ryo Nihei | 2021-06-30 | 1 | -9/+20 |
| | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | ||||
* | Add ast action | Ryo Nihei | 2021-06-28 | 1 | -2/+11 |
| | |||||
* | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 1 | -0/+8 |
| | |||||
* | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 1 | -1/+3 |
| | | | | | 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 | 1 | -0/+15 |
| | |||||
* | Add production syntax | Ryo Nihei | 2021-06-15 | 1 | -1/+2 |
| | |||||
* | Add spec parser | Ryo Nihei | 2021-06-15 | 1 | -0/+103 |
Currently, the parser only supports definitions of lexical specification. |