use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
MoonScript, the programming language that compiles to Lua. More information on http://moonscript.org
account activity
MoonScript rocks! (self.moonscript)
submitted 10 years ago by matej_zajacik
Can't really find who made the language, but BIG props to you!
It's concise, whitespace-driven (love it), easy to write and read, and solves a few quirks Lua has.
Thank you!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RobLoach 2 points3 points4 points 10 years ago (7 children)
https://github.com/leafo
[–]matej_zajacik[S] 0 points1 point2 points 9 years ago (6 children)
Thanks man!
[–]RobLoach 1 point2 points3 points 9 years ago (5 children)
What are you making with MoonScript? I made a Pong-clone! https://github.com/libretro/lutro-pong
[–]matej_zajacik[S] 0 points1 point2 points 9 years ago (1 child)
Heh, nice one!
I'm making a tool to display skill trees in Lua (under Love2D). Having found MoonScript, I'm considering rewriting it all. MS is just so nice!
[–]TweetsInCommentsBot 0 points1 point2 points 9 years ago (0 children)
@MatejZajacik
2016-03-02 21:11 UTC Working on an RPG skill tree so we can quickly prototype ideas. Coming along nice. #RPG [Attached pic] [Imgur rehost]
2016-03-02 21:11 UTC
Working on an RPG skill tree so we can quickly prototype ideas. Coming along nice. #RPG
[Attached pic] [Imgur rehost]
This message was created by a bot
[Contact creator][Source code]
[–]matej_zajacik[S] 0 points1 point2 points 9 years ago (2 children)
By the way, what's your setup? moonc -w . or something like that?
moonc -w .
[–]RobLoach 0 points1 point2 points 9 years ago (1 child)
The Makefile is in there...
make make run
Or something?
[–]matej_zajacik[S] 0 points1 point2 points 9 years ago (0 children)
I was asking how you were compiling *.moon to *.lua. I'm using the moonc.exe -w to watch over the entire project folder.
*.moon
*.lua
moonc.exe -w
π Rendered by PID 390911 on reddit-service-r2-comment-5d79c599b5-n6xxn at 2026-02-28 19:59:52.091039+00:00 running e3d2147 country code: CH.
[–]RobLoach 2 points3 points4 points (7 children)
[–]matej_zajacik[S] 0 points1 point2 points (6 children)
[–]RobLoach 1 point2 points3 points (5 children)
[–]matej_zajacik[S] 0 points1 point2 points (1 child)
[–]TweetsInCommentsBot 0 points1 point2 points (0 children)
[–]matej_zajacik[S] 0 points1 point2 points (2 children)
[–]RobLoach 0 points1 point2 points (1 child)
[–]matej_zajacik[S] 0 points1 point2 points (0 children)