Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename spec package to spec/grammar package | Ryo Nihei | 2022-05-27 | 1 | -123/+0 |
| | |||||
* | Prohibit using escape sequences in string literals | Ryo Nihei | 2022-05-15 | 1 | -16/+6 |
| | |||||
* | Make the identifier format strict | Ryo Nihei | 2022-05-10 | 1 | -1/+1 |
| | |||||
* | Add ordered symbol notation | Ryo Nihei | 2022-05-10 | 1 | -0/+4 |
| | |||||
* | Change syntax for top-level directives | Ryo Nihei | 2022-05-10 | 1 | -2/+6 |
| | | | | | | | | | | | | | %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 | -4/+0 |
| | | | | positions | ||||
* | Add label notation | Ryo Nihei | 2022-03-29 | 1 | -0/+4 |
| | |||||
* | Simplify the syntax of #ast directive | Ryo Nihei | 2022-03-28 | 1 | -8/+0 |
| | | | | This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`. | ||||
* | Generate the lexer source code | Ryo Nihei | 2021-10-27 | 1 | -0/+1 |
| | |||||
* | Support the escape sequecens \' and \\ in a string literal | Ryo Nihei | 2021-08-28 | 1 | -7/+29 |
| | |||||
* | Support %left and %right to specify precedences and associativities | Ryo Nihei | 2021-08-22 | 1 | -0/+4 |
| | |||||
* | Count the number of each line in consecutive lines | Ryo Nihei | 2021-07-28 | 1 | -1/+1 |
| | |||||
* | Add literal pattern syntax and change tree structure syntax | Ryo Nihei | 2021-07-22 | 1 | -5/+9 |
| | | | | | | - 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 #(...). | ||||
* | Simplify syntax of modifiers and semantic actions | Ryo Nihei | 2021-06-30 | 1 | -6/+2 |
| | | | | Modifiers and semantic actions are represented by directives following the '#' symbol. | ||||
* | Add ast action | Ryo Nihei | 2021-06-28 | 1 | -0/+16 |
| | |||||
* | Add syntax of fragment | Ryo Nihei | 2021-06-20 | 1 | -0/+4 |
| | |||||
* | Add syntax of modifiers and actions | Ryo Nihei | 2021-06-20 | 1 | -0/+8 |
| | | | | | 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/+4 |
| | |||||
* | Add production syntax | Ryo Nihei | 2021-06-15 | 1 | -0/+4 |
| | |||||
* | Add spec parser | Ryo Nihei | 2021-06-15 | 1 | -0/+70 |
Currently, the parser only supports definitions of lexical specification. |