Curlee’s execution model is:
curlee check
curlee run
Curlee’s VM is designed to be deterministic (see Glossary): given the same bytecode and inputs, it produces the same results.
Execution is resource-bounded via a fuel budget (see Glossary). When fuel is exhausted, the VM halts deterministically.
By default, the CLI uses a fixed deterministic fuel budget (10000) when running bytecode.
10000
You can override it:
curlee run --fuel <n> <file.curlee>
If fuel is exhausted, curlee run fails with a runtime error message that includes out of fuel.
out of fuel
Runtime failures include an error message and (when available) a source span (see Glossary) derived from opcode span mapping.
There was an error while loading. Please reload this page.