Commit Graph

7 Commits

Author SHA1 Message Date
7393e12555 Allow multiple arguments to IO.print(). 2014-04-09 07:48:35 -07:00
d146018559 Convert all fns to block arg syntax. 2014-04-02 19:41:53 -07:00
3be059a137 Fix scoping and break statements.
Variables declared in the loop were not properly disposed of
when you broke out of the loop.
2014-01-06 08:01:04 -08:00
b979272305 Clean up text handling a bit:
- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
2014-01-05 12:27:12 -08:00
e6e7b2594c For loops! 2013-12-24 21:04:11 -08:00
1e0401bfc1 Allow statement bodies for flow control.
This means this works now:

  if (foo) return bar
2013-12-24 10:27:48 -08:00
8c85232b90 Break statements. 2013-12-24 10:15:50 -08:00