News for hackers. Stuff that matters.
Re:Show HN: Programming is Now Two-Dimensional by breck on Wednesday June 21, 2017 @04:03PM (#14607381)
What a helpful comment, thank you!

> I guess I just want to point out that while syntax is certainly super important, these data-semantics are not all that novel.

I agree! The data structures and semantics aren't novel at all. Nothing there that Lisp doesn't have.

> On the flip-side, S-expressions have certainly changed the world computing-wise...

Agreed!

> with slightly better syntax that you have fundamentally changed computing beyond what they already innovated for you.

It's a great point, and that's what I think the debate will be about. What's new is the matching of the syntax with the semantics, via geometry. The "\n" and " " are arbitrary, really what's going on is the YIndent and XIndent. In my plane, the x indent is " " and shifts a node right by 1, and the y indent is "\n" and shifts a node down by one, but that is arbitrary and just because English goes in that direction. I believe there will be many tricks that will now be borrowed from geometry to augment programmers in new ways.

> But, if you want to start a new smallish programming language and see where it goes, this means that a lot of that way is already cleared out for you; feel free to translate Scheme[1] into your new syntax and you will be able to do some things that you are not even dreaming about yet, like macro expansion.

A SchemeETN would be great! I've played around with macros in ETNs and there are some really interesting things you can do.

There are no comments on this comment yet.