3 ms·
A language that can be near completely specified by a stack of 2D grammars of increasing abstraction. Binary notation is a general purpose syntax in 1 dimensio
by breck 5y ago
A language that can be near completely specified by a stack of 2D grammars of increasing abstraction.
Binary notation is a general purpose syntax in 1 dimension. There exists a 2D general purpose syntax, where you not only have columns but all rows, and from there you can build abstractions from binary to numeral systems to letters to words to structs to systems.
- quickthrower2 5y agoSounds intriguing - do you have any links for further reading. I’m into “weird” paradigms like array based languages, lisps, prolog etc, but I’ve not heard of 2D
- breck 5y agoHere is the homepage. https://treenotation.org/ https://treenotation.org/ Lots of links and demos from there. Here's a video from earlier this year (https://www.youtube.com/watch?v=0l2QWH-iV3k https://www.youtube.com/watch?v=0l2QWH-iV3k) of a use case.
- quickthrower2 5y agoThanks. I live the idea of writing into the cells of a spreadsheet for exploration programming (like data science). I also like the simplicity of that tree notation and feel like it’s a great way to create a Python-like dsl Thanks for the links