Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Compiling a Voila script

Guillem Jara edited this page Dec 29, 2021 · 4 revisions

Even though Voila scripts are interpreted, it's possible to compile them in a single binary, so you can quickly deploy them in multiple (virtual) machines, containers, etc. It's as easy as passing --compile to the CLI tool. After compiling your script, you'll find your binary in your local directory, named compiled_voila.

Note that you'll need these dependencies:

Disclaimer: It's not a real compiler, but the interpreter embedded with the AST (your code) in a separated binary, but for practical purposes it doesn't matter.

Clone this wiki locally