Basework of the parser for our editor