wrote a janky SPICE parser