词条 | Draft:MoonScript |
释义 |
{{Infobox programming language | name = MoonScript | logo = |paradigm=Multi-paradigm: scripting, imperative (procedural, prototype-based, object-oriented), functional | year = {{Start date and age|2011|12|11}} | designer = Leaf Corcoran | developer = Leaf Corcoran | latest_release_version = 0.5.0 | latest_release_date = {{Start date and age|2015|9|25}} | latest preview version = | latest preview date = | typing = | implementations = | programming_language = | dialects = | influenced_by = CoffeeScript, Lua | influenced = | operating_system = Cross-platform | license = MIT License | website = {{URL|//www.moonscript.org/}} | file ext = .moon | wikibooks = }}{{stub}}MoonScript is a cross-platform, dynamic, scripting programming language which transcompiles into Lua. MoonScript was designed as an alternative to Lua, maintaining its speed and portability, while introducing several new object-oriented constructs, such as table comprehension, implicit return on functions, classes, inheritance, scope management statements, and reducing keyword noise compared to Lua.[1] MoonScript was created in Fall 2011 by Leaf Corcoran as an alternative for Lua. Corcoran would later use MoonScript as the primary language when creating itch.io, a site for distrubuting indie video games.[2] Installation of MoonScript is primarily through the LuaRocks package manager. It has been adapted as a supported scripting language for a number of applications, such as the TIC-80 fantasy console. [3] References1. ^{{cite web |title=MoonScript, a language that compiles to Lua |url=http://moonscript.org |website=MoonScript |accessdate=20 February 2019}} 2. ^{{cite web |last1=Corcoran |first1=Leaf |title=Introducing itch.io |url=http://leafo.net/posts/introducing_itchio.html |website=leafo.net |accessdate=20 February 2019}} 3. ^{{cite web |title=MoonScript |url=https://itch.io/t/56936/moonscript |website=itch.io |publisher=Nesbox |accessdate=20 February 2019}} |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。