gosh-lang / gosh

Gosh is an interpreted language for Go ecosystem written in Go
https://gosh-lang.org
Mozilla Public License 2.0
62 stars 8 forks source link

Escaping in strings #32

Open AlekSi opened 6 years ago

AlekSi commented 6 years ago

https://golang.org/ref/spec#String_literals

We should extend scanner to return whole string literals with escaping, and then extend parser to handle escaping in StringLiteral.