feat: Add double-quoted string constants with escapes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Resolves #20.
This commit is contained in:
Glen Whitney 2021-02-18 19:41:54 -08:00
parent bfe3f86116
commit d2ba26a53e
6 changed files with 11 additions and 3 deletions

View file

@ -17,6 +17,7 @@ rules
js: Stream() -> $[Stdio]
js: Int(x) -> x
js: LitString(x) -> <javaLitString>x
js: EscString(x) -> x
js: Sum(x,y) -> $[[x] + [y]]
js: Gets(x, y) -> $[[x].gets([y])]
js: To(x, y) -> $[to([x],[y])]