←back to thread

634 points david927 | 2 comments | | HN request time: 0.483s | source

What are you working on? Any new ideas that you're thinking about?
Show context
gr__or ◴[] No.41348137[source]
I'm finally frustrated enough by the state of coding that I'm developing my own coding environment and language. The leading question is: What if UI was first-class while programming?

Happy to elaborate if anyone is interested, I will also write about it on my blog (https://watwa.re) at some point

replies(2): >>41348443 #>>41348682 #
1. WillAdams ◴[] No.41348443[source]
Which environments/systems have you tried?

A search of your site doesn't have a match for "Literate Programming" --- I've found it a benison when developing, esp. in that it allows me to review code which already exists, and to create a structural index while writing which allows a quick/easy check if a given module already exists in a context where it should --- managed to make a system for this w/ a bit of help from generous folks on tex.stackexchange:

https://github.com/WillAdams/gcodepreview/blob/main/literati...

https://github.com/WillAdams/gcodepreview/blob/main/gcodepre...

and as the readme shows, I am fascinated by the idea of visualization of code:

https://raw.githubusercontent.com/WillAdams/gcodepreview/mai...

(probably because of reading Herman Hesse's _The Glass Bead Game_ (originally published as _Magister Ludi_)

I'd give a lot to have a programming system for METAPOST/FONT (or some other graphical language) which both allowed drawing in the view and then editing the textual representation of the code causing the view to update (yes, I should use http://tikzedt.org/ )

replies(1): >>41415314 #
2. gr__or ◴[] No.41415314[source]
Pardon the delayed response, I'm not sure if this will still reach you but I'll type it nonetheless.

I unfortunately am not very fast at reading Tex so I could not quite grasp it. My main touch points with literate programming were probably iPython Notebooks and ObservableHQ. I like interspersing code with (rich) text, and starting with a top-down view of a codebase is imo also the way to go.

I'm less sure about the macro bits, I have yet to see a language where it makes for sane means of abstraction. It certainly solves for a hole in our meta-programming design space, but I don't think we've found the right hammer for that nail yet.

From the ones I know of, Pharo is probably closest to my vision, though it is still very far from it, being brutally OOP (the obtuse kind, for me at least) and it still puts a wall between code and visualization. A wall which I intend to tear down.

Thanks for the Hesse recommendation, first time I'm getting one in my native german on this site.