You can edit almost every page by Creating an account and confirming your email.

MoonScript: Difference between revisions

From EverybodyWiki Bios & Wiki
WikiMasterBot2 (talk | contribs)
m Remove Afc Messages and templates
WikiMasterBot2 (talk | contribs)
m Add new revision
Line 1: Line 1:
{{AFC comment|1=Does not meet [[WP:NSOFT]] / [[WP:NORG]]. [[User:K.e.coffman|K.e.coffman]] ([[User talk:K.e.coffman|talk]]) 20:25, 17 March 2019 (UTC)}}
<!-- Please do not remove or change this AfD message until the discussion has been closed. -->
 
{{Article for deletion/dated|page=MoonScript|timestamp=20200927075847|year=2020|month=September|day=27|substed=yes|help=off}}
----
<!-- Once discussion is closed, please place on talk page: {{Old AfD multi|page=MoonScript|date=27 September 2020|result='''keep'''}} -->
 
<!-- End of AfD message, feel free to edit beyond this point -->
{{Infobox programming language
{{Infobox programming language
| name                  = MoonScript
| title = MoonScript
| logo                  =
| developer = Leaf Corcoran
|paradigm=[[Multi-paradigm]]: [[scripting language|scripting]], [[imperative programming|imperative]] ([[procedural programming|procedural]], [[prototype-based programming|prototype-based]], [[object-oriented programming|object-oriented]]), [[functional programming|functional]]
| latest release version = 0.5.0
| year                  = {{Start date and age|2011|12|11}}
| latest release date = Sep 26, 2016
| designer              = Leaf Corcoran
| influenced by = [[CoffeeScript]]
| developer             = Leaf Corcoran
| programming language = [[Lua]]
| latest_release_version = 0.5.0
| license = [[MIT License]]
| latest_release_date    = {{Start date and age|2015|9|25}}
| website = https://moonscript.org/
| 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              =
}}
}}
'''MoonScript''' is a [[Dynamic programming language|dynamic]], [[Whitespace character|whitespace]]-sensitive [[scripting language]] inspired by [[CoffeeScript]], which [[Compiler|compiles]] into [[Lua (programming language)|Lua]]. This means that instead of using <code>do</code> and <code>end</code> (or <code>{</code> and <code>}</code>) to delimit sections of code it uses [[Line break (computing)|line breaks]] and [[indentation style]].<ref>{{Cite web|title=Language Guide - MoonScript 0.5.0|url=https://moonscript.org/reference/|access-date=2020-09-25|website=moonscript.org}}</ref><ref>{{Citation|last=leaf|title=leafo/moonscript|date=2020-09-23|url=https://github.com/leafo/moonscript|access-date=2020-09-25}}</ref> A notable usage of MoonScript is a video game distribution website [[Itch.io]].


{{stub}}
== References ==
{{reflist}}


'''MoonScript''' is a [[cross-platform]], dynamic, scripting [[programming language]] which [[source-to-source compiler|transcompiles]] into [[Lua (programming language)|Lua]]. MoonScript was designed as an alternative to Lua, maintaining its speed and portability, while introducing several new [[object-oriented programming|object-oriented]] constructs, such as table comprehension, implicit return on functions, [[class (computer programming)|classes]], [[Inheritance (object-oriented programming)|inheritance]], scope management statements, and reducing keyword noise compared to Lua.<ref>{{cite web |title=MoonScript, a language that compiles to Lua |url=http://moonscript.org |website=MoonScript |accessdate=20 February 2019}}</ref>
[[Category:Scripting languages]]


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 game|indie video games]].<ref>{{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}}</ref> 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. <ref>{{cite web |title=MoonScript |url=https://itch.io/t/56936/moonscript |website=itch.io |publisher=Nesbox |accessdate=20 February 2019}}</ref>
{{prog-lang-stub}}
 
== References ==
{{reflist}}
{{Source Wikipedia}}
{{Source Wikipedia}}

Revision as of 08:57, 27 September 2020


MoonScript
DeveloperLeaf Corcoran
Stable release
0.5.0 / Sep 26, 2016
Implementation languageLua
LicenseMIT License
Websitehttps://moonscript.org/
Influenced by
CoffeeScript

Search MoonScript on Amazon.

MoonScript is a dynamic, whitespace-sensitive scripting language inspired by CoffeeScript, which compiles into Lua. This means that instead of using do and end (or { and }) to delimit sections of code it uses line breaks and indentation style.[1][2] A notable usage of MoonScript is a video game distribution website Itch.io.

References

  1. "Language Guide - MoonScript 0.5.0". moonscript.org. Retrieved 2020-09-25.
  2. leaf (2020-09-23), leafo/moonscript, retrieved 2020-09-25


This article "MoonScript" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:MoonScript. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.