Cocolab
Cocolab is a sandbox environment for compiling manifests, simulating logic calls, and testing participant interactions with logics on MOI.
Cocolab [Compiles Manifest] → PISA Engine [Executes] → Cocolab [Displays Results]
note
Local PISA Engine has no persistent data (as of v0.7.0). All data (users, settings, storage) is lost when Cocolab ends.
Starting Cocolab
In the folder containing coco.nut:
| Command | Description |
|---|---|
coco lab init | Start with auto-setup (compile, register user, set sender) |
coco lab start | Start REPL only |
init is recommended for quick start — it compiles the logic, registers default_user, and sets it as the sender.
CLI Flags
| Flag | Description |
|---|---|
-c, --config | Specify config name from [lab.config.name] |
-e, --env | Override environment (default: main) |
coco lab start -c default -e main