aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-10Add --json option to vartan-parse commandRyo Nihei3-28/+91
2022-04-22Update CHANGELOGRyo Nihei1-0/+12
2022-04-22Suppress a report about conflicts resolved explicitlyRyo Nihei5-48/+151
2022-04-21vartan-show command prints only adopted actions when conflicts occurRyo Nihei4-63/+51
2022-04-20Update READMERyo Nihei1-75/+21
2022-04-20Update dependenciesRyo Nihei2-5/+8
2022-04-16Prohibit ambiguous symbol in an #ast directiveRyo Nihei3-1/+49
2022-04-16Add tests for driverRyo Nihei1-3/+155
2022-04-16Add tests for compilerRyo Nihei1-0/+224
2022-04-16Prohibit using the same element multiple times in the #ast directiveRyo Nihei3-4/+45
2022-04-16Prohibit specifying associativity and precedence multiple times for a symbolRyo Nihei3-1/+130
2022-04-15Add tests for compilerRyo Nihei6-119/+735
2022-04-14Move compiler tests from driver package to grammar packageRyo Nihei3-553/+658
2022-04-03Update CHANGELOGRyo Nihei1-0/+24
2022-04-03Allow arbitrary user-defined types for nodes in a syntax treeRyo Nihei5-203/+229
2022-04-02Fix help documentsRyo Nihei2-5/+4
2022-04-02Remove --grammar option from vartan-compile commandRyo Nihei2-8/+10
2022-04-02Update READMERyo Nihei1-0/+439
2022-04-01Print a parse tree even if syntax error occurRyo Nihei2-4/+18
A parser can construct a parse tree even if syntax error occur. When there is a parse tree, print it.
2022-03-30Fix error messagesRyo Nihei1-2/+2
2022-03-30Upgrade maleeni to v0.6.0Ryo Nihei4-5/+25
2022-03-30Allow an alternative to have multiple directivesRyo Nihei5-23/+199
2022-03-29Move directives given to lexical productionsRyo Nihei9-207/+300
Move all directives given to lexical productions from alternative directives to production directives. This change aims to ensure consistency with respect to the syntax of definitions of terminal symbols and non-terminal symbols.
2022-03-29Change syntax of production directivesRyo Nihei4-76/+57
The position of directives given to productions has moved from before a left-hand side value to after a left-hand side value. This change aims to simplify the syntax. However, there is no change in positions of directives given to alternatives.
2022-03-29Use IDs and labels as parameters of an #ast directive instead of symbol ↵Ryo Nihei10-178/+187
positions
2022-03-29Add label notationRyo Nihei10-26/+252
2022-03-28Simplify the syntax of #ast directiveRyo Nihei11-233/+131
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-16/+17
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