Backends

Antimony currently implements a JavaScript backend, but C and QBE backends are in development. WASM, ARM and x86 are planned.

Backend can be specified when running on building with --target (-t) option, default is js:

sb -t c build in.sb --out-file out

Available Backends

Target LanguageIdentifierStability notice
Node.jsjsmostly stable
QBEqbework in progess
LLVMllvmunstable
Ccunstable

LLVM also requires to enable llvm feature when building:

cargo build --features llvm