//! `burn check` — parse-only, no execution. Matches `node --check`.
//!
//! Calls `Afterburner::register`, which routes through the combustor's
//! compile step. The wasm path runs the Javy plugin's `compile`
//! envelope — Javy parses the user source's wrapper *as an ES
//! module*, eagerly validating any `new Function(...)` constants
//! inlined into the module body. That's what surfaces syntactic
//! errors in the user's source text without executing the user code:
//! a bad source turns into a compile-time exception that maps to
//! [`AfterburnerError::CompileFailed`]. Runtime-only errors
//! (ReferenceError, TypeError) pass the check, same as Node.
use crateAfterburnerError;
use ;
use fs;
use PathBuf;
use Cli;
use build_afterburner;