me1
2018-1-1 16:45:12

to be a little more robust, is it possible to create a macro so that: (hyphenate[function name] input) becomes (function-name input) ?


me1
2018-1-1 16:46:04

I know just ([function name] input) to (function-name input) was suggested against


me1
2018-1-1 16:47:38

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


lexi.lambda
2018-1-1 19:31:18

@me1 You ask a lot of curious “is it possible…” questions. Just write a custom reader if you want custom syntax.


me1
2018-1-1 21:43:21

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.


me1
2018-1-1 21:45:52

As example of not-just-text, ever seen Unreal Engine 4’s Blueprint scripting language?


me1
2018-1-1 21:46:22

me1
2018-1-1 21:47:19

I do a lot of VR work, too, so generalizing programming to higher dimensions is appreciated.


me1
2018-1-1 21:49:19

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
2018-1-2 00:22:35

@bthesorceror has joined the channel


dedbox
2018-1-2 07:12:38

@me1 the UE4 editor reminds me of NoFlo, a visual flow-based programming language ~for~ that compiles to JavaScript.


dedbox
2018-1-2 07:19:16

I would love something like that for Racket.


dedbox
2018-1-2 07:22:36

…minus the JavaScript part.


dedbox
2018-1-2 07:23:34

Just run visual programs directly, I guess.