You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
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:
Cargo nightly: Rust compiler with nightly features enabled
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.