Clean up text handling a bit:

- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
This commit is contained in:
Bob Nystrom
2014-01-05 12:27:12 -08:00
parent 870f3b8b93
commit b979272305
159 changed files with 1690 additions and 1599 deletions
@@ -259,7 +259,7 @@
var a253 = a252
var a254 = a253
var a255 = a254
IO.write(a255) // expect: value a
IO.print(a255) // expect: value a
}
{
@@ -519,6 +519,6 @@
var b253 = b252
var b254 = b253
var b255 = b254
IO.write(b255) // expect: value b
IO.print(b255) // expect: value b
}
}