DEV Community

Cover image for MiniScript v1.6.1
JoeStrout
JoeStrout

Posted on

MiniScript v1.6.1

I'm pleased to announce the release of version 1.6.1 of MiniScript, the clean, modern scripting language used in Mini Micro and many other games and apps. In addition to the core language, we're also bumping command-line MiniScript to version 1.2.1, with fresh builds now available for Windows, Mac, and Linux.

MiniScript version 1.6 (and command-line MiniScript 1.2) came out in February of this year. Today's release is a bug-fix update that corrects five defects in the C++ version of the code, two of which also affect the C# version. The most serious of these was a logic error that caused the command-line REPL to execute the body of a for loop or if block as soon as it was entered, rather than waiting for the block to be closed. This would cause the then clause to execute even if the if condition was false!

Other fixes handle edge cases in map comparisons and single-line if statements, and improve output in a couple of cases. See the Release Notes for the details.

Concurrent with this update, we have also set up a MiniScript nuget package. This will make it much easier for C# developers to automatically include the latest version of MiniScript in their projects. Special thanks to community member TSR Berry, who did most of the work of setting this up and has been a tireless contributor to the Farmtronics project, as well as MiniScript in general.

This is a recommended update for all users — if you're embedding the C# or C++ version of MiniScript in your own project, please be sure to grab the latest! And if you're using command-line MiniScript, I highly recommend downloading the latest version of that.

And what if you're a Mini Micro user? ...In that case, tune in for more news tomorrow. 😁

Top comments (0)