no-std moon_script

Fast and simple scripting language based on Rust

3 releases

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

#801 in Parser implementations

Download history 220/week @ 2024-09-08 59/week @ 2024-09-15 185/week @ 2024-09-22 16/week @ 2024-09-29 7/week @ 2024-10-06

275 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