You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acc2df9 - Stop handling panic to print a stack trace.
15ea142 - Prohibit using escape sequences in string literals.
a443f0a - Prohibit applying the expansion operator to anything other than identifiers.
24fd805 - Prohibit applying #left, #right, #assign, and #prec to an error symbol. The shift of the error symbol is an operation forced by the driver. Therefore it is impossible to change this behavior by giving precedence to the error symbol. If we desire to change the precedence of a production rule with the error symbol, we can use #prec directive.
b5ad1d3 - Stop supporting SLR(1) and always use LALR(1).
def1459 - Allows a directory to be specified as the --output option for the vartan compile command.
4c0f7eb - Rename spec package to spec/grammar package.
1ebed92 - Support testable tree output in vartan parse command.
7403c18 - Remove the kind field from a node corresponding to an anonymous terminal symbol.
52ad315 - Support the underscore symbol matching any symbols in vartan test command.
2dd098d - Prohibit using a pattern in an alternative. When a syntax error occurs, the parser must provide a user with the names of expected tokens. However, if a pattern appears directly in an alternative, Vartan cannot assign an appropriate name to the pattern. Therefore, this commit prohibits alternatives from containing patterns.
4b2cf7b - Support testing token's texts in vartan test command.
017b1b2 - Fix parse error messages for tree parser.
9033157 - Remove underscore syntax matching any symbol.
Underscore syntax:
For instance, a tree (expr (id 'a') (add '+') (_)) matches both source codes a + b * c and a - b / c.
This feature is helpful because it allows you to emphasize the main points of the test by ignoring nodes of no interest. However, we will remove the feature for the time being to reconsider the grammar.