Repository navigation
Mini 0.9.0
Mini 0.9.0 brings the LLVM API compiler and native REPL to experimental Windows x64 packages, and simplifies installation with a standalone PowerShell release installer.
Windows LLVM API and REPL
The Windows ZIP includes statically linked LLVM 18. mini build, mini run and mini test use the LLVM API by default; --backend c selects the C fallback. mini repl keeps declarations and values across inputs without replaying previous cells. No external LLVM SDK is needed to run the packaged compiler. Building native programs still requires Visual Studio's LLVM Clang toolset and Windows SDK.
Native Windows checks cover byte-identical stage 2/3 C, MIR, LLVM IR and object output; Unicode source and output paths; required PE runtime exports; JIT execution; session ownership and rollback; installed API/C backends; and REPL execution. The packaged LLVM license is included alongside Mini's license and notice.
Windows remains experimental. Threads and Windows sanitizer parity are not provided. The documented REPL input/runtime-exception limits and LLVM API debug-symbol limitation remain in effect. The Unix minic shell wrapper is not included in the Windows package; use mini.exe for projects.
Installation
Windows x64, in PowerShell 7:
curl.exe -fsSL https://raw.githubusercontent.com/HenrySchwerdt/mini/main/install.ps1 -o install-mini.ps1 && pwsh -File .\install-mini.ps1The installer verifies the release ZIP against SHA256SUMS, checks its paths and payload, and installs into a new directory. It refuses to overwrite an existing installation and leaves persistent PATH settings unchanged. The website's main page now shows both Windows and Unix setup commands.
Linux and macOS:
curl -fsSL https://raw.githubusercontent.com/HenrySchwerdt/mini/main/install.sh | shThe C source installer remains available; selecting -Backend llvm-api builds the Windows API compiler and REPL from source. Release archives are provided for Linux x64/arm64, macOS arm64 and Windows x64, together with the portable C bootstrap seed and SHA256SUMS.
All changes since v0.8.0
- Prepare 0.9.0 release notes and include the Windows LLVM license (893a480)
- Export built-in exception and array metadata for Windows ORC sessions (5722a57)
- Keep standalone program CRT separate from the LLVM compiler runtime (cc6d4e7)
- Validate PowerShell syntax before Windows builds and fix installer interpolation (dd48094)
- Export the Windows compiler runtime explicitly for ORC symbol lookup (1737f4c)
- Verify the Windows API source installer and prepare LLVM release packages (97eb266)
- Smoke the native API driver with its supported check command (90ca6cb)
- Add a standalone Windows release installer and homepage setup commands (b6ce426)
- Normalize custom CMake paths for the Windows API bootstrap (99787f8)
- Export the Mini runtime ABI without compiler-generated COFF constants (15ffc69)
- Sort Windows API compiler sources as explicit string arrays (36760de)
- Read the portable seed checksum manifest as text (603713e)
- Relocate the LLVM SDK DIA GUID library to the active Visual Studio (6e01bbe)
- Select clang-cl for both CMake probe languages on Windows (02ea852)
- Use 7-Zip for Windows LLVM SDK extraction with phase diagnostics (ea71336)
- Exercise installed Windows API default, C fallback and REPL (a092277)
- Use canonical LLVM target component names in CMake (32f37de)
- Port API compiler host operations and add Windows LLVM selfhost proof (2334e0d)
- Harden LLVM prefix acquisition and CMake probe configuration (e1de40c)
- Add cached Windows LLVM 18 API probe lane (7d8c481)