Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mossprescott committed Mar 25, 2024
1 parent 8f2d85f commit 5e846fc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions alt/scheme/test_rvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,20 +406,6 @@ def run_to_halt(program, interpreter, max_cycles=200000, simulator="codegen"):

instrs, symbols, stack_loc, pc_loc, next_rib_loc, interp_loop_addr, halt_loop_addr = rvm.assemble(encoded, interpreter, True)

# asm = AssemblySource()

# if interpreter == "assembly":
# asm = rvm.asm_interpreter()
# elif interpreter == "jack":
# asm = rvm.jack_interpreter()

# rvm.decode(encoded, asm)

# instrs, symbols, _ = big.assemble(asm.lines, min_static=None, builtins=rvm.BUILTINS)

# for k, v in symbols.items():
# print(k, v)

computer = nand.syntax.run(big.BigComputer, simulator=simulator)

computer.init_rom(instrs)
Expand Down

0 comments on commit 5e846fc

Please sign in to comment.