Expand description
parser for nand2tetris HDL
Structs§
- Chip
- A type that represents a chip
- HDLParse
Error - 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