Today we celebrate the official release of version 2.0 of the MiniScript programming language!
Download MiniScript 2 here!
This is a complete rewrite, from the ground up, focused primarily on performance. The results do not disappoint: MiniScript 2 clocks in at 45X - 50X faster on some benchmarks, with an average of 10X - 15X faster across the board.
It also brings some cool language improvements, including:
- Better error handling
- Frozen lists and maps
- Computed lists
- Mark-and-sweep garbage collection, even in C++
Today's release includes a new & improved command-line build for Linux, Windows, Mac, and any .NET platform. This can be used interactively, with a powerful REPL (Read-Eval-Print Loop) that lets you reference earlier inputs and outputs; or it can be used to create scripts and programs to run from the command line. Those can include sophisticated terminal control, enabling interactive text user interfaces like this:
That's one of the examples included with the download; another one is a modern port of the classic "Super Star Trek" game:
But MiniScript 2 is not just for fun and games! The command-line environment includes full support for manipulating files and data, both text-based and binary; executing shell commands; reading the shell arguments; parsing JSON data; and more. Automate your workflows with a clean, modern scripting language that is a joy to read and write.
MiniScript 2.0 is the cornerstone of the 2026 MiniScript Road Map, and I'm delighted to say that it is shipping right on schedule. Meanwhile, we've made great progress in parallel on both raylib-miniscript and Mini Micro 2... so download MS2 now, and then stay tuned for more exciting news in the coming weeks!


Top comments (5)
Congratulations on this important update! First I was impressed by the massive performance gain (and still am) but then I started reading about "what's new" and I find many of the changes also very positive as well!
Now ... what does this mean for MiniMicro 2? ;-) (asking for a friend :-D)
Mini Micro 2 is well underway! It will be faster, and benefit from better error handling and all the other new goodies in MiniScript 2. :)
I have some questions from the respective documents ...
1) Regarding errors ... what counts as "catching" an error. The guide says that an uncaught error will be propagated, but I don't understand how one catches an error. Also, does it mean that I can expect an error value from any function (because they might propagate uncaught errors), or just functions that document that they explicitly might return an error type?
2) The embedding guide is "what's new related to how embedding MiniScript 1.x was" ... I miss a guide for users which never dealt with MS1 ... I mean: how to embed MS2 from start to finish, disregarding how it was in MS1. Would that be a good idea?
And a final bonus question:
3) The Star Trek demo you are showing in this post ... is a command-line app, right? But ... how did you manage for it to have the MiniMicro font? (ah, I remember now that the font is available as TTF in the MM2 repo right?)
Good questions! Sorry for the late reply.
1) Catching an error means assigning it to a variable, or passing it to a function, or otherwise doing something with it. Maybe it's easier to explain what it means to not catch an error:
An error is uncaught if the statement as a whole evaluates to that error, or if it is used (by itself) as a condition in an
iforwhilestatement. So if you just callfile.move src, dest, and that function returns an error, then the error is the value of the whole statement — you didn't catch it, so it will terminate your program and print the error. But if you doresult = file.move(src, dest), then you've caught it; this line will not terminate your program, but instead will store the result (whether an error or otherwise) inresult. You can check for that withif result isa error then. But if for some reason you instead didif result then, andresultheld an error, that too would terminate.2) Yes, absolutely, such a guide is on my to-do list. I just didn't want to hold up the release for it, and I guess that initial users will mostly be people upgrading from MS1.
3) Yep, that's a command-line app. But that's not the Mini Micro font; my terminal font is called "ProFont IIx". (But yes, the Mini Micro font is also available as a TrueType font if you want it!)
Congratulations Joe! Excited to see this one out in the wild now!