PEG(1) PEG(1) NAME peg, leg - parser generators SYNOPSIS peg [-hvV -ooutput] [filename ...] leg [-hvV -ooutput] [filename ...] DESCRIPTION peg and leg are tools for generating recursive-descent parsers: pro- grams that perform pattern matching on text. They process a Parsing Expression Grammar (PEG) [Ford 2004] to produce a program that recog- nises legal sentences of that grammar. peg processes P