Got a version of scanf working for the parser
This works better