Make IO a static class instead of a singleton.

This commit is contained in:
Bob Nystrom
2013-12-21 19:25:09 -08:00
parent 24a6f4cd8c
commit 6c3aa85228
119 changed files with 532 additions and 536 deletions
+6 -6
View File
@@ -1,10 +1,10 @@
io.write(123) // expect: 123
io.write(987654) // expect: 987654
io.write(0) // expect: 0
io.write(-0) // expect: -0
IO.write(123) // expect: 123
IO.write(987654) // expect: 987654
IO.write(0) // expect: 0
IO.write(-0) // expect: -0
io.write(123.456) // expect: 123.456
io.write(-0.001) // expect: -0.001
IO.write(123.456) // expect: 123.456
IO.write(-0.001) // expect: -0.001
// TODO: Hex? Scientific notation?
// TODO: Literals at and beyond numeric limits.