OverviewTypeScriptKotlinPython

Python

Write a small numeric program in Python. zlow compiles it to a native binary — no interpreter, no mypyc, no Cython. Anything we don't support yet gets a clear error, not a guess.

Project setup

zlow.json in the project root names the language and entry file:

JSON
{ "language": "python", "entry": "src/main.py" }

native

Terminal
zlow native .                       # zlow.json in the current dir
zlow native src/main.py --emit-llvm out.ll