News for hackers. Stuff that matters.
Re:Luna – Visual and textual functional programming language by dkersten on Friday June 23, 2017 @10:14AM (#14619270)
Another thing I've been thinking about in the past is how do you preserve formatting when translating between visual/textual. Eg, if I place a visual node and then edit the text, does it preserve my visual layout? This is important because I've used Max/MSP in the past and I would logically lay out the code by function to make it easier to comprehend. Similarly, preserving whitespace in the textual form even when editing the visual form.

I don't know if or how luna handles this, but its a concern that I've had trouble with when I was thinking about something similar in the past.

Re:Luna – Visual and textual functional programming language by wdanilo on Friday June 23, 2017 @11:35AM (#14619902)
It does preserve. We keep some special markers in the text files and we track the position of the markers. The markers have associated metadata kept on the end of source file. Neither markers, nor metadata is seen during the graph editing, so it works transparently for the end user.
Re:Luna – Visual and textual functional programming language by dkersten on Friday June 23, 2017 @07:29PM (#14623510)
Awesome! That's great to hear.