-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unprintable characters! #2
Comments
I've already started on fixing this (though I didn't make it very far) with the utf8.py file. Now, we just need to pick the unicode characters we're going to use. Maybe take some inspiration from other esoteric languages that use the full 256 byte space, e.g. seriously, jelly, osabie (can't spell it right) or some others. The only bytes we need to map to are |
I would help but I don't Python ;-; idk, if you could tell me what to do I could help but idk if will be very helpful ;-; |
Ok. Well, if you really want to help, it would be extremely helpful just to have someone start picking out the characters to use. And then I can take the python from there. Although the python is pretty trivial. Just adding values to a dictionary. The only requirements are
And then if they can look like the function they represent, that would be even awesomer. For example, backspace is |
Update, I have decided that it makes more sense to use the vim-key descriptions instead of a codepage. That has many advantages in my mind.
|
Unicode have symbols for ASCII unprintables: |
With the addition of verbose mode this is now a non-issue. Closing now |
Right now, V heavily relies upon unprintable characters. For example, this program: http://v.tryitonline.net/#code=AQEBAQEBAQEBAQ&input=MTA
Nobody can tell what this code will do without running it.
This is OK since TIO handles them really well, and they're perfectly visible from in vim, but not everybody will write V code in vim. We should come up with a way to map certain printable unicode characters to the unprintable ones just for convenience so that other users can copy and paste commands from the docs, rather than being forced to write it in vim.
This will also make it easier to tell the flow of the program just by looking at it.
The text was updated successfully, but these errors were encountered: