Compiler Pipeline
CXSCompiler (compiler/CXSCompiler.js) is the cx3script CXSCOMPILER orchestrator. Everything below runs in order. Any hard error makes the result success: false: a failed contract check skips Desugar, and the later passes still run so you see every diagnostic at once, but a failed result is never deployed.
CX3VM wraps it as CX3ScriptCompiler: it applies that pipeline and emits CX3JS or CX3WASM artefacts from .cxs source (POST /compile).
---