Andrew Hlynskyi
Andrew Hlynskyi
A PR is very welcome!
Please provide a reference to a grammar so developers would be able to test it on their side.
If it would be more comfortable for you then you may patch JS like: ```js prec.lex = function (_prec, rule) { return token(prec(_prec, rule)); }; ```
Tree-sitter's DSL was build around an idea to be minimal and provides combinable actions where it's possible. Many grammars add own abstractions on top of base DSL actions.
> In order to work around this, you need to then alias the literal token BACK TO ITSELF. We discussed this with @amaanq and we think it's a bug and...