Skip to content
  • pcapriotti's avatar
    Bytecode assembler refactoring. · f8d48821
    pcapriotti authored
    Use a free monad to specify the assembling procedure, so that it can be
    run multiple times without producing side effects.
    
    This paves the way for a more general implementation of variable-sized
    instructions, since we need to dry-run the bytecode assembler to
    determine the size of the operands for some instructions.
    f8d48821