Commit Graph

727 Commits

Author SHA1 Message Date
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
nymphium
0d330c8416 LUA=lua5.1 as default, and detect luarocks and LUA_{C,}PATH 2015-08-21 21:24:31 +09:00
nymphium
db523926d3 make it choice /usr/bin/lua, not lua5.1 2015-08-13 18:06:03 +09:00
nymphium
b0904c170c added Lua5.3's new operators 2015-08-13 18:02:30 +09:00
leaf corcoran
9e98affc1d put bin in lint 2015-06-08 22:03:11 -07:00
leaf corcoran
1bd8b0336e pass last pos through state table 2015-06-08 21:50:52 -07:00
leaf corcoran
32239c8455 rewrite bin/moon in moonscript 2015-06-08 21:46:28 -07:00