Commit Graph

76 Commits

Author SHA1 Message Date
leaf corcoran
94e5a32369 start writing arg parser 2016-04-15 23:51:27 -07:00
leaf corcoran
e251fa4a02 misc 2016-04-13 19:49:16 -07:00
leaf corcoran
1a776e30e0 make error message from loader more useful 2016-04-13 19:47:37 -07:00
leaf corcoran
d573ba1953 start moving watcher code out 2016-04-13 19:30:03 -07:00
leaf
dfbe6b7a87 Merge pull request #257 from Nymphium/unless_else
Fix issue#255 : add unless - elseif
2016-04-07 20:52:24 -07:00
leaf corcoran
716f2d53d6 rebuild specs 2016-04-07 20:41:47 -07:00
nymphium
a841de51ab add spec 2016-03-31 18:38:56 +09:00
leaf corcoran
9e60662365 spec fixes for greater versions of lua 2015-12-06 18:09:04 -08:00
leaf corcoran
caa724d098 more spec 2015-12-06 12:03:19 -08:00
leaf corcoran
92932584b4 add more super class specs 2015-12-06 11:31:40 -08:00
leaf corcoran
7aa63b2b61 update specs for new class super 2015-12-06 11:24:42 -08:00
leaf corcoran
1bdcf26b08 super scope test 2015-12-06 11:06:35 -08:00
leaf corcoran
8f647cc743 spec for testing super scope when inside table/function 2015-12-06 02:07:41 -08:00
leaf corcoran
ae2558ab67 rebuild specs and code 2015-11-19 22:47:06 -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
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
02a20ea695 add some specs for name extract 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
36528f1dd0 rebuild, specs for new string precedence 2015-09-26 20:59:33 -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
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
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
leaf corcoran
0ccd5e3ca4 restore argument, make more moonscripty, add spec #176 2015-03-16 23:54:33 -07:00
leaf corcoran
50bf265e73 bad local variable, fix #177 2015-03-06 09:58:13 -08:00
leaf corcoran
adccbadf18 more whitespace sepcs for table 2015-02-28 14:10:45 -08:00
leaf corcoran
5e162e22a5 spacebreak can come after table colon 2015-02-28 14:08:44 -08:00
leaf corcoran
7109da7e1d parens can take spacebreaks on the insides of either side 2015-02-28 13:52:09 -08:00
leaf corcoran
e61c2ba29f spacebreak operator tests in more places 2015-02-28 13:41:38 -08:00
leaf corcoran
8ea934964a allow whitespace/newlines after binary operator 2015-02-28 13:26:29 -08:00
leaf corcoran
2d5dd107d4 fix opts passing to cmd.moonc 2015-02-28 11:47:58 -08:00
leaf corcoran
65f177f5c5 remove pattern matcher because it no longer works with latest busted 2015-02-28 10:41:13 -08:00
leaf corcoran
da6c76b7e4 simplify single name destructures/imports 2014-09-02 20:31:08 -07:00
leaf corcoran
5904373ab8 path_to_target 2014-06-18 10:14:26 -07:00
leaf corcoran
a4e03813fc more moonc functions to module 2014-06-18 09:48:25 -07:00
leaf corcoran
c60d83c546 start moving moonc code to moonscript 2014-06-18 09:23:41 -07:00
leaf corcoran
01555dc4f4 update error rewriters for new @ prefix on chunk name for files 2014-06-07 11:09:50 -07:00
leaf corcoran
f92e046d13 add spec helpers 2014-06-07 00:04:26 -07:00
leaf corcoran
1527a5f696 update broken spec 2014-03-23 23:45:38 -07:00
leaf corcoran
5f4d476ad0 add posmap matching specs 2014-03-04 10:12:09 -08:00
leaf corcoran
df340f7104 avoid creating unnecessary functions when using return keyword with statements and block_exps 2014-02-08 18:42:23 -08:00