to be a little more robust, is it possible to create a macro so that: (hyphenate[function name] input) becomes (function-name input) ?
I know just ([function name] input) to (function-name input) was suggested against
from a syntax purity point of view I’d rather there be no space between in “hyphenate[”, but I suppose I’ll take what I can get
@me1 You ask a lot of curious “is it possible…” questions. Just write a custom reader if you want custom syntax.
That may have to be a solution. I do a lot of programming in my head and don’t just use text, so a heavy-handed approach like string manipulation isn’t as elegant.
As example of not-just-text, ever seen Unreal Engine 4’s Blueprint scripting language?
I do a lot of VR work, too, so generalizing programming to higher dimensions is appreciated.
Nonetheless, a custom reader may indeed be the fastest solution right now. I just wanted to know if it was possible in principle, without adding a bunch of things (because of course Racket is Turing-complete).
@bthesorceror has joined the channel
@me1 the UE4 editor reminds me of NoFlo, a visual flow-based programming language ~for~ that compiles to JavaScript.
I would love something like that for Racket.
…minus the JavaScript part.
Just run visual programs directly, I guess.