Parsing simple program