Commit Graph

424 Commits

Author SHA1 Message Date
leaf corcoran
d90bd71013 updated doc html 2011-12-12 00:49:06 -08:00
leaf corcoran
2fc2a1e1b5 splat.moon: specify the modules to autoload with -l 2011-12-11 17:21:53 -08:00
leaf corcoran
0f44808158 splat.moon can do multiple directories 2011-12-11 17:12:17 -08:00
leaf corcoran
4c4f6de43e added splat.moon 2011-12-11 16:57:07 -08:00
leaf corcoran
07fb8dc28e bump version number 2011-12-10 23:56:24 -08:00
leaf corcoran
f280eff15c clean up docs for sitegen 2011-12-10 23:50:50 -08:00
leaf corcoran
eacc6d86ad fix format error 2011-12-10 22:19:12 -08:00
leaf corcoran
b833282e89 fixed some broken syntax in docs 2011-12-10 22:09:36 -08:00
leaf corcoran
4b56fb2c37 delimited snippets 2011-12-10 22:00:38 -08:00
leaf corcoran
f45a2aa60b more std lib docs 2011-12-10 14:57:11 -08:00
leaf corcoran
d50ff29396 scintillua directions 2011-12-10 13:53:22 -08:00
leaf corcoran
53f587021d support for indented unbound tables as last argument to function calls 2011-12-08 22:44:07 -08:00
leaf corcoran
e79711423c is_object and type stdlib functions 2011-12-04 11:16:06 -08:00
leaf corcoran
0ac471c2c4 rebuilt 2011-12-03 19:41:20 -08:00
leaf corcoran
d1059b8f98 class level inheritance, changed class representation slightly
Looking up a class property will now search the parent class properties
if parent exists

Classes have a few more built in properties:

  * __name holds the name of the class as it was defined as a string
  * __base holds the instance metatable as it was defined (not dynamic)
  * __parent holds the class's parent class if it exists (not dynamic)

The way class inheritance is handled was CHANGED (uses __base instead of
looking at __index of parents metatable). Make sure you recompile all
your code if using class inheritance because old classes won't work with
new ones.
2011-12-03 19:17:06 -08:00
leaf corcoran
e55fa25e6e class inner expressions run in class scope 2011-12-03 15:45:04 -08:00
leaf corcoran
255a92f8ee expressions inside of class body is parsed 2011-12-03 14:07:05 -08:00
leaf corcoran
7ff11584f5 moon.debug falls back on lua debug 2011-12-03 14:05:02 -08:00
leaf corcoran
30d1db85c8 start of stdlib docs 2011-12-03 11:56:15 -08:00
leaf corcoran
676e89454d mentioned function stubs and super 2011-12-03 11:07:24 -08:00
leaf corcoran
3e9c5669a3 enhanced documentation about super 2011-12-03 11:02:06 -08:00
leaf corcoran
0d232f98e7 super tests, fixed regression when compiling chain dot args 2011-12-03 10:44:41 -08:00
leaf corcoran
5c999fb680 colon_stub on super will pass self as receiver 2011-12-03 10:39:03 -08:00
leaf corcoran
cd5087b08b don't error on value named super outside class 2011-12-02 20:42:46 -08:00
leaf corcoran
fc72baf423 calling function of super with \ uses self instead of class as first arg 2011-12-02 20:37:47 -08:00
leaf corcoran
6a07d50277 fixed super dot access, made super available as a value 2011-12-02 20:07:42 -08:00
leaf corcoran
68e209cd1f fold function 2011-11-30 19:26:17 -08:00
leaf corcoran
bb9b48b3ea don't swallow lua errors when in watch mode 2011-11-30 19:25:41 -08:00
leaf corcoran
79c33bb007 scintillua: added all lua funcs, made theme more generic 2011-11-20 23:37:11 -08:00
leaf corcoran
1f6d5d2add table key syntax for scintillua 2011-11-20 20:51:19 -08:00
leaf corcoran
aa85c46114 updated scintillua lexer a bit, added moon theme 2011-11-20 20:29:55 -08:00
leaf corcoran
6aac4c4c9b scintillua syntax lexer 2011-11-20 17:52:43 -08:00
leaf corcoran
48d491aa84 moon.p function and clean up todo 2011-11-20 17:52:19 -08:00
leaf corcoran
02a5dbcdd1 fix compile failure when comprehension exp has no value 2011-11-19 13:03:51 -08:00
leaf corcoran
f7a93241d9 switch docs 2011-11-18 19:18:22 -08:00
leaf corcoran
3f6c1d517e switch tests, parse switch non-cascade expression 2011-11-18 19:07:17 -08:00
leaf corcoran
7334678579 switch statement 2011-11-17 21:48:50 -08:00
leaf corcoran
636c24258f added key,value table comprehensions 2011-11-17 20:34:16 -08:00
leaf corcoran
652e59c96c syntax for tblcmp 2011-11-14 19:16:52 -08:00
leaf corcoran
e32f0752b8 some debug method 2011-11-14 19:16:26 -08:00
leaf corcoran
e9c7f56bf4 fix rockspec 2011-11-09 19:10:20 -08:00
leaf corcoran
cacd11f879 move generic functions out of grammar constructor 2011-11-07 21:09:45 -08:00
leaf corcoran
5f08b2f532 transformers are instanced for for root blocks 2011-11-07 20:57:07 -08:00
leaf corcoran
44167c327a renamed line.moon to statement.moon 2011-11-06 23:03:31 -08:00
leaf corcoran
5d9851b8cd export keyword works before class declaration, fixed export test 2011-11-06 22:48:25 -08:00
leaf corcoran
d50f336695 mentioned export assignment, removed some tabs 2011-11-06 22:32:27 -08:00
leaf corcoran
374a7c5975 can export assignment statements 2011-11-06 22:29:39 -08:00
leaf corcoran
de3372d96e import done through transform, binding import also works now 2011-11-06 22:06:39 -08:00
leaf corcoran
4dd7e7dcc0 moved update to transform 2011-11-06 16:07:36 -08:00
leaf corcoran
7605b2d6a4 wrap generated with code in do block again 2011-11-06 15:46:32 -08:00