LightAndLight / ipso

A functional scripting language.
https://ipso.dev
16 stars 1 forks source link

Can't write literal backslashes in strings #395

Closed LightAndLight closed 1 year ago

LightAndLight commented 1 year ago
$ cat test.ipso 
main : IO ()
main =
  comp
    println "backslash: \\"

$ ipso test.ipso 
test.ipso:4:26: error: expected one of: '"', '$', '${', string
  |
4 |     println "backslash: \\"
  |                          ^