Technologies · ShipMB

ShipMB.

ShipMBLang runs natural-language programs from a .shipmb file, compiled and run on your machine. The current package is 0.6.0.

What it does

You write a program in English, using the grammar ShipMB supports, and ShipMBLang compiles it and runs it locally. Grammar general-english-0.11 adds Otherwise if, Repeat N times, Append ... to a list, # comments, divided by, and What is ...? on the general profile.

grammar.shipmb
Let n be 2.
If n is equal to 1 then:
Show 1.
Otherwise if n is equal to 2 then:
Show 2.
Otherwise:
Show 0.
End the condition.
Repeat 2 times:
Show 1.
End the loop.
Let numbers be a mutable list of integers.
Append 4 to numbers. # keep 4
Show numbers.
What is 8 divided by 2?
shipmblang grammar.shipmb --format text prints
2
1
1
[4]
4

New in 0.6.0

  • Native vision: MiniCPM-V 4.6 runs inside the shipmblang process. shipmblang setup --vision installs it.
  • Portable Windows zip: a folder you unzip on Windows 10 or 11 x64, with no Python install.
  • Standalone executable: one file compiles and runs programs with no Python install.
  • shipmblang setup: installs missing Rust, FFmpeg (with ffprobe), VLC, and Ollama from their official sources.
  • Media duration: Probe "clip.mp4" and show the duration. compiles. Running it needs FFmpeg and ffprobe.
  • Notebook and editors: shipmblang notebook opens saved notes as chat rooms, and shipmblang lsp gives editors diagnostics, hover, and compile/run.

Install and set up

Portable Windows zip

There is no release download for the zip yet. Build it on a Windows x64 machine from a checkout of the repository:

python tools/build_portable.py

This writes dist/shipmblang-0.6.0-windows-x64.zip. Unzip it anywhere and, if you like, add the folder to PATH. Model weights are not in the default zip.

Standalone executable

Download shipmblang.exe (Windows) or shipmblang (Linux, macOS) from a successful run of the Standalone executable workflow. Then run the installer from the unpacked artifact:

powershell -ExecutionPolicy Bypass -File .\install.ps1

On macOS or Linux, run ./install.sh. The installer asks once before it installs anything.

Python

For development and a source checkout. You need Python 3.11+ and Git.

git clone https://github.com/qramarq/shipmblang.git
cd shipmblang
python -m pip install .

First run

Save Show 27. as hello.shipmb, then run:

shipmblang --version
shipmblang hello.shipmb --format text

That prints 27. shipmblang setup --check only reports which tools are missing.

Native vision on Windows

Native vision runs MiniCPM-V 4.6 inside the shipmblang process. There is no separate server, and after setup a vision program does not use the network.

shipmblang setup --vision
  • Setup downloads two files from Hugging Face (openbmb/MiniCPM-V-4.6-gguf), checks each size and SHA-256, then quantizes the projector on your machine with llama-quantize.
  • On Windows the weight files are stored in %LOCALAPPDATA%\shipmblang\vision. SHIPMB_VISION_MODEL_DIR overrides that folder.
  • shipmblang setup --vision --check reports what is missing without downloading anything.
  • Images can be PNG, JPEG, GIF, or BMP. Write paths with forward slashes. An answer uses at most 16 tokens, so a longer sentence can stop early.
  • The Windows x64 build uses Visual Studio 2022 (or Build Tools) with the MSVC x64 toolset and the static C runtime.
  • The latency target is a warm 95th percentile under 2 seconds.
photo.shipmb
Look at "C:/Users/me/photo.png" and tell me what is in it.

Run it with shipmblang photo.shipmb --format text. Linux is verified, Windows x64 is supported, and macOS comes later.

Size and requirements

Portable Windows zip (sizes measured on Windows 11)
Operating systemWindows 10 or 11, x64
PythonNot required
Visual C++ redistributableNot required (the runtime DLLs are in the zip; the Universal CRT is part of Windows 10 and later)
shipmblang-0.6.0-windows-x64.zip16.4 MB (35.4 MB unzipped)
Model weights, first-run download1.64 GB
Model weights on disk after setup2.36 GB
Total disk use after setup2.4 GB
Vision answer timeMedian 1284 ms, nearest-rank p95 1420 ms (uncached, portable executable, measured on one Windows 11 laptop: Ryzen AI 7 350)

The Tk notebook window and shipmblang editor are not in the portable zip. Notes stored in sqlite still work.

License

Copyright 2026 ZMachinery LLC. Licensed under the Apache License, Version 2.0. The MiniCPM-V weights are Apache-2.0 and llama.cpp is MIT.