A Compiler for Peg