cognate
cognate copied to clipboard
`Do Box 0` crashes `cognac`
$ echo "Do Box 0;" > crash.cog
$ cognac crash.cog
______ ______
/ ____/___ ____ _____ ____ _/ ____/
/ / / __ \/ __ `/ __ \/ __ `/ /
/ /___/ /_/ / /_/ / / / / /_/ / /___
\____/\____/\__, /_/ /_/\__,_/\____/
/____/
Cognate Compiler
[1] 98760 segmentation fault cognac crash.cog
There is no traceback, only a segmentation fault. I kind of expected this to crash the final executable, but instead it crashed the compiler ¯\_(ツ)_/¯
It also crashes my interpreter pretty badly, so don't feel bad ;)
$ ./cogni -c "Do Box 0;"
Double fault in exit handler
[1] 98651 abort ./cogni -c "Do Box 0"
Oh that's very strange - I'll try and take a look this evening.