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
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
leaf corcoran
f7beade09c
remove V cache #150
2015-02-28 17:28:56 -08:00
leaf corcoran
9ae7df38df
fix typo in docs #164
2015-02-28 17:07:12 -08:00
leaf corcoran
eb42898b5b
update rockspec, fixes #161
2015-02-28 17:04:43 -08:00
leaf corcoran
c8e6528ef7
convert parser to moonscript
2015-02-28 16:55:02 -08:00
leaf corcoran
a1d9e39caa
convert rest of parse helpers to moonscript
2015-02-28 16:01:52 -08:00
leaf corcoran
72d496dd66
start moving parse helpers to moonscript
2015-02-28 15:12:27 -08:00
leaf corcoran
5b0df1cd62
wrap_env in moonscript, separate module
2015-02-28 15:01:28 -08:00
leaf corcoran
b9013efcdc
parse.literals module
2015-02-28 14:48:25 -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
1982b565d8
refactor operators parsing
2015-02-28 13:36:52 -08:00
leaf corcoran
8ea934964a
allow whitespace/newlines after binary operator
2015-02-28 13:26:29 -08:00
leaf corcoran
72615aa6e2
date and doc misc updates
2015-02-28 12:47:21 -08:00
leaf corcoran
64ac22aa7b
docs for new lint functionality
2015-02-28 12:42:36 -08:00
leaf corcoran
9a3504afc2
lint
2015-02-28 11:53:47 -08:00