Commit Graph

20 Commits

Author SHA1 Message Date
leaf corcoran
98ebb97b16 declare the variables introduced by for loop into scope #44 2012-09-18 16:04:22 -07:00
leaf corcoran
02a5dbcdd1 fix compile failure when comprehension exp has no value 2011-11-19 13:03:51 -08:00
leaf corcoran
5cdbb68503 rebuilt tests 2011-11-06 15:44:40 -08:00
leaf corcoran
a2f9ca0743 vararg bubbling works for block_exp 2011-10-12 21:03:55 -07:00
leaf corcoran
d43f0f5a9c moved unpack foreach to transform, removed do end from output 2011-10-10 00:24:16 -07:00
leaf corcoran
faf21dd805 keep track of accumulator size instead of using length operator
should be faster
2011-08-13 19:19:17 -07:00
leaf corcoran
a76c251899 don't use table.insert to append to table 2011-08-13 11:20:10 -07:00
leaf corcoran
f1ec1ae321 fix updated test 2011-07-27 22:35:45 -07:00
leaf corcoran
4634b76ad0 temporary comprehension values don't leak 2011-07-14 23:25:30 -07:00
leaf corcoran
ba29e159b5 tests pass, fixed some bug 2011-07-14 00:02:07 -07:00
leaf corcoran
361feef825 slice shorthand for unpacked list comprehension 2011-06-23 08:42:43 -07:00
leaf corcoran
f5c5e9fde3 fully moonspeak compiler 2011-06-12 22:38:42 -07:00
leaf corcoran
b9e8b3014d local declared before fndef to allow recursion 2011-06-02 20:55:33 -07:00
leaf corcoran
72eca8071c chains can implicitly return 2011-06-01 21:11:03 -07:00
leaf corcoran
9c0fced067 syntax for table array iteration 2011-06-01 20:58:17 -07:00
leaf corcoran
d8ff74ccba comprehension decorator, non return value compile for comprehension 2011-05-29 14:47:42 -07:00
leaf corcoran
ee63375705 compile funcs use pretty to output when possible 2011-05-28 18:36:19 -07:00
leaf corcoran
75b834bbe5 implicity return for some types, temp storage for unary expressions 2011-05-28 16:45:59 -07:00
leaf corcoran
708e0dd35f exteneded list comprehension 2011-05-27 23:21:29 -07:00
leaf corcoran
1f821c19d4 list comprehension, self operator, all binary ops 2011-05-27 21:27:59 -07:00