Sublime Forum

Is there anything in the roadmap to make syntax highlighting for semantic-indentation languages easier?

#1

This is related to the project I attempted last year (Sublime-syntax for indentation languages)

I have this dumb new type of notation call Tree Notation. It treats each line as a node. It uses semantic indentation and if a line has an indent that is 1 space more than it’s parent, that line is a child of the parent line, and may have a different scope.

I would like to create new tree languages that fluently embed other languages like this:

html
 <h1>This is some HTML</ht>
css
 h1 {
  color: red;
 }
javascript
 $("h1").on("click", () => alert("hi"))

At the moment this has stumped me for about a year. Is there anything on the roadmap that might make something like this easier?

0 Likes