3 releases

0.8.2 Sep 22, 2024
0.8.1 Sep 10, 2024
0.8.0 Sep 10, 2024

#463 in Embedded development

Download history 212/week @ 2024-09-07 64/week @ 2024-09-14 184/week @ 2024-09-21 20/week @ 2024-09-28 6/week @ 2024-10-05 1/week @ 2024-10-12

130 downloads per month

Custom license

175KB
3K SLoC

crates.io docs.rs GitHub Actions Workflow Status GitHub last commit GitHub License

MoonScript is a very basic scripting language for simple scripting with some syntax based on Rust's, the idea of MoonScript it's for those writing MoonScript to find themselves scripts in the simplest manner possible while still boosting performance.

If you want a tour on MoonScript, feel free to check the web book out!

Features

  • std (Default): MoonScript will target the Standard library, implementing the Error trait on error types and using Sync with std::sync mechanisms where possible.
  • colorization (Default): Parsing errors will get colorized when printing them in the terminal.
  • medium_functions: Functions added to an Engine can be up to 16 parameters, instead of 8.
  • big_functions: Functions added to an Engine can be up to 24 parameters, instead of 8.
  • massive_functions: Functions added to an Engine can be up to 40 parameters, instead of 8.

Dependencies

~2–13MB
~100K SLoC