aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-08-31Remove the expected terminals field from the parsing tableRyo Nihei4-36/+20
The driver searches the expected terminals corresponding to each state if necessary.
2021-08-30RefactorRyo Nihei1-166/+216
2021-08-30Add #prec directive to set precedence and associativity of productionsRyo Nihei2-10/+140
2021-08-29Add precedences and associativities to the description fileRyo Nihei4-14/+85
2021-08-29Add describe command to print a description fileRyo Nihei6-172/+522
2021-08-28Use a pattern string defined by a string literal as its aliasRyo Nihei2-18/+49
2021-08-28Support the escape sequecens \' and \\ in a string literalRyo Nihei5-23/+98
2021-08-28Add an #alias directive to define a user-friendly name of a terminalRyo Nihei6-44/+92
2021-08-26Add error symbol and #recover directive to recover from an error stateRyo Nihei14-71/+520
2021-08-23Update CHANGELOGRyo Nihei1-0/+14
2021-08-22Fix panic on no productionsRyo Nihei1-0/+3
2021-08-22Add a column number to a tokenRyo Nihei1-2/+10
2021-08-22Add a column number to an error messageRyo Nihei7-77/+116
2021-08-22Support %left and %right to specify precedences and associativitiesRyo Nihei11-5/+632
2021-08-21Resolve conflicts by default rulesRyo Nihei5-100/+215
When a shift/reduce conflict occurred, we prioritize the shift action, and when a reduce/reduce conflict occurred, we prioritize the production defined earlier in the grammar file.
2021-08-19Fix indents of a treeRyo Nihei2-13/+13
2021-08-18Make the functions that test the automaton commonRyo Nihei3-368/+159
2021-08-18Update READMERyo Nihei1-1/+1
2021-08-18Set look-ahead symbols to items before generating a SLR(1) parsing tableRyo Nihei9-288/+713
2021-08-15Fix panic on a syntax errorRyo Nihei1-3/+5
2021-08-15Print a stack trace only when a panic occuredRyo Nihei2-2/+14
2021-08-15Support LALR(1) classRyo Nihei13-961/+2151
2021-08-06Update CHANGELOGRyo Nihei1-0/+11
2021-08-05Remove the accept messageRyo Nihei2-6/+3
2021-08-05Print a stack trace on panicRyo Nihei2-6/+9
2021-08-05Add --only-parse option to the parse commandRyo Nihei2-17/+32
When this option is enabled, the parser performs only parse and doesn't semantic actions.
2021-08-05Avoid the growth of slices when constructing treesRyo Nihei1-5/+25
2021-08-05Add --cst option to the parse commandRyo Nihei1-7/+23
When this option is enabled, the parser generates a CST.
2021-08-04Generate an AST and a CST only when they are necessaryRyo Nihei3-61/+101
2021-08-03Fix the name of the EOF symbol in the description fileRyo Nihei1-0/+7