h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
311 stars 23 forks source link

Fatal error when inputting special characters #48

Closed h3rald closed 4 years ago

h3rald commented 4 years ago

If you run min shell and type a character like è or §, you get a fatal error:

$ ./min -i
[C:/Data/Dev/_other/min]$ #fatal.nim(39)            sysFatal
Error: unhandled exception: index 194 not in 0 .. 31 [IndexError]

Debug stack trace:

[C:/Data/Dev/_other/min]$ C:\Data\Dev\_other\min\min.nim(363) min
C:\Data\Dev\_other\min\min.nim(266) minRepl
C:\Data\Dev\_other\min\min.nim(261) minRepl
C:\Data\Dev\_other\min\packages\nimline\nimline.nim(652) readLine
C:\nim\lib\system\fatal.nim(39) sysFatal
Error: unhandled exception: index 167 not in 0 .. 31 [IndexError]