2 ms·
they even have a tree-sitter parser for vhs/.tape -- https://github.com/charmbracelet/tree-sitter-vhs#readme https://github.com/charmbracelet/tree-sitter-vhs#re
by mdaniel 4y ago
they even have a tree-sitter parser for vhs/.tape -- https://github.com/charmbracelet/tree-sitter-vhs#readme https://github.com/charmbracelet/tree-sitter-vhs#readme -- but then they hand-roll the parser for it in the actual vhs repo
Is tree-sitter so hard to use in anger that it's worth the diverging implementations?
- maaslalani 4y agoWe started off hand rolling the parser and had that fully implemented and then wrote the tree-sitter grammar. If I were to do it again I would probably use tree-sitter for the actual repo so that the implementations were the same for sure.