aaronryank / Forked

Two-dimensional esolang. WIP, please contribute
https://esolangs.org/wiki/Forked
8 stars 4 forks source link

Functions? #5

Open aaronryank opened 6 years ago

aaronryank commented 6 years ago

Should Forked have functions? I think it would be cool because not many two-dimensional languages have them. However...

Here's the prototype for function syntax.

catb0t commented 6 years ago

I couldn't have asked for more bizarre function syntax if I tried (but that's not bad!). If your golf is goaling, no, sorry, if your goal is golfing, why not single-byte function syntax like SNUSP has, or something?

It would not be very hard to implement, in any language, especially if you have a disregard for performance (the interpreter could just paste in the function's code and run it inline).

Finally, it is not uncommon for esolangs to have functions, as esolangs have many causes and kinds.

aaronryank commented 6 years ago

Hmm, that's true, that syntax would be awful for golfing... And the reason it's so bizarre is because I'm a noob at designing languages :p I'll look into Modular SNUSP and update the proto.md.