Simple parser for G-code (CNC language).