leaf corcoran
1bdcf26b08
super scope test
2015-12-06 11:06:35 -08:00
leaf corcoran
a9bb80159f
super works inside class methods
2015-12-06 11:05:34 -08:00
leaf corcoran
3be7be0166
extract super transform out
2015-12-06 10:42:21 -08:00
leaf corcoran
8f647cc743
spec for testing super scope when inside table/function
2015-12-06 02:07:41 -08:00
leaf corcoran
4b26091c9f
change how super method name is set
2015-12-06 02:05:47 -08:00
leaf corcoran
76454f61ae
update rockspec
2015-12-06 00:16:49 -08:00
leaf corcoran
07c639ad3d
remove reversed
2015-12-06 00:14:47 -08:00
leaf corcoran
ca21c216ea
move class transformer to own module
2015-12-06 00:10:36 -08:00
leaf corcoran
5a0c5d1e55
move comprehension to new module
2015-12-06 00:02:55 -08:00
leaf corcoran
292337ee2b
update rockpsec (unbreak lint)
2015-12-05 23:09:17 -08:00
leaf corcoran
76af9964fe
refactor apart transfromers
2015-12-05 23:07:42 -08:00
leaf corcoran
53ef9fe504
move transformer to separate class
2015-12-05 21:38:29 -08:00
leaf corcoran
d73c0a1d3f
unindent super code
2015-12-05 21:38:08 -08:00
leaf corcoran
d91fbbe496
count
2015-12-05 21:34:32 -08:00
leaf corcoran
ae2558ab67
rebuild specs and code
2015-11-19 22:47:06 -08:00
leaf corcoran
66d80ed217
use cls_name for super access, rebuild
2015-11-19 22:42:43 -08:00
leaf corcoran
40b7ed6135
specs for repeated supers
2015-11-19 22:42:31 -08:00
leaf corcoran
b4c802fadf
rebuild tests for new compiled syntax
2015-11-19 22:42:31 -08:00
leaf corcoran
6aea71f16c
rebuild
2015-11-19 22:42:31 -08:00
leaf corcoran
11f0b022c4
use relative reference to parent class instead of closure
2015-11-19 22:42:31 -08:00
leaf corcoran
24b3a86c68
correct escape new chain format for lua keywords
2015-10-05 20:53:54 -07:00
leaf corcoran
c4ad47c112
replace has_value with functional value_can_be_statement
2015-10-05 20:19:36 -07:00
leaf corcoran
e4c4e8e0ee
update super for new chain ast
2015-09-30 01:06:22 -07:00
leaf corcoran
2f71fbc13f
use colon instead of colon stub for bound import
2015-09-30 01:06:22 -07:00
leaf corcoran
02a20ea695
add some specs for name extract
2015-09-30 01:06:22 -07:00
leaf corcoran
e94494721a
bring back dot/colon prefix chain
2015-09-30 01:06:22 -07:00
leaf corcoran
6a057b6b56
show preview of buffer on non-terminal debugger
2015-09-30 01:06:22 -07:00
leaf corcoran
8db1006916
start simplifying chain ast
2015-09-30 01:06:22 -07:00
leaf corcoran
b9efd31af7
add another super test
2015-09-30 00:57:08 -07:00
leaf corcoran
c24acf490b
fix regression from #200
2015-09-29 00:32:46 -07:00
leaf corcoran
ce396acb15
fixes #208
2015-09-26 21:16:02 -07:00
leaf corcoran
9640694708
rebuild spec
2015-09-26 21:07:22 -07:00
leaf corcoran
73e9df6841
clean out some stuff from makefile
2015-09-26 20:59:46 -07:00
leaf corcoran
36528f1dd0
rebuild, specs for new string precedence
2015-09-26 20:59:33 -07:00
Kyra 'nonchip' Zimmer
f273598e37
should fix #200
2015-09-26 20:55:52 -07:00
leaf corcoran
87c88feb28
make sure return/break at end don't interfere with continue logic fixes #215 #190 #183
2015-09-26 20:29:39 -07:00
leaf corcoran
70c5c79ed9
woop
2015-09-26 20:15:36 -07:00
leaf corcoran
be0c7d47fc
fix travis?
2015-09-26 20:12:52 -07:00
leaf corcoran
7f423613d7
update rockspec
2015-09-26 20:07:12 -07:00
leaf corcoran
ad7be54ff9
move some stuff around
2015-09-26 20:06:41 -07:00
leaf corcoran
9dbc1d5062
misc
2015-09-26 20:06:19 -07:00
leaf corcoran
326e4208cb
update spec guide
2015-09-26 20:05:52 -07:00
leaf corcoran
c451418282
start a spec writing guide
2015-09-26 19:42:28 -07:00
leaf corcoran
6082a86b11
update all specs to make sure they run with dev code
2015-09-26 19:31:01 -07:00
leaf corcoran
aeca8864ae
make helper to make sure right moonscript code is tested, add to lang spec
2015-09-26 19:07:04 -07:00
leaf corcoran
e26fc29784
compile_system
2015-09-26 18:05:00 -07:00
leaf corcoran
c8552b04dc
transform last stm
2015-09-26 17:53:34 -07:00
leaf corcoran
fb8bfb740c
new transform.statments module, last_stm function
2015-09-26 17:46:21 -07:00
David Davidović
5ae8ffaed7
Add tests for nested with
blocks
...
Added two tests that test the behavior of nested `with` blocks. When a
nested `with` block is started, using a variable referenced from the
enclosing one, expected behavior is to change the short-dot syntax scope
to the newly-referenced variable.
2015-09-26 12:24:51 -07:00
David Davidović
b78cdab10b
Fix bug regarding nested with
blocks
...
Nested `with` blocks, when the node being used for the block is
referenced from the enclosing `with` block using the short-dot syntax,
do not produce the correct output. This happens because `scoped_var` is
being set at the wrong place. Fixes #187 (and #197 , its dupe).
2015-09-26 12:24:51 -07:00