Commit Graph

582 Commits

Author SHA1 Message Date
leaf corcoran
181e06d9ae destructure works with if assignment cond 2012-11-29 09:48:08 -08:00
leaf corcoran
5162082085 allow multiple cases per when statement in switch
also fix precedence issue when using lower than == precedence operators
in when
2012-11-29 09:19:35 -08:00
leaf corcoran
252e875833 allow multiple name proxy of same type in names of for in loop 2012-11-29 01:05:22 -08:00
leaf corcoran
25b997e71f allow destructure in for in names 2012-11-29 00:37:49 -08:00
leaf corcoran
7498a52aee sort tests 2012-11-28 22:47:52 -08:00
leaf corcoran
ef2db0a1d5 upate rockspec, add script 2012-11-28 22:01:46 -08:00
leaf corcoran
915fc36b2e convert more modules 2012-11-28 20:53:47 -08:00
leaf corcoran
38463a078d remove module from compile, reorganize 2012-11-28 00:42:43 -08:00
leaf corcoran
33eb9510dd start refactoring out calls to module 2012-11-28 00:24:58 -08:00
leaf corcoran
3e42d06464 get rid of the format module, refactor some code 2012-11-28 00:04:41 -08:00
leaf corcoran
89f4a83f26 add destructuring assignment 2012-11-27 23:46:32 -08:00
leaf corcoran
3adaed672e make mtype not error when passed smart node fix #52
fixes error when returning if/elseif assignment block
2012-11-27 18:35:34 -08:00
leaf corcoran
48662adc3b let class be the key in an unbound table 2012-11-10 22:15:54 -08:00
leaf corcoran
f11eb0d250 update docs for assignment in conditionals 2012-11-04 13:39:42 -08:00
leaf corcoran
51a75272a3 bump version 2012-11-03 18:31:58 -07:00
leaf corcoran
07a01d94cd update docs 2012-11-03 18:30:59 -07:00
leaf corcoran
7752760160 @@variables should be assignable 2012-11-02 09:12:05 -07:00
leaf corcoran
f98f822891 extract class name from assign statement if anonymous class is being assigned 2012-11-01 09:19:04 -07:00
leaf corcoran
97394fbbc9 classes can be expressions, classes don't require name or body anymore 2012-11-01 08:56:54 -07:00
leaf corcoran
bcb4327fd8 remove concept of non atomic value 2012-11-01 08:03:27 -07:00
leaf corcoran
481e0f6c66 add or= an and= operators 2012-11-01 08:00:21 -07:00
leaf corcoran
1313013433 with can take an assignment statement #46 2012-11-01 07:27:52 -07:00
leaf corcoran
0d1f25c2de tests for do 2012-10-31 20:15:44 -07:00
leaf corcoran
c783eff2a4 actually show errors in test2 2012-10-31 20:13:33 -07:00
leaf corcoran
05c3725b8e making modules not vulnerable to accidental return 2012-10-31 14:16:21 -07:00
leaf corcoran
6b56bc711c left out DisableDo for foreach loop 2012-10-31 13:47:56 -07:00
leaf corcoran
abc2599d15 fix export ^ with class declarations inside of do 2012-10-31 13:44:56 -07:00
leaf corcoran
67584ec9f7 add support for do block, close #30 2012-10-31 09:59:36 -07:00
leaf corcoran
32a2c52eec fix error for when test isn't build 2012-10-31 09:57:07 -07:00
leaf corcoran
5b9e1a4389 better error when assigning invalid left hand side, fixes #36 2012-10-31 00:44:28 -07:00
leaf corcoran
021d4878a0 class name can be any assignable expression #46 2012-10-31 00:07:59 -07:00
leaf corcoran
b6987fe6d8 wrap class declaration in do instead of anonymous function 2012-10-30 23:34:42 -07:00
leaf corcoran
15dab06d31 add options to load functions, fix stacktrace for files run in moon
also don't show nothing if rewriting stacktrace fails
2012-10-30 20:23:36 -07:00
leaf corcoran
bb633546be rebuild 2012-10-30 10:28:04 -07:00
leaf corcoran
f8925a46a6 classes can implicitly return #46 2012-10-30 09:44:02 -07:00
leaf corcoran
1be72f57b7 add implicit return to end of files #46 2012-10-30 09:38:47 -07:00
leaf corcoran
19a8047618 clean out todo list 2012-10-30 09:25:23 -07:00
leaf corcoran
c4c3843537 don't crash when non-value is at end of loop expression 2012-10-30 09:11:06 -07:00
leaf corcoran
ef4157fb5f cleanup 2012-10-30 00:40:47 -07:00
leaf corcoran
bd93b322d0 add -X flag to moonc to dump posmap 2012-10-30 00:31:56 -07:00
leaf corcoran
db1081f8e5 new posmaps 2012-10-30 00:20:25 -07:00
leaf corcoran
05d83f399d add Lines 2012-10-29 22:15:06 -07:00
leaf corcoran
6d52237380 wip for new line rewriter 2012-10-29 09:54:50 -07:00
leaf corcoran
448c2e53d5 render takes a buffer 2012-10-28 11:10:46 -07:00
leaf corcoran
a6c920641e tests for new continue keyword 2012-10-28 02:05:12 -07:00
leaf corcoran
99adf930d6 delete trash 2012-10-28 01:54:36 -07:00
leaf corcoran
625a2402b0 redo varargs bubbling with send, fix some varargs issues 2012-10-28 01:50:22 -07:00
leaf corcoran
ec6b22239a replace render for Line and Block 2012-10-28 01:14:55 -07:00
leaf corcoran
52655cf199 continue on all loops 2012-10-27 22:23:06 -07:00
leaf corcoran
0d5abf6cc4 continue support in foreach loop 2012-10-27 21:22:04 -07:00