MoonScript

A programmer friendly language that compiles to Lua.

MoonScript is a dynamic scripting language that compiles intoLua. It gives you the power of the fastest scripting language combined with a rich set of features.

class Thing
  name: "unknown"

class Person extends Thing
  say_name: => print "Hello, I am", @name

with Person!
  .name = "Moonscript"
  \say_name!

原文地址:https://www.cnblogs.com/lexus/p/2245477.html