Documentation

LeanPool.MRiscX.Elab.CodeElaborator

CodeElaborator #

This module provides the elaborator turning MRiscX assembly syntax into Code.

Elaborate a single parsed instruction into the Expr of its Instr value.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Elaborate an array of parsed instructions into an array of Instr expressions.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Create a tuple holding a label and the expressions of its instructions.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Build the LabelMap of an assembly block by assigning each label its index.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Elaborate a full mriscx ... end block into the Expr of its Code value.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Term elaborator turning a mriscx ... end assembly block into its Code value.

            Equations
            Instances For

              Term elaborator turning a single bracketed instruction specification ⟪i⟫ into the Expr of its Instr value.

              Equations
              Instances For