DennisMitchell / jellylanguage

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

Added "translate" functions to Jelly's command line. #67

Open ConorOBrien-Foxx opened 6 years ago

ConorOBrien-Foxx commented 6 years ago

Specifically, translate.py contains code for translating ascii characters to UTF-8 characters representing Jelly's code page. These can be accessed using the following:

$ jelly et ":{3.ba'e;:o:>"
“3ḅaė;œ»
$ echo -n "W;.S'f'mU.s:Yj\`u/" > test.coded
$ jelly ft test.coded
W;ṢḟṁUṣ¥jʋ/
$
ConorOBrien-Foxx commented 6 years ago

Not being an avid user of Jelly myself, I did what made sense for me in the translation file, please tell me if anything here doesn't make sense/could make more sense.

ConorOBrien-Foxx commented 6 years ago

Bug spotted, thanks to SE user Harry