96ceaa528b
Allow empty argument list methods.
...
- Compile them as calls and definitions.
- Use them for call(), clear(), run(), try(), and yield().
- Update the docs.
2015-02-26 23:08:36 -08:00
4a8cf3a7bf
Move newline handling down into parser.
...
This lets us make it a grammar feature and not a lexer trick.
Newlines are explicitly ignored in some parts of the grammar. This
lets, for example, things like "|" ignore the newline when used as
an operator, but not when used as a parameter delimiter in a block
argument.
2014-04-04 07:51:18 -07:00
d146018559
Convert all fns to block arg syntax.
2014-04-02 19:41:53 -07:00
59bb7eec7a
Remove some outdated TODOs.
...
They’re TODONE!
2014-02-13 08:38:44 -08:00
90d1ed6aa6
Make null falsey.
2014-01-20 18:12:55 -08: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