MoonScript

Software Screenshot:
MoonScript
Software Details:
Version: 0.4.0 updated
Upload Date: 9 Feb 16
Developer: Leaf Corcoran
Distribution Type: Freeware
Downloads: 6

Rating: 5.0/5 (Total Votes: 1)

MoonScript was inspired by CoffeeScript and is one of the fastest to-Lua compilers around.

MoonScript code can be compiled at runtime or at a peculiar time and have the code executed later.

What is new in this release:

  • Added continue keyword for skipping the current iteration in a loop.
  • Added string interpolation.
  • Added do expression and block.
  • Added unless as a block and line decorator. Is the inverse of if.
  • Assignment can be used in an if statement's expression.
  • Added or= and and= operators.
  • @@ can be prefixed in front of a name to access that name within self.__class
  • @ and @@ can be used as values to reference self and self.__class.
  • In class declarations it's possible to assign to the class object instead of the instance metatable by prefixing the key with @.
  • Class methods can access locals defined within the body of the class declaration.
  • Super classes are notified when they are extended from with an __inherited callback.
  • Classes can now implicitly return and be expressions.
  • local keyword returns, can be used for forward declaration or shadowing a variable.
  • String literals can be used as keys in table literals.
  • Call methods on string literals without wrapping in parentheses: "hello"\upper!
  • Table comprehensions can return a single value that is unpacked into the key and value.

What is new in version 0.3.2:

  • Added continue keyword for skipping the current iteration in a loop.
  • Added string interpolation.
  • Added do expression and block.
  • Added unless as a block and line decorator. Is the inverse of if.
  • Assignment can be used in an if statement's expression.
  • Added or= and and= operators.
  • @@ can be prefixed in front of a name to access that name within self.__class
  • @ and @@ can be used as values to reference self and self.__class.
  • In class declarations it's possible to assign to the class object instead of the instance metatable by prefixing the key with @.
  • Class methods can access locals defined within the body of the class declaration.
  • Super classes are notified when they are extended from with an __inherited callback.
  • Classes can now implicitly return and be expressions.
  • local keyword returns, can be used for forward declaration or shadowing a variable.
  • String literals can be used as keys in table literals.
  • Call methods on string literals without wrapping in parentheses: "hello"\upper!
  • Table comprehensions can return a single value that is unpacked into the key and value.

What is new in version 0.3.1:

  • Added continue keyword for skipping the current iteration in a loop.
  • Added string interpolation.
  • Added do expression and block.
  • Added unless as a block and line decorator. Is the inverse of if.
  • Assignment can be used in an if statement's expression.
  • Added or= and and= operators.
  • @@ can be prefixed in front of a name to access that name within self.__class
  • @ and @@ can be used as values to reference self and self.__class.
  • In class declarations it's possible to assign to the class object instead of the instance metatable by prefixing the key with @.
  • Class methods can access locals defined within the body of the class declaration.
  • Super classes are notified when they are extended from with an __inherited callback.
  • Classes can now implicitly return and be expressions.
  • local keyword returns, can be used for forward declaration or shadowing a variable.
  • String literals can be used as keys in table literals.
  • Call methods on string literals without wrapping in parentheses: "hello"\upper!
  • Table comprehensions can return a single value that is unpacked into the key and value.

Requirements:

  • Lua 5.1 or higher

Similar Software

CSS Crush
CSS Crush

10 Dec 15

PyPy.js
PyPy.js

4 Jun 15

HAML
HAML

10 Dec 15

Metalua
Metalua

13 May 15

Other Software of Developer Leaf Corcoran

Sticky-Kit
Sticky-Kit

10 Feb 16

lessphp
lessphp

13 Apr 15

scssphp
scssphp

10 Dec 15

Comments to MoonScript

Comments not found
Add Comment
Turn on images!