MoonScript is a dynamic scripting language that compiles into Lua. It gives you the power of one of the fastest scripting languages combined with a rich set of features. MoonScript can either be compiled into Lua and run at a later time, or it can be dynamically compiled and run using the moonloader. It’s as simple as requiring "moonscript" in order to have Lua understand how to load and run any MoonScript file. Because it compiles right into Lua code, it is completely compatible with alternative Lua implementations like LuaJIT, and it is also compatible with all existing Lua code and libraries. The command line tools also let you run MoonScript directly from the command line, like any first-class scripting language.

Features

  • MoonScript provides a clean syntax using significant whitespace
  • It also adds table comprehensions, implicit return on functions, classes, inheritance, etc.
  • Scope management statements import & export
  • Documentation available
  • Convenient object creation statement called with
  • It can be loaded directly from a Lua script without an intermediate compile step

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow MoonScript

MoonScript Web Site

Other Useful Business Software
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MoonScript!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Lua

Related Categories

Lua Programming Languages

Registered

2024-07-16