some updates

This commit is contained in:
leaf corcoran 2012-02-07 08:52:25 -08:00
parent 3320932c71
commit 8940c6a837

View File

@ -8,6 +8,14 @@ MoonScript is a programming language that compiles to
familiarity with Lua. For each code snippet below, the MoonScript is on the
left and the compiled Lua is on right right.
This is the offical language reference manual, installation directions and the
homepage are located at <http://moonscript.org>.
<div class="github-buttons">
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=leafo&repo=moonscript&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=leafo&repo=moonscript&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe>
</div>
# The Language
## Assignment
@ -441,7 +449,7 @@ size and leave the other bounds blank. This takes all odd indexed items: (1, 3,
5, ...)
```moon
slice = [item for items in *items[,,2]]
slice = [item for item in *items[,,2]]
```
## For Loop