DennisMitchell / jellylanguage

Jelly is a recreational programming language inspired by J.
MIT License
860 stars 47 forks source link

Print z as a char #20

Closed s5bug closed 8 years ago

s5bug commented 8 years ago

If z = 99 print c, if z = 10 print a new line.

DennisMitchell commented 8 years ago

Apologies, but I'm not sure if this support question or a feature request.

If it is the former, you can print an integer as a character with ỌȮ, or just at the end of the program (output is implicit).

If it is the latter, I'm not sure how useful it would be; Ȯ is rarely useful to begin with. Do you have a specific example where this would save any bytes?

s5bug commented 8 years ago

Yes, sorry, the error was that I wasn't casting back to an int to increment 😫