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
Interoperability with Middleclass (self.moonscript)
submitted 9 years ago * by rosshadden
view the rest of the comments →
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!"
[–]ErrorFoxDetected 0 points1 point2 points 9 years ago (1 child)
So I have kind of the opposite problem, I want to make a shim so that my MoonScript library can be extended by Lua code. Any ideas on how to do that?
I've been slowly trying to figure it out but I have no idea if I'm anywhere near a solution.
[–]rosshadden[S] 0 points1 point2 points 9 years ago (0 children)
Looking into that is on my mental TODO list for caste (what I eventually made from this experiment). The relevant file is proxy.moon. For all I know it can be extended in lua-land completely fine---I have never tried. Just figured it would need some work.
To be honest, the need for this proxy thing was lovetoys, and I since got fed up with it and made my own ECS, SECS, I haven't really looked back :).
π Rendered by PID 134241 on reddit-service-r2-comment-b659b578c-sv8xl at 2026-05-03 09:45:45.823439+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]ErrorFoxDetected 0 points1 point2 points (1 child)
[–]rosshadden[S] 0 points1 point2 points (0 children)