Technologies · ShipMB

ShipMB.

ShipMBLang compiles plain English directly to ShipMBLang bytecode, not native code, and runs it on your machine. The current package is 0.10.0. It comes with a bundled compiler, a language server (shipmblang lsp) for IDEs such as OpenIDEA, and native vision support. The zips need no Python install.

What it does

You write a program in plain English, using the grammar ShipMB supports, and ShipMBLang compiles it directly to ShipMBLang bytecode, not native code, and runs it locally. This build uses grammar general-english-0.21. That grammar includes 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

What's new in 0.10.0

  • Modules: split a program across files with lines like Use the module geometry from "geometry.smb"., sharing names with Share, Export, Expose, Provide or Make available.
  • A standard library.
  • Running tasks at the same time.
  • Calling outside C, Rust or Python functions.

Also included

  • 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 x64, with no Python install.
  • Portable Linux zip: one self-contained executable for x86_64 Linux, 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

Version 0.10.0 for Windows x64, about 19.6 MiB (20,511,236 bytes). The download comes from the GitHub release (access required).

SHA-256: 39ec67619f2d7d95701948e10388e3a56f646484904750a1666a081d503d0808

To check the file, run this in PowerShell and compare the hash (PowerShell prints it in uppercase):

Get-FileHash .\shipmblang-0.10.0-windows-x64.zip -Algorithm SHA256

Unzip it anywhere and run shipmblang.exe. No Python install needed. Model weights are not in the zip.

shipmblang.exe --version
shipmblang.exe program.shipmb --format text

Portable Linux zip

Version 0.10.0 for Linux x86_64, about 32.8 MiB (34,394,060 bytes). The download comes from the GitHub release (access required).

SHA-256: c4a3278d506449770d10087e907e426046507d3ec876b6ecd62c394b14a446c6

To check the file, run this and compare the hash:

sha256sum shipmblang-0.10.0-linux-x64.zip

Unzip it and run the executable. No Python needed. It is one self-contained executable with the language server and the vision library packed inside. The vision model weights (about 1.3 GB) are not in the zip; shipmblang setup --vision downloads them once.

./shipmblang-0.10.0-linux-x64/shipmblang --version

If your unzip tool drops the executable bit, run:

chmod +x shipmblang-0.10.0-linux-x64/shipmblang

Requirements: x86_64 Linux. Built and smoke-tested on the GitHub ubuntu-latest runner; compatibility with older distributions has not been verified.

macOS

Coming later. There is no macOS release zip yet.

Standalone executable

Download shipmblang.exe (Windows) or shipmblang (Linux, macOS) from a successful run of the Standalone executable workflow (access required). 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.

# Request source access before installation
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 Linux, use a runtime compatible with the ubuntu-latest build.
  • On Windows the weight files are stored in %LOCALAPPDATA%\shipmblang\vision. SHIPMB_VISION_MODEL_DIR overrides that folder.
  • Vision is optional. The vision model weights (about 1.3 GB) are not in the zip; run shipmblang setup --vision once to download and check them. Disk use after setup is about 2.4 GB.
  • 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

Standalone release packages, version 0.10.0
Windows x6420,511,236 bytes zipped (about 19.6 MiB)
Linux x6434,394,060 bytes zipped (about 32.8 MiB)
PythonNot required
Vision model weightsAbout 1.3 GB (not in the zip)

These portable builds do not require a Python install. Vision model weights and external tools are downloaded separately during setup.

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.