2 ms·
I have a new alternative called Tree Notation: https://github.com/breck7/treenotation https://github.com/breck7/treenotation A sample from an HTML replacement
by breck 9y ago
I have a new alternative called Tree Notation:
https://github.com/breck7/treenotation https://github.com/breck7/treenotation
A sample from an HTML replacement:
@html
@body
@div Hello world
A sample from a CSS replacement:
@a
cursor pointer
text-decoration none
It is not HAML, though that was one of my first inspirations many years ago.
- aphextron 9y agoSo Jade with an ‘@‘ symbol added?
- breck 9y agoI do like Jade, but my HTML ETN is not Jade either. The little tiny details have big downstream implications for parsing and static tools. My language has a pure Tree Notation grammar. The benefit of that is tools written for an HTML ETN also work for a C ETN or a Swift ETN, and vice versa. So as we get more ETNs and more ETN tools, the network effects will be quite large.