aboutsummaryrefslogtreecommitdiff
path: root/driver/parser.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support LAC (lookahead correction)Ryo Nihei2021-09-021-29/+115
|
* Remove the expected terminals field from the parsing tableRyo Nihei2021-08-311-10/+15
| | | | The driver searches the expected terminals corresponding to each state if necessary.
* RefactorRyo Nihei2021-08-301-166/+216
|
* Add an #alias directive to define a user-friendly name of a terminalRyo Nihei2021-08-281-25/+17
|
* Add error symbol and #recover directive to recover from an error stateRyo Nihei2021-08-261-27/+114
|
* Add a column number to a tokenRyo Nihei2021-08-221-2/+10
|
* Fix indents of a treeRyo Nihei2021-08-191-1/+1
|
* Fix panic on a syntax errorRyo Nihei2021-08-151-3/+5
|
* Add --only-parse option to the parse commandRyo Nihei2021-08-051-6/+11
| | | | When this option is enabled, the parser performs only parse and doesn't semantic actions.
* Avoid the growth of slices when constructing treesRyo Nihei2021-08-051-5/+25
|
* Generate an AST and a CST only when they are necessaryRyo Nihei2021-08-041-59/+99
|
* Print expected terminals on a parse errorRyo Nihei2021-08-021-2/+44
|
* Use maleeni v0.3.0Ryo Nihei2021-08-011-2/+2
|
* Add testing for the driverRyo Nihei2021-07-151-0/+3
| | | | The driver can reduce productions that have the empty alternative and can generate a CST (and AST) node.
* Prettify treesRyo Nihei2021-07-021-8/+29
|
* Add ast actionRyo Nihei2021-06-281-20/+71
|
* Add skip actionRyo Nihei2021-06-201-12/+21
|
* Add driverRyo Nihei2021-06-191-0/+155