///|
/// Stable JavaScript-facing entry point. Keep this thin so the core stays
/// usable from MoonBit, JS and (later) WASM hosts without duplicated logic.
pub fn run(source : String) -> String {
@relcore.run(source)
}
///|
pub fn run_markdown(source : String) -> String {
@relcore.run_markdown(source)
}
///|
pub fn compare(source : String) -> String {
@relcore.compare(source)
}
///|
/// Native/wasm builds need an entry point when `link` options are present.
/// The JS facade is the real product; this keeps `moon build --target all` green.
fn main {
()
}
///|
pub fn explain(source : String) -> String {
@relcore.explain(source)
}