Milky2018/wasm_milkir/frontend does not have a README file

    TranslationContext

    Module-wide state shared while translating multiple function bodies.

    LowerError

    pub suberror LowerError {
    FunctionIndexOutOfRange(index~ : Int)
    TypeIndexOutOfRange(index~ : Int)
    NonFunctionType(index~ : Int)
    MissingCode(index~ : Int)
    UnsupportedNativeLowering(index~ : Int, reason~ : String)
    } derive(Eq,
    Debug
    )

    impl Show for LowerError

    LowerError::equal

    fn LowerError::equal(LowerError, LowerError) -> Bool

    LowerError::not_equal

    fn LowerError::not_equal(x : LowerError, y : LowerError) -> Bool

    LowerError::output

    fn LowerError::output(self : LowerError, logger : &Logger) -> Unit

    LowerError::to_string

    fn LowerError::to_string(self : LowerError) -> String

    translate_function

    fn translate_function(embedding_env :
    EmbeddingEnvironment
    , mod_ :
    Module
    , func_local_idx : Int, name? : String, memory_max_override? : Int?) ->
    Function
    raise LowerError

    Translate one module function through the canonical production frontend.

    translate_function_body

    Translate one decoded function body through the production Wasm frontend.

    translation_context_from_module

    fn translation_context_from_module(mod_ :
    Module
    , embedding_env :
    EmbeddingEnvironment
    , memory_max_override? : Int?, func_base? : Int, import_remap? : Array[Int]) ->
    TranslationContext

    Build the canonical production translation context for a decoded module.

    wasm_validation_context

    Build contextual contracts for validating the MilkIR emitted by ctx.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io