News for hackers. Stuff that matters.
Re:Forest, a multi-syntax functional language that compiles ... by westoncb on Thursday September 13, 2018 @04:58PM (#17982506)
I've been trying to get some feedback on a related idea for making 'view-independent program models', which could be rendered with alternate syntaxes (or even richer visual augmentation than strictly text).

The main idea is to represent languages as a graph of 'language constructs' and individual programs as paths through some language graph. That path is the 'model' which an editor or compiler/interpreter would operate on—but in the case of the editor, since the program model has no connection to syntax, you can configure how it's rendered on a per-user basis (or use it to experiment with new language UI concepts, etc.).

Here's a write-up with illustrations: http://westoncb.blogspot.com/2015/06/how-to-make-view-indepe...

I've had this on the back burner for a while now, waiting for the write moment to try building out a proof-of-concept version—but if someone could point out some kind of critical flaw in it and prevent me from wasting so much time, that'd be awesome :)

Re:Forest, a multi-syntax functional language that compiles ... by nemaar on Friday September 14, 2018 @12:39AM (#17984704)
Hi, I am working on something similar, it's nowhere near usable but I hope that a proof of concept version could be ready this year. My variant is focused on visual programming with various representations. I will definitely read your docs. I am very interested in the models you have come up with.
Re:Forest, a multi-syntax functional language that compiles ... by westoncb on Friday September 14, 2018 @02:05AM (#17985036)
That's great, definitely send me a message if you want to talk about it more at some point. You can find my website with contact info on my profile here.