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

Jelly-like constants and functions #258

Open
7 tasks
DonaldTsang opened this issue Nov 10, 2018 · 2 comments
Open
7 tasks

Jelly-like constants and functions #258

DonaldTsang opened this issue Nov 10, 2018 · 2 comments

Comments

@DonaldTsang
Copy link

https://github.com/DennisMitchell/jellylanguage/wiki/Atoms

  • shortcuts for 128, 250, 256, 360 etc.
  • Vowels, consonants
  • QWERTY array
  • Slashes and brackets
  • Set Union, difference and other operators
  • Run-length encoding
  • N-th prime
@Mr-Xcoder
Copy link

Mr-Xcoder commented Nov 10, 2018

A few remarks: I don't think that the shortcuts for 128, 250 etc. are useful because they're going to be 3 bytes anyway. Constants for vowels and consonants might indeed be nice, especially if two versions are included, one considering y a vowel and the other way around. IMO QWERTY isn't really needed, the same goes for slashes and brackets. Set difference already exists, but other set operators would be cool indeed. RLE already exists as r8. Prime-related functions were always kind of missing in Pyth, so IMO Pyth would benefit from their addition indeed. However, I'm not sure whether there are enough characters and overloads left unused to implement them.

@DonaldTsang
Copy link
Author

@Mr-Xcoder perhaps you could help me evaluate which ones are worth it and which aren't

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