Live data from Hacker News

λ-2D: An exploration of drawing as programming language

media.mit.edu

31–40 of 59 posts

Re: λ-2D: An exploration of drawing as programming language

#32
post #29

This is really cool! I worked on this very same idea (a programming language without text) during my grad school years, and it's online here, if anyone is curious: https://www.blockstud.io Here's an example of one creator's projects (definitely not me!): https://blockstud.io/profile/15572

Really cool project! It reminds me of a program I used to make little games called Corel Click 'n Create.

Re: λ-2D: An exploration of drawing as programming language

#34
I love this. It'd be great to see further exploration of this theme. It could impact not just programming, but our ability to create and share ideas.

Obviously text is the most powerful and intuitive means of programming, but I wonder if it's the best? Perhaps more generally, is language as we know it really the best way to convey meaning?

I've no idea on such topics. My curiosity has just been roused by this ambitious project.

Re: λ-2D: An exploration of drawing as programming language

#36
post #19

Earlier quoted context omitted.

They do show some diagrams with comments. It's true that there's no validation of comments. But there's also no validation that the name of a variable is what that variable actually means, or that the name of a function is what that function actually does.

Indeed - but with text programs you are forced to provide a name (hopefully a meaningful one!)

Honestly dithering over what to name something is the biggest timesuck, I wish I was unprincipled enough to just name them a,b,c... maybe use a drawing of a flow chart as the readme.md xD

  There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.

Re: λ-2D: An exploration of drawing as programming language

#37
post #5

> To be able to draw programs that look visually appealing themselves, such that someone would want to put a frame around them and hang them on the wall. I've done that with the predecessor function in lambda diagram form: ┬────────── ┼─────┬──── ┼─────┼─┬── │ ──┬─┼ ┼ ┬ │ ┬─┼─┼ │ │ │ │ ├─┘ │ │ │ ├─┘ │ │ └─┤ │ │ └─────┤ │ └─┘ Lambda diagrams [1] are just a graphical output format for the pure lambda calculus though, a…

You could easily repurpose that code for drawing Quantum Circuits and thus representing quantum computations. I'm tempted to make a pull request this instant and do it myself.

Re: λ-2D: An exploration of drawing as programming language

#38

What was that language or system where it would read what you wrote down on a piece of paper and then execute the program ?

I made a proof of concept language once of something along that idea.

https://github.com/mypalmike/skastic

Post reply on HN