maryrosecook/littlelisp

String escaping doesn't work

firegurafiku opened this issue · 2 comments

It seems the lexer have some problems when dealing with escape sequence:

> "...\"..."
'...\\"...' 
/* should be '..."...' or "...\"..." */ 

Hiya. Thanks a lot for reporting this. I think I'm going to leave this bug unfixed. My priority with the Little Lisp project is to keep the code short, readable, and mostly free of code that is there to handle edge cases. Thanks again for reporting.

7fe commented

How am I supposed to input

"...\"..."

then? This appears to work but I'm concerned it is cross lisp portable.

(print "..."...")