[][src]Crate nand2tetris_hdl_parser

parser for nand2tetris HDL

Structs

Chip

A type that represents a chip

HDLParseError

Error returned when HDL cannot be parsed

Part

A type that represents a part Internal pins are pins that match up to an input/output of the part - the first pin in a {}={} pair Internal pins are pins that match up to another part of the chip - the second pin in a {}={} pair

Pin

A type that represents a pin

Functions

parse_hdl

parse_hdl will consume text and return Result<Chip, Error> depending on if it can successfully be parsed