当前位置: 首页 > 工具软件 > MoonScript > 使用案例 >

MoonScript

邓禄
2023-12-01
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.

See Lua
class Thing
  name: "unknown"

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

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

 类似资料:

相关阅读

相关文章

相关问答