DEV Community

Discussion on: Tree Notation - a basic building block for a new generation of programming languages

Collapse
 
bootcode profile image
Robin Palotai

Interesting idea! Reminds me of Scheme or Lamdu.

On the site you mention recording data in this cell-format on paper. That would be so nice if realized. I only fear that without the tight feedback loop of compiler diagnostics, the data recorded by humans would get too free-form to be interpretable by machines later.

As for indentation: I like the style, for example in Python as well, but braces have the slight benefit of preventing bugs stemming from misalignment. Neither is ultimately better, but a factor to weight.

Collapse
 
breck7 profile image
Breck Yunits

Thanks Robin! Just played with Lamdu. Really neat! Thanks for the link.

I only fear that without the tight feedback loop of compiler diagnostics, the data recorded by humans would get too free-form to be interpretable by machines later.

This is a good question. We will see! Currently running experiments in the field. The good news is you can teach someone this "language" very quickly, since there are only a few rules. In the future, you could imagine a world with lots of innovative examples for providing "compiler feedback" IRL, perhaps through specially printed paper, or via projections or real time OCR, etc.

Collapse
 
bootcode profile image
Robin Palotai

I would love OCR and projections.