Skip to content

About

Version 2 of the MiniScript language (including official C# and C++ versions)

Resources

Security policy

Stars

53 stars

Watchers

2 watching

Forks

Latest commit

 

History

370 Commits

Folders and files

Repository files navigation

MiniScript 2.0

MiniScript 2.0 is a complete rewrite of the MiniScript language. It is the cornerstone of the 2026 MiniScript Road Map. For MiniScript 1.x source code, see here.

MiniScript 2.0 is developed in C# and transpiled to C++ for production performance. The VM uses 32-bit fixed-width instructions and supports computed-goto dispatch on supported compilers. Thanks to a performance-first design throughout, MiniScript 2 is up to 45X faster than MiniScript 1. It also includes some nice new language features, including a new error type and frozen (immutable) lists and maps.

See What's New in MiniScript 2 (also available in PDF form) for details on what has changed since MiniScript 1.x.

Download a Pre-Built Binary

Command-line MiniScript is available as a binary for Windows, Linux, and Mac, as well as a C# version that can be used on any .NET system. Go to the Releases page to find the latest .zip or .gz achieve for your platform.

Building

tools/build.sh cs         # Build C# only
tools/build.sh transpile  # Generate C++ code from C# code
tools/build.sh cpp        # Build C++ only
tools/build.sh all        # Build everything (C#, transpile, C++)
tools/build.sh test       # Run smoke tests

Installing & Running

Building this project directly results in command-line MiniScript, documented here. Put the executable somewhere in your PATH, with the lib folder next to it, and you should be all set.

Related Projects

Sponsor Me!

MiniScript is free, and apart from a small amount of revenue from the books and Unity asset, generates no significant income. Your support is greatly appreciated, and will be used to fund community growth & reward programs like these.

So, click here to sponsor -- contributions of any size are greatly appreciated!

Star History

Star History Chart

Click the ⭐️ at the top to help push this graph up! Every like helps more people discover MiniScript, and keeps me motivated to push it forward every day!

About

Version 2 of the MiniScript language (including official C# and C++ versions)

Resources

Security policy

Stars

53 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages