Commit Graph

763 Commits

Author SHA1 Message Date
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
leaf corcoran
e46fb70d70 expose api for building custom grammars 2015-06-08 21:07:23 -07:00
leaf corcoran
fb791ed402 version bump 2015-06-01 22:32:36 -07:00
leaf corcoran
0ccd5e3ca4 restore argument, make more moonscripty, add spec #176 2015-03-16 23:54:33 -07:00
mpeterv
f08477d3d6 fix package.moonpath generation
Do not use paths from package.path which do not end in .lua
2015-03-16 23:45:32 -07:00
leaf corcoran
28eff692d9 update changelog 2015-03-16 21:46:57 -07:00
leaf
fa7f93aabe Merge pull request #179 from mpeterv/fix-travis
Upgrade to busted 2.0.rc7
2015-03-12 10:17:42 -07:00
leaf
fe6b857675 Merge pull request #178 from mpeterv/lua53-compat
Fix crash in moonc on Lua 5.3
2015-03-12 10:16:30 -07:00
mpeterv
13dda4e9ba Upgrade to busted 2.0.rc7 2015-03-12 11:22:18 +03:00
mpeterv
640d30f80d fix crash in moonc on Lua 5.3 2015-03-12 11:09:17 +03:00
leaf corcoran
fd278b8cca version bump 2015-03-07 08:19:10 -08:00
leaf corcoran
50bf265e73 bad local variable, fix #177 2015-03-06 09:58:13 -08:00
leaf corcoran
f1b7f92507 fix codeblock language 2015-02-28 19:13:16 -08:00
leaf corcoran
2c44273b77 update changelog 2015-02-28 18:52:15 -08:00
leaf corcoran
efc4d3dd0f update version 2015-02-28 18:47:27 -08:00