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
leaf corcoran
9d2665f8dc
let colon stubs in assignments get simplified
2014-02-05 09:29:39 -08:00
leaf corcoran
a926e96813
specs for new number literals #124
2014-01-06 10:38:01 -08:00
leaf corcoran
ec35fc03d2
delete invalid test
2013-12-27 00:30:03 -08:00
leaf corcoran
c8d671a931
no temporary functions when returning block_exp
2013-06-30 23:28:51 -07:00
leaf corcoran
bc2dee76b5
continue spec
2013-06-30 21:47:45 -07:00
leaf corcoran
f04af88a8d
slices will reuse local vars for list
2013-06-30 21:40:10 -07:00
leaf corcoran
642932c1d5
kill some more anon funcs for while,for,foreach
2013-06-30 21:20:01 -07:00
leaf corcoran
82f73842d8
don't create unecessary function with tblcomp and assign single
2013-06-30 21:06:31 -07:00
leaf corcoran
7735804508
more comprehension specs
2013-06-30 21:05:52 -07:00
leaf corcoran
2d345f1c7c
change comprehensions again
...
avoid problems overwritting values we are working with
2013-06-30 20:13:12 -07:00
leaf corcoran
9dcb3ad1d1
import spec
2013-06-29 08:15:36 -07:00
leaf corcoran
347b427266
import is backed by destructure
2013-06-29 01:09:42 -07:00
leaf corcoran
1fa83e1e9c
copy value before making accumlator for unpack foreach
2013-06-28 23:17:23 -07:00
leaf corcoran
a41637ba1e
don't generate unecessary code for classes
2013-06-25 20:05:20 -07:00
leaf corcoran
3a7f5503ce
hide diff flag
2013-06-25 20:02:44 -07:00
leaf corcoran
1b7f7ddd8d
destructure spec
2013-06-22 23:16:21 -07:00
leaf corcoran
fb270ad516
table comprehension spec
2013-06-21 18:47:46 -07:00
leaf corcoran
f3d92e7b4c
comprehension spec
2013-06-20 09:21:46 -07:00
leaf corcoran
34c065e7a8
more class specs
2013-06-20 00:13:32 -07:00