#SEGFAULT with interpreter

4 messages · Page 1 of 1 (latest)

spring heart
#

I'm making an interpreter for a "new programming language" as a school project, but it's segfaulting and i can't figure out why. Here's the code: https://github.com/Lucad44/KeinLang

If anyone would be down to either look and what could possibly be causing an error and telling me or call to figure it out together, i'd be very grateful

GitHub

Contribute to Lucad44/KeinLang development by creating an account on GitHub.

hexed mothBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

uneven scaffold
upbeat smelt
#

compiler your code with -g and run it in any debugger and u will find where exactly and why it segfault or u can use -fsanitize=address when u compile it