Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make: Use $< over $?HEADmain | EuAndreh | 2025-05-04 | 1 | -1/+1 |
| | |||||
* | Combine "CompiledGrammar" and "Report" payloads | EuAndreh | 2024-12-21 | 4 | -66/+26 |
| | | | | | | | | Instead of one JSON file for each output, a single file with both outputs combined, each under its own key. The beauty of maps. Also instead of using a flag to determine where to put the data, just print to stdout and be done with it. | ||||
* | chmod +x mkdeps.sh | EuAndreh | 2024-12-12 | 1 | -0/+0 |
| | |||||
* | Makefile: Uncomment dependency on build files | EuAndreh | 2024-12-12 | 1 | -3/+3 |
| | |||||
* | tests/unit/: Actually run existing tests | EuAndreh | 2024-12-12 | 12 | -12/+231 |
| | |||||
* | Build and run existing test executables with no actual tests | EuAndreh | 2024-12-12 | 27 | -45/+247 |
| | |||||
* | Move existing test files to "urubu" subdirectory | EuAndreh | 2024-12-11 | 13 | -0/+7 |
| | |||||
* | Do the same single file consolidation on tests | EuAndreh | 2024-12-11 | 28 | -4292/+4182 |
| | |||||
* | Consolidate packages spread across multiple files into single one | EuAndreh | 2024-12-11 | 61 | -10246/+10003 |
| | |||||
* | rm LICENSE | EuAndreh | 2024-12-11 | 1 | -21/+0 |
| | |||||
* | rm .github/workflows/test.yml | EuAndreh | 2024-12-11 | 1 | -32/+0 |
| | |||||
* | rm go.mod go.sum | EuAndreh | 2024-12-11 | 2 | -20/+0 |
| | |||||
* | Namespace packages with "urubu/" | EuAndreh | 2024-12-10 | 93 | -189/+189 |
| | |||||
* | Start building test files | EuAndreh | 2024-12-10 | 22 | -47/+109 |
| | |||||
* | cmd/: Simplify flag usage | EuAndreh | 2024-12-10 | 8 | -189/+34 |
| | |||||
* | Build and test existing code as is | EuAndreh | 2024-12-02 | 32 | -68/+155 |
| | |||||
* | Setup Makefile project structure with empty src/urubu.go source | EuAndreh | 2024-11-19 | 20 | -0/+458 |
| | |||||
* | Add byte position to nodes of a syntax tree | Ryo Nihei | 2022-11-13 | 4 | -5/+22 |
| | |||||
* | Fix typo | Ryo Nihei | 2022-11-13 | 3 | -12/+12 |
| | |||||
* | Add byte position to tokens | Ryo Nihei | 2022-11-13 | 2 | -241/+270 |
| | |||||
* | Set token positions for the EOF symbol | Ryo Nihei | 2022-11-12 | 2 | -3/+3 |
| | | | | | | vartan intentionally had not set positional information for the EOF symbol in a token because the corresponding character does not exist in the source code. However, to be able to include the positional information in a syntax error message when a syntax error occurs due to the detection of the EOF symbol during parsing, this commit sets the position next to the last character in the source code as the position of the EOF symbol. | ||||
* | Fix counting of token positions | Ryo Nihei | 2022-11-12 | 1 | -37/+46 |
| | | | | The name `unread` gives the impression of operating just the opposite of `read`. However, this commit renames `unread` function to `revert` because it was a function to revert the state to the last acceptance. | ||||
* | Update CHANGELOG | Ryo Nihei | 2022-11-11 | 1 | -0/+32 |
| | |||||
* | Import source code of lexer generator | Ryo Nihei | 2022-11-10 | 81 | -1168/+17101 |
| | | | | From: https://github.com/nihei9/maleeni | ||||
* | Split SymbolTable's APIs into reader/writer | Ryo Nihei | 2022-11-06 | 6 | -132/+171 |
| | |||||
* | Move the skip table from lexer-related data to parser-related data | Ryo Nihei | 2022-11-06 | 8 | -81/+69 |
| | |||||
* | Remove anonymous symbol system | Ryo Nihei | 2022-11-05 | 13 | -277/+233 |
| | | | | Remove unimportant features to tidy up the specification. | ||||
* | Remove alias system | Ryo Nihei | 2022-11-05 | 16 | -240/+54 |
| | | | | Remove unimportant features to tidy up the specification. | ||||
* | Update README | Ryo Nihei | 2022-08-08 | 1 | -0/+2 |
| | |||||
* | Upgrade Go compiler to v1.19 | Ryo Nihei | 2022-08-07 | 6 | -32/+34 |
| | |||||
* | Add tests | Ryo Nihei | 2022-08-06 | 1 | -0/+14 |
| | |||||
* | Remove underscore syntax matching any symbol | Ryo Nihei | 2022-08-06 | 3 | -59/+8 |
| | | | | | | | | | 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 | 10 | -193/+926 |
| | |||||
* | Prohibit using a pattern in an alternative | Ryo Nihei | 2022-06-12 | 6 | -19/+102 |
| | | | | | | 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 | 4 | -3/+55 |
| | |||||
* | Remove the kind field from a node corresponding to an anonymous terminal symbol | Ryo Nihei | 2022-06-11 | 8 | -43/+249 |
| | |||||
* | Support testable tree output in vartan-parse command | Ryo Nihei | 2022-05-29 | 4 | -7/+66 |
| | |||||
* | Add vartan-test command | Ryo Nihei | 2022-05-29 | 12 | -1/+2535 |
| | |||||
* | Rename spec package to spec/grammar package | Ryo Nihei | 2022-05-27 | 29 | -29/+29 |
| | |||||
* | Allows a directory to be specified as the --output option for the ↵ | Ryo Nihei | 2022-05-22 | 7 | -76/+112 |
| | | | | vartan-compile command | ||||
* | Stop supporting SLR(1) and always use LALR(1) | Ryo Nihei | 2022-05-22 | 20 | -1182/+67 |
| | |||||
* | Prohibit applying #left, #right, #assign, and #prec to an error symbol | Ryo Nihei | 2022-05-15 | 2 | -14/+103 |
| | | | | | | | The shift of the error symbol is an operation forced by the driver. Therefore it is impossible to change this behavior by giving precedence to the error symbol. If we desire to change the precedence of a production rule with the error symbol, we can use #prec directive. | ||||
* | 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 | 5 | -86/+58 |
| | |||||
* | Stop handling panic to print a stack trace | Ryo Nihei | 2022-05-15 | 6 | -135/+41 |
| | |||||
* | Update CHANGELOG | Ryo Nihei | 2022-05-10 | 1 | -0/+15 |
| | |||||
* | Follow golangci-lint | Ryo Nihei | 2022-05-10 | 1 | -3/+1 |
| | |||||
* | Add spelling inconsistencies check | Ryo Nihei | 2022-05-10 | 3 | -23/+238 |
| |