Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Namespace packages with "urubu/" | EuAndreh | 2024-12-10 | 19 | -7029/+0 |
| | |||||
* | Start building test files | EuAndreh | 2024-12-10 | 2 | -2/+2 |
| | |||||
* | Build and test existing code as is | EuAndreh | 2024-12-02 | 2 | -3/+3 |
| | |||||
* | Import source code of lexer generator | Ryo Nihei | 2022-11-10 | 12 | -25/+163 |
| | | | | From: https://github.com/nihei9/maleeni | ||||
* | Move the skip table from lexer-related data to parser-related data | Ryo Nihei | 2022-11-06 | 3 | -17/+14 |
| | |||||
* | Remove anonymous symbol system | Ryo Nihei | 2022-11-05 | 6 | -54/+95 |
| | | | | Remove unimportant features to tidy up the specification. | ||||
* | Remove alias system | Ryo Nihei | 2022-11-05 | 6 | -43/+4 |
| | | | | Remove unimportant features to tidy up the specification. | ||||
* | Add tests | Ryo Nihei | 2022-08-06 | 1 | -0/+14 |
| | |||||
* | Remove underscore syntax matching any symbol | Ryo Nihei | 2022-08-06 | 2 | -52/+3 |
| | | | | | | | | | Underscore syntax: For instance, a tree `(expr (id 'a') (add '+') (_))` matches both source codes `a + b * c` and `a - b / c`. This feature is helpful because it allows you to emphasize the main points of the test by ignoring nodes of no interest. However, we will remove the feature for the time being to reconsider the grammar. | ||||
* | Prohibit error node having children | Ryo Nihei | 2022-08-05 | 2 | -0/+85 |
| | |||||
* | Fix parse error messages for tree parser | Ryo Nihei | 2022-06-14 | 1 | -36/+54 |
| | |||||
* | Support testing token's texts in vartan-test command | Ryo Nihei | 2022-06-13 | 8 | -147/+873 |
| | |||||
* | Prohibit using a pattern in an alternative | Ryo Nihei | 2022-06-12 | 3 | -11/+92 |
| | | | | | | When a syntax error occurs, the parser must provide a user with the names of expected tokens. However, if a pattern appears directly in an alternative, Vartan cannot assign an appropriate name to the pattern. Therefore, this commit prohibits alternatives from containing patterns. | ||||
* | Support the underscore symbol matching any symbols in vartan-test command | Ryo Nihei | 2022-06-11 | 2 | -2/+52 |
| | |||||
* | Remove the kind field from a node corresponding to an anonymous terminal symbol | Ryo Nihei | 2022-06-11 | 2 | -4/+15 |
| | |||||
* | Support testable tree output in vartan-parse command | Ryo Nihei | 2022-05-29 | 2 | -0/+43 |
| | |||||
* | Add vartan-test command | Ryo Nihei | 2022-05-29 | 8 | -0/+2093 |
| | |||||
* | Rename spec package to spec/grammar package | Ryo Nihei | 2022-05-27 | 9 | -9/+9 |
| | |||||
* | Stop supporting SLR(1) and always use LALR(1) | Ryo Nihei | 2022-05-22 | 2 | -2/+0 |
| | |||||
* | 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 |
| |