I'm happy to announce the release of Mini Micro version 0.4! This release adds a whole bunch of new file-related APIs, including:
view command for previewing any text file, MiniScript source file, image, or sound
File.writeLines for easily reading/writing a text file (or MiniScript source file)
File.open for detailed control over reading/writing a file, including random access to any position therin
and much more! We also fixed a little bug in the pixel display that could cause it to fail to display any drawing done immediately after setting a display to pixel mode for the first time.
In addition, we also gave the code editor a major update, with improved auto-indentation, and a nifty "shift-return" feature that inserts the correct block closer for the last block opener! For example, try typing
while true in the code editor, and then instead of just pressing Return, press shift-Return. This will insert a blank line, then
end while, and put the cursor on the blank line, ready for you to fill in the body. Works with any kind of block, including
So head over to https://miniscript.org/MiniMicro/ and grab the latest build for Mac or Windows (want Linux? Post here to let us know!). And be sure to get the version 0.4 Mini Micro Cheat Sheet too, which has been updated with all the latest goodies!