Commit Graph

618 Commits

Author SHA1 Message Date
leaf corcoran
192df0ec08 moved value compile to own file + cleanup 2011-07-04 09:17:14 -07:00
leaf corcoran
56c3af06d2 simple stack rewriting 2011-07-04 09:02:17 -07:00
leaf corcoran
f0b3690362 updated syntax 2011-06-23 08:53:13 -07:00
leaf corcoran
361feef825 slice shorthand for unpacked list comprehension 2011-06-23 08:42:43 -07:00
leaf corcoran
2a5a34ac19 updated compiler for new syntax 2011-06-23 00:05:28 -07:00
leaf corcoran
c86a386d00 use \ for colon call operator 2011-06-22 23:45:03 -07:00
leaf corcoran
b4df97d2d6 with statement 2011-06-21 19:43:01 -07:00
leaf corcoran
96abc5986e bang function call 2011-06-20 20:35:05 -07:00
leaf corcoran
17184f2aa8 unary minus must not have any whitespace after it
avoids precedence ambiguity between minus with fncall
2011-06-20 08:28:25 -07:00
leaf corcoran
63437f8c52 fix rockspec 2011-06-19 19:27:05 -07:00
leaf corcoran
c9886272c1 added moon loader 2011-06-19 18:47:47 -07:00
leaf corcoran
a3b56dc781 moon -> dump 2011-06-19 13:58:31 -07:00
leaf corcoran
2fb3b4f9d2 table keys can be reserved words 2011-06-19 13:00:27 -07:00
leaf corcoran
27836f1d80 super for classes, synthesized init calls super 2011-06-19 12:07:01 -07:00
leaf corcoran
885682fe32 changed name capture to avoid stack overflow on large files 2011-06-16 08:49:46 -07:00
leaf corcoran
65d0d9c8f8 benchmark flag 2011-06-16 08:45:25 -07:00
leaf corcoran
67a59a9622 class inheritance 2011-06-15 22:41:17 -07:00
leaf corcoran
65fdf7e6b2 new class system 2011-06-15 08:52:01 -07:00
leaf corcoran
858608a04d basic class syntax 2011-06-14 23:13:33 -07:00
leaf corcoran
c6aa90bcbc split compiler across multiple files 2011-06-14 09:28:28 -07:00
leaf corcoran
f133f263b4 uh oh -> stack overflow (too many captures) 2011-06-14 08:55:57 -07:00
leaf corcoran
64312e48cf rebuilt syntax test 2011-06-13 08:44:17 -07:00
leaf corcoran
a873203469 numeric for loops 2011-06-13 08:42:46 -07:00
leaf corcoran
133c9b058d binary assignment operator shorthand + misc 2011-06-13 08:23:09 -07:00
leaf corcoran
f5c5e9fde3 fully moonspeak compiler 2011-06-12 22:38:42 -07:00
leaf corcoran
1bea9f1402 fixed implicit return on statement and tmp values for chain calls 2011-06-11 10:24:23 -07:00
leaf corcoran
8fb80ee799 implicit return has returned, cascading assignment 2011-06-11 09:45:25 -07:00
leaf corcoran
02fac90e4c some more moonspeak 2011-06-05 19:28:30 -07:00
leaf corcoran
b9e8b3014d local declared before fndef to allow recursion 2011-06-02 20:55:33 -07:00
leaf corcoran
66fcb9593d stubbed out new compiler in moonscript 2011-06-02 01:09:40 -07:00
leaf corcoran
fbf2e370a6 self operator uses : for funcalls 2011-06-02 00:01:08 -07:00
leaf corcoran
5e99633efc added support for colon open function calls 2011-06-01 23:27:19 -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
7a85335e0a preparing 2011-06-01 20:22:29 -07:00
leaf corcoran
3ebfe88d30 fixed loop bug 2011-05-30 01:23:35 -07:00
leaf corcoran
233738aad2 assignable if, exp list as statement, ; as value separator 2011-05-29 22:38:47 -07:00
leaf corcoran
2e8c33ad23 new assign compile 2011-05-29 16:25:52 -07:00
leaf corcoran
d8ff74ccba comprehension decorator, non return value compile for comprehension 2011-05-29 14:47:42 -07:00
leaf corcoran
6cd61d336c recursive compile script, watch mode with inotify 2011-05-29 09:33:25 -07:00
leaf corcoran
3631c891c2 rockspec 2011-05-28 21:27:31 -07:00
leaf corcoran
ee63375705 compile funcs use pretty to output when possible 2011-05-28 18:36:19 -07:00
leaf corcoran
3fbb35ac78 test benchmarks parse and compile time 2011-05-28 18:35:18 -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
0babe3ad55 if statement decorator, unary ops, ... keyword 2011-05-28 00:21:25 -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
leaf corcoran
08c3eee854 fat arrow, assignable dot value 2011-05-24 00:15:11 -07:00
leaf corcoran
ba0c504fa4 colon and dot operators 2011-05-23 23:58:10 -07:00
leaf corcoran
06693fbd66 import statement, and some docs 2011-05-23 22:43:40 -07:00