Closed xmclark closed 4 years ago
You could define a Tree Language that compiles to JVM byte code or .net IR.
For example, I copied and pasted some JVM bytecode and generated a basic grammar:
Obviously this can be improved, but bytecodes (and assemblys and IRs) make GREAT places to use Tree Notation. You can add syntax highlighting, autocomplete, documentation, write in a Grammar, and it becomes much easier to write bytecode or assembly by hand.
How does is this project different from a intermediate representation like JVM byte code or .net IR?
The FAQ for this project says treenotation is like a base level notation which allows for some cross-platform tooling and interoperability which are qualities of intermediate representations.