Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + func GenerateWebDisassembly(cob *scripting.COB) (string, error) + type Assembler struct + func NewAssembler() *Assembler + func (a *Assembler) Assemble(text string) (*scripting.COB, error) + type Disassembler struct + func NewDisassembler(instructions []scripting.Instruction, name string, codeOffset uint32) *Disassembler + func (dv *Disassembler) Render(format Format) string + type Format int + const Annotated + const Plain + type WebDisassemblyData struct + Header WebDisassemblyHeader + Scripts []WebDisassemblyScript + type WebDisassemblyHeader struct + CodeLength int + PieceCount uint32 + PieceNames []string + ScriptCount uint32 + StaticCount uint32 + StaticVars []string + Version uint32 + type WebDisassemblyScript struct + Index int + Instructions []WebInstruction + Jumps []WebJump + Name string + Offset uint32 + type WebInstruction struct + Description string + Index int + Offset uint32 + Opcode string + OpcodeHex string + Operand int32 + OperandHex string + type WebJump struct + FromIndex int + FromOffset uint32 + IsBackward bool + ToIndex int + ToOffset uint32 + Type string