SCSS grammar for tree-sitter.
Based on tree-sitter-css.
I, @savetheclocktower, have forked this parser to add some features and un-orphan it.
My goal is to support everything in Dart Sass — it’s well-documented and well-specified — and also support reasonable stuff in libsass
.
There are lots of edge cases in SCSS that are documented for backward-compatibility, but which I don’t think are essential to have for a Tree-sitter parser. As I encounter them, I’ll try to list them here.
If this parser doesn’t support something, and it’s not in this list, then it’s just an oversight; open an issue to bring it to my attention.
- The “single equals” hack described here