aboutsummaryrefslogtreecommitdiff
path: root/spec/lexer.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-28Simplify the syntax of #ast directiveRyo Nihei1-6/+0
This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`.
2022-03-28Follow golangci-lintRyo Nihei11-103/+36
2022-03-27Use golangci-lintRyo Nihei1-0/+11
2022-03-27Add vartan-go commandRyo Nihei12-108/+1016
2022-03-27Use a lexer via interfaceRyo Nihei10-97/+194
2022-03-23Use grammar via an interfaceRyo Nihei8-49/+173
2021-10-28Add name directive to specify a grammar nameRyo Nihei14-2/+205
2021-10-27Use maleeni v0.5.1Ryo Nihei8-23/+28
2021-10-27Generate the lexer source codeRyo Nihei5-53/+1408
2021-09-07Pass a token that caused a syntax error to the semantic action APIsRyo Nihei3-15/+16
2021-09-07Call the 'MissError' when input doesn't meet an error productionRyo Nihei2-1/+7
2021-09-07Add the semantic action API 'TrapAndShiftError' instead of 'TrapError' and ↵Ryo Nihei3-52/+35
'ShiftError'
2021-09-07Change semantic action APIsRyo Nihei3-18/+42
The driver reports whether it recovered from an error to the semantic action APIs via the argument `recovered`.
2021-09-03Update CHANGELOGRyo Nihei1-0/+16
2021-09-03Use the LALR by default when using grammar.Compile instead of the CLIRyo Nihei1-1/+3