translate complex words #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "translate-complex-words"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
make it work with tree-sitter-bash
error was
now word is translated to
This looks like it'll put Lezer syntax (as returned by
translateExpr) into a JS regular expression. Which doesn't work.hmm.
translateTokenToRegExprreturns the regexbut the translator still emits
... but that should work
now most strings are keywords
Is this in a form where I can review it?
yes. the error "Word token too complex" is gone, and the result looks ok
bash.grammar
i used the cpp grammar to check for regressions
Thanks. Merged and followed up with
b739473