kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

Crash with illegal input #619

Closed gitonthescene closed 1 year ago

gitonthescene commented 2 years ago

I forgot to use double quotes for a character in the following and it crashes consistently. I used the following file, but I don't think that's relevant. day25.txt

kona      \ for help. \\ to exit.

  data:0:`day25.txt
  h:'>'='data

rlwrap: warning: k crashed, killed by SIGSEGV.
rlwrap itself has not crashed, but for transparency,
it will now kill itself (without dumping core) with the same signal

I clearly need to use ">" instead of '>'.

tavmem commented 2 years ago

I'm busy with some other projects. Hope to get back to Kona soon. Thanks for identifying this issue!

gitonthescene commented 2 years ago

No worries at all. I’m just flagging what I run into. I figured an issue can always be closed but an unopened one might be hiding something important.