[][src]Module emulator::parse

Parse 2i programs.

This module contains functions for parsing 2i programs.

Functions

read_program

Parse 2i programs in string representation into arrays of Instructions.

read_reachable_program

Parse 2i programs in string representation and return only the reachable instructions.