slag-plt / scamper

A mini-Scheme implementation designed for teaching, targeting the web
0 stars 1 forks source link

Fix string parsing #40

Closed psosera closed 1 year ago

psosera commented 1 year ago

Escape codes in strings need to be parsed properly, e.g., \n needs to be turned into the unicode value for newline character, instead of the literal text "\n". We can simply port the parsing code from old Scamper for this purpose.