-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ideas for improvement #156
Comments
Why not pyth eval in safe mode? Also, what are bags? |
@Maltysen bags are like sets with multiplicity. |
so like |
I haven't used that one, but it sounds about right. One difference is that bags usually don't allow negative counts, however. |
Could |
http://codegolf.stackexchange.com/questions/75335 It's really hard to split a sequence into pieces by a specific criterion. |
@jakobkogler That is the existing functionality of |
Oh, right. 2016-03-11 9:02 GMT+01:00 isaacg1 [email protected]:
|
Maybe a string compression algorithm for short strings (.Z actually outputs something longer for short strings. For example, it outputs a 23 byte long string for a 11 bytes long string). I'm thinking about something like |
@FliiFe Yeah, |
Also, An issue I often come across, is that I can't find the list() constructor. And even |
It looks like you're trying to convert a string to a list of characters. A couple of ways to do this are cQ1, which chops the string into pieces of length 1, and mdQ. |
Oh, didn't think about them. Thanks! Another thing I've been thinking of, is a variable with default value |
Perhaps a way to write in Python and then have it converted to Pyth? |
@jackHedaya That's very unlikely to ever be possible - the two languages are too different. |
I see... Perhaps better error displaying? For example showing at what point there is an error in terms of Pyth code. |
@jackHedaya Could you give an example of the sort of thing you're thinking of? |
This will be a thread for ideas for improvement of pyth:
Pyth eval/exec (not in safe mode)
Remove sets, make operations explicit.
bitwise operations
setwise operations
bagwise operations
operation on one location in a list. Like X, but an arbitrary operation.
The text was updated successfully, but these errors were encountered: