moonscript/tests/outputs
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
..
assign.lua fully moonspeak compiler 2011-06-12 22:38:42 -07:00
bubbling.lua vararg bubbling works for block_exp 2011-10-12 21:03:55 -07:00
class.lua class level inheritance, changed class representation slightly 2011-12-03 19:17:06 -08:00
comprehension.lua added key,value table comprehensions 2011-11-17 20:34:16 -08:00
cond.lua for loops and while statements as expressions 2011-07-16 17:14:57 -07:00
export.lua class level inheritance, changed class representation slightly 2011-12-03 19:17:06 -08:00
funcs.lua support return statement with no arguments 2011-09-30 23:23:22 -07:00
import.lua import done through transform, binding import also works now 2011-11-06 22:06:39 -08:00
lists.lua fix compile failure when comprehension exp has no value 2011-11-19 13:03:51 -08:00
literals.lua fixed number literals (all lua ones supported) 2011-08-12 19:35:22 -07:00
loops.lua moved unpack foreach to transform, removed do end from output 2011-10-10 00:24:16 -07:00
string.lua fixed "\\" from not parsing 2011-09-11 23:36:01 -07:00
stub.lua varargs bubbling moved to block_exp 2011-10-09 15:58:39 -07:00
switch.lua switch tests, parse switch non-cascade expression 2011-11-18 19:07:17 -08:00
syntax.lua moved unpack foreach to transform, removed do end from output 2011-10-10 00:24:16 -07:00
tables.lua added : prefix operator for self assignment in table lits 2011-08-28 23:41:24 -07:00
using.lua fixed number literals (all lua ones supported) 2011-08-12 19:35:22 -07:00
whitespace.lua arguments can be continued on next line with indent 2011-08-20 10:38:40 -07:00
with.lua fixed with's dot chain from not parsing all types after first chain item 2011-11-01 19:56:29 -07:00