I decided to dip my toes into creating a tree-sitter parser to be used in conjunction with a new language package for Atom. The parser is very simple, and I got it to work perfectly; all the tests succeed etc., and
tree-sitter parse <various test files> work great too.
I generated a package and added a small .cson file. In debug mode, I can see the
syntax-- classes being added with the value of the
scopeName field, but nothing within the
scopes definitions seems to be taking. I opened up the language package files in debug mode, and even opened up the debug tools to try to place breakpoints and step through the parser being loaded but couldn’t find where that was happening.
How do I debug the parser?
Here’s a couple links to my code:
Language Package: https://github.com/jakofranko/language-tablatal