You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been expanding lispy (from your book, which is awesome, btw), to include support for doubles. However, when I finished my implementation, I suddenly get SIGSEGV errors when creating the grammar. Is there something I'm doing wrong?
I'm using the latest (master) version on the repo.
Program received signal SIGSEGV, Segmentation fault.
0x74538eb4 in strcmp () from C:\WINDOWS\SysWOW64\msvcrt.dll
(gdb) backtrace
#0 0x74538eb4 in strcmp () from C:\WINDOWS\SysWOW64\msvcrt.dll
#1 0x0040de42 in mpca_grammar_find_parser ()
#2 0x0040de74 in mpcaf_grammar_id ()
#3 0x004081f5 in mpc_parse_apply_to ()
#4 0x00408607 in mpc_parse_run ()
#5 0x00408d22 in mpc_parse_run ()
#6 0x00408e6d in mpc_parse_run ()
#7 0x00408a66 in mpc_parse_run ()
#8 0x00408e6d in mpc_parse_run ()
#9 0x00408e6d in mpc_parse_run ()
#10 0x0040891a in mpc_parse_run ()
#11 0x004086d8 in mpc_parse_run ()
#12 0x00408e6d in mpc_parse_run ()
#13 0x00408e6d in mpc_parse_run ()
#14 0x004085db in mpc_parse_run ()
#15 0x00408feb in mpc_parse_input ()
#16 0x0040e8df in mpca_lang_st ()
#17 0x0040ea59 in mpca_lang ()
#18 0x00403e5c in grammar_create ()
#19 0x00401451 in main ()
(gdb)
The text was updated successfully, but these errors were encountered:
Hi,
I've been expanding lispy (from your book, which is awesome, btw), to include support for doubles. However, when I finished my implementation, I suddenly get SIGSEGV errors when creating the grammar. Is there something I'm doing wrong?
I'm using the latest (master) version on the repo.
Grammar:
GDB backtrace:
The text was updated successfully, but these errors were encountered: