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
b4c802fadf
rebuild tests for new compiled syntax
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
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
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
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
da6c76b7e4
simplify single name destructures/imports
2014-09-02 20:31:08 -07: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
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
2d345f1c7c
change comprehensions again
...
avoid problems overwritting values we are working with
2013-06-30 20:13:12 -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
f8c2e0b3ab
avoid creating function for basic list comprehension assign
2013-06-10 19:57:01 -07:00
leaf corcoran
4978054a8f
reuse locals for unpack loops
2013-06-10 19:18:49 -07:00
leaf corcoran
56112e074c
with doesn't create its own reference unless necessary
2013-06-10 16:12:26 -07:00
leaf corcoran
abbf46ac37
move test to spec
2013-06-07 23:14:08 -07:00