Re:Flow-Based Programming
by DonaldFisk on Wednesday January 20, 2021 @09:34PM
(#25854633)
You can call Lisp from my language, and call my language from Lisp. But it will still need a lot more work before I start using it for tasks I currently prefer Lisp for.
Can you type Lisp into a node?
Re:Flow-Based Programming
by DonaldFisk on Wednesday January 20, 2021 @10:01PM
(#25854824)
No, but I can enter an infix formula, e.g.
F,v,x,m,b,k
(F - b v - k x) / m
For Lisp, I have to define a function using defun and make it available to the system.I'll add some new tutorials and a FAQ once I've got the new type system working, which is taking me longer than I expected.
I do understand that. I thought about implementing something like that for Pd, but in reverse. Programs there tend to look like write-only spaghetti, so it would be helpful to have something like a "spotlight" feature that temporarily removes (or blurs, etc.) the spaghetti that isn't part of a currently selected chain of objects. That would make spaghetti at least navigable with a mouse and some time.
Anyhow, I've never found a dataflow or visual programming that really deals with the ergonomics of writing the code. At some point I just want to do a little math, or a quick conditional, or some such conceptually simple business for which the graph just gets in the way. At that point it's easiest to drop down to some kind of text-based DSL inside a single box and be done with it.