aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/parse.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Namespace packages with "urubu/"EuAndreh2024-12-101-110/+0
|
* cmd/: Simplify flag usageEuAndreh2024-12-101-97/+20
|
* Build and test existing code as isEuAndreh2024-12-021-5/+6
|
* Fix typoRyo Nihei2022-11-131-1/+1
|
* Import source code of lexer generatorRyo Nihei2022-11-101-2/+2
| | | | From: https://github.com/nihei9/maleeni
* Upgrade Go compiler to v1.19Ryo Nihei2022-08-071-2/+2
|
* Remove the kind field from a node corresponding to an anonymous terminal symbolRyo Nihei2022-06-111-10/+7
|
* Support testable tree output in vartan-parse commandRyo Nihei2022-05-291-4/+20
|
* Rename spec package to spec/grammar packageRyo Nihei2022-05-271-1/+1
|
* Stop handling panic to print a stack traceRyo Nihei2022-05-151-55/+34
|
* Add --json option to vartan-parse commandRyo Nihei2022-05-101-1/+12
|
* Allow arbitrary user-defined types for nodes in a syntax treeRyo Nihei2022-04-031-4/+7
|
* Print a parse tree even if syntax error occurRyo Nihei2022-04-011-2/+10
| | | | | A parser can construct a parse tree even if syntax error occur. When there is a parse tree, print it.
* Add vartan-go commandRyo Nihei2022-03-271-9/+11
|
* Use a lexer via interfaceRyo Nihei2022-03-271-6/+11
|
* Use grammar via an interfaceRyo Nihei2022-03-231-1/+1
|
* Use maleeni v0.5.1Ryo Nihei2021-10-271-2/+3
|
* Make semantic actions user-configurableRyo Nihei2021-09-031-10/+18
|
* Support LAC (lookahead correction)Ryo Nihei2021-09-021-3/+8
|
* Add error symbol and #recover directive to recover from an error stateRyo Nihei2021-08-261-1/+25
|
* Print a stack trace only when a panic occuredRyo Nihei2021-08-151-1/+7
|
* Remove the accept messageRyo Nihei2021-08-051-2/+0
|
* Print a stack trace on panicRyo Nihei2021-08-051-3/+4
|
* Add --only-parse option to the parse commandRyo Nihei2021-08-051-11/+21
| | | | When this option is enabled, the parser performs only parse and doesn't semantic actions.
* Add --cst option to the parse commandRyo Nihei2021-08-051-7/+23
| | | | When this option is enabled, the parser generates a CST.
* Generate an AST and a CST only when they are necessaryRyo Nihei2021-08-041-1/+1
|
* Improve syntax error messagesRyo Nihei2021-07-171-0/+18
| | | | | - Add a source file name to error messages. - Add a line that an error occurred at to error messages.
* Prettify treesRyo Nihei2021-07-021-1/+1
|
* Add ast actionRyo Nihei2021-06-281-0/+1
|
* Add CLIRyo Nihei2021-06-191-0/+77