You are viewing archived messages.
Go here to search the history.

Kartik Agaram 2020-12-07 08:30:53

๐Ÿ“ท fn-edit.png

Garth Goldwater 2020-12-07 17:12:55

Robbie Gleichman hereโ€™s an example of marshaling functions that are in scope for the user on the left side, and displaying data as you edit it

Daniel Garcia 2020-12-13 16:06:26

These demos are so cool!

I'm really new to stack languages, have you written bigger programs in any stack language? What are your pros & cons about them?

Kartik Agaram 2020-12-13 18:55:04

Yeah, me too. I reluctantly backed into postfix because I wanted the order a computer computes a program in to track the order a human reads a program in. That would help show intermediate results and reduce the need for the human to "play computer". Neither infix nor prefix have this property, and I wanted to stick with a single dimension so that programs continued to stay dense.

I also was trying to come up with a clean HLL that can also double as a shell for the Mu computer, so people don't have to learn more than 3 languages to browse all the code for the computer. Postfix feels like a good fit for shell languages since you can add operations to a command as you think of them.

The big con was the lack of variable names in postfix functions. I feel like I've resolved that fairly satisfactorily.

Thank you!

Daniel Garcia 2020-12-13 19:24:04

Thanks for sharing your thoughts!

Robbie Gleichman 2020-12-12 20:46:02

I've made some progress on the Glance editor. You can now zoom, pan, and connect nodes with wires. Code is https://github.com/rgleichman/glance/blob/main/gui/Main.hs. https://www.youtube.com/watch?v=a0AZYpP5jRs