Hello! The past few hours I've been working on some things and I came accross a small bug.

I'm essentially practicing lexing and parsing by implementing a (very) simple language. Everything is going great so far (variable declarations, writing to stdout etc...) but I have a small problem with my string literals. I've got them working fine, quotes can be escaped etc... But when they include the new line character (\n) for example and it's written out it doesn't create a new line but prints out those characters raw. Does anyone have any idea why?
Any help is very much appreciated!

Reply via email to