DJMcMayhem / V

A golfing language inspired by everybody's favorite text editor, vim.
77 stars 9 forks source link

Characters in the 0x80-0x9F range are not correctly passed into the V instance #5

Closed DJMcMayhem closed 8 years ago

DJMcMayhem commented 8 years ago

You can verify this by mapping one of those characters to something like:

iItworked!<esc>

and then trying to run a program with just this mapped character. Nothing will show up. This is a problem since 0x80-0x9F was going to be mapped to regex shortcuts, e.g. \zs, \ze, {-}, {1}, {2}, {3}, {4}..., .*, .+, etc. as well as maybe some character classes. (Even/Odd digits, Vowels/consonants, maybe some others)

DJMcMayhem commented 8 years ago

This is fixed in Version 1 which you can verify with this program (hexdump):

f3 e4 93 e4

Or,

óä<93>ä

Which is a compressed regex that translates to:

:s/\d\zs\d

Or, remove the second digit of the first two digit combo.