adyxax / nimfunge98

a Funge-98 interpreter written in nim
European Union Public License 1.2
2 stars 0 forks source link

Segfault on mixed line endings #1

Closed stasoid closed 1 year ago

stasoid commented 2 years ago

(Tested on Windows)

>xxd tst
00000000: 400a 0d0a                                @...
>nimfunge98 tst
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
adyxax commented 1 year ago

This bug has been fixed, thank you.

I would appreciate if you could please confirm it is all good for you too.

stasoid commented 1 year ago

Oh, yes. Now I don't have to remember to make second line nonempty so it doesn't segfault (I have a lot of programs with empty second line). Thank you.

adyxax commented 1 year ago

Might I ask what you are working on that made you try out my interpreters? It is rare to meet a fellow Befunge artist^^

stasoid commented 1 year ago

I am not an artist unfortunately, I am a hoarder. I hoard languages (and their implementations) into this polyglot. Added a bunch of Befunge-98 interpreters recently, but none of yours yet (currently working on it). The programs I mentioned are little tests that help me understand how to distinguish between different interpreters.

adyxax commented 1 year ago

Damn, this is a whole over level of craziness! You have my respect sir!