Tree-sitter support for SuperCollider

The tree-sitter grammar has been updated significantly recently. In fact, all of the language has been implemented now (to my knowledge) except for two (tricky) things: List comprehensions and method names as binary operators.

nvim-treesitter should be updated soon to implement all of the new bug fixes and changes. Also, there’s a changelog now!

Playground
NeoVim users who are curious how your supercollider code is parsed by TS may use the playground plugin. The plugin has a bug for SC( see https://github.com/nvim-treesitter/playground/issues/55) , but I’ve made a fork that works for SuperCollider here:

2 Likes