[][src]Function nand2tetris_hdl_parser::parse_hdl

pub fn parse_hdl(text: &str) -> Result<Chip, HDLParseError>

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