Module tis_100::parse [] [src]

Functions for parsing TIS-100 assembly code into instructions.

Structs

ParseOpcodeError

An error which can be returned when parsing an opcode.

Enums

Opcode

The opcode component of a TIS-100 instruction.

ParseProgramError

An error that can be returned while parsing a TIS-100 assembly program.

Functions

parse_program

Parse the program source code into a list of instructions. If one or more errors are encountered during parsing, then the list of errors will be returned instead.

Type Definitions

ProgramErrors

All errors discovered while parsing a TIS-100 assembly program.