Moonscript

E437238

Moonscript is a high-level programming language that compiles to Lua, offering a cleaner, more expressive syntax while targeting the Lua runtime.

All labels observed (1)

Label Occurrences
Moonscript canonical 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf programming language
transpiled language
category high-level programming language
scripting language
codeRepository https://github.com/leafo/moonscript
compilesTo Lua NERFINISHED
creator Leaf Corcoran NERFINISHED
designedFor cleaner syntax than Lua
expressive syntax
designGoal be a drop-in replacement for Lua in many contexts
improve readability of Lua code
distribution LuaRocks package
documentation https://moonscript.org
ecosystem LÖVE game framework community
executionModel compiled to Lua then interpreted by Lua VM
fileExtension .moon
hasFeature class syntax
comprehensions
destructuring assignment
implicit return of last expression in functions
implicit self parameter in methods
import and export syntax for modules
lambda syntax
metatable support via Lua interop
short function definition syntax
significant whitespace for blocks
string interpolation
table comprehensions
influencedBy CoffeeScript NERFINISHED
Lua NERFINISHED
interoperatesWith Lua libraries
license MIT License
paradigm functional programming
imperative programming
multi-paradigm
object-oriented programming
runsOn Lua 5.x implementations
supports class inheritance
coroutines via Lua
metaprogramming via macros-like constructs
mixins via tables
pattern matching via Lua libraries
targetRuntime Lua NERFINISHED
tooling REPL
command-line compiler
typingDiscipline dynamic typing
useCase game development with Lua engines
scripting in Lua-based applications

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Lua influenced Moonscript