Initial commit of some prototyping code for PEG codegen