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
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
leaf corcoran
09a2a5c545
mark position of table self assigns to not confuse linter
2015-02-28 11:52:14 -08:00
leaf corcoran
2d5dd107d4
fix opts passing to cmd.moonc
2015-02-28 11:47:58 -08:00
leaf corcoran
a79eb19f9e
mark used up the block stack
2015-02-28 11:26:37 -08:00