Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions? #5

Open
aaronryank opened this issue Jul 15, 2017 · 2 comments
Open

Functions? #5

aaronryank opened this issue Jul 15, 2017 · 2 comments

Comments

@aaronryank
Copy link
Owner

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

  • It would be very hard to implement.
  • Would it really add anything to the language, seeing as how the language is mainly going to be used for golfing?
  • It's not normal for a two-dimensional nor esoteric language to have functions.

Here's the prototype for function syntax.

@catb0t
Copy link

catb0t commented Jul 16, 2017

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants