morganey-lang / Morganey

Lambda Calculus based, interpreted programming language that recognizes Church encoded structures.
43 stars 4 forks source link

Escaped double quotes don't work in quasiquotation #71

Open keddelzz opened 8 years ago

keddelzz commented 8 years ago

... because there is a bug in the scala compiler, see SI-6476 for details.

rexim commented 8 years ago

And just wanna have it mentioned in this ticket that it's possible to use multiline strings as a workaround:

scala> val hello = m"\"hello\""
<console>:1: error: ';' expected but string literal found.
val hello = m"\"hello\""
                      ^

scala> val hello = m""""hello""""
hello: me.rexim.morganey.ast.LambdaFunc = (λ x . ((x...