Expand description
Stage 1.4 dual-mode runtime dispatch.
Provides a single petri_run_net entry point that selects the WASM-native
executor or the native subprocess-based executor based on the
CLM_RUNTIME_BACKEND environment variable.
CLM_RUNTIME_BACKEND=wasm→ in-process WASM executor (cpn_wasm).- unset or any other value → native executor (
cpn::vm).
This is the bridge step toward full subprocess fallback removal.
Functions§
- petri_
run_ net - Run a Petri net topology, dispatching to the selected runtime backend.