Just fork this tree sitter grammar and add your custom tag, they said. It’ll be fun they said.
Fast forward: diving into C++ code to debug failing tests to find a bug in the codebase where a value from a buffer in a custom vector class was being cast to an enum without taking its absolute value causing end tag comparisons for custom HTML tags to fail with -N != N when comparing the tag type.
In short, *sigh!* :)
(But also, yay: I think I have a functional tree sitter grammar for NodeKit now!)
Also, the last time I touched C/C++ code was likely when I was 13. And I wouldn’t mind if I never had to again.
*bleh!* Feel like I need a shower :)
@aral aren't there even rust bindings?