AssemblySyntax #
This module provides the parser/grammar for MRiscX assembly syntax.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax category for a labelled block of MRiscX assembly instructions.
Equations
Instances For
Syntax category for a single MRiscX assembly instruction.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax category for a complete MRiscX assembly program (mriscx ... end).
Equations
Instances For
Syntax category for an MRiscX program body.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax category for an MRiscX operand: a numeral or a register/variable identifier.
Equations
Instances For
Syntax category for MRiscX Hoare-triple notation.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax category for a single-instruction MRiscX specification (⟪i⟫).
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Numeral operand syntax.
Equations
- mriscxNumOrIdent_ = Lean.ParserDescr.node `mriscxNumOrIdent_ 1022 (Lean.ParserDescr.const `num)
Instances For
Identifier (register/variable) operand syntax.
Equations
- mriscxNumOrIdent__1 = Lean.ParserDescr.node `mriscxNumOrIdent__1 1022 (Lean.ParserDescr.const `ident)
Instances For
Concrete syntax for the MRiscX la instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX li instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX mv instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX addi instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX inc instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX add instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX subi instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX dec instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX sub instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX xori instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX xor instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX lw instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX lw instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX sw instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX j instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX j instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX beq instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX beq instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bne instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bne instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bgt instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bgt instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX ble instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX ble instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX beqz instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX beqz instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bnez instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX bnez instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for the MRiscX PANIC! instruction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for a labelled block name: instr... of instructions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete syntax for a dotted labelled block .name: instr... of instructions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A complete MRiscX assembly program: a sequence of labelled instruction
blocks delimited by mriscx ... end.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Inject a parsed mriscx ... end block into the term language.
Equations
- term_ = Lean.ParserDescr.node `term_ 1022 (Lean.ParserDescr.cat `mriscxSyntax 0)
Instances For
Bracket notation ⟪i⟫ marking a single-instruction specification.
Equations
- One or more equations did not get rendered due to their size.