moreati / ppeg

A Python port of Lua's LPeg pattern matching library
MIT License
6 stars 2 forks source link

P.Grammar(): Auomatically infer the start rule when it is safe #14

Open moreati opened 8 years ago

moreati commented 8 years ago

e.g. P.Grammar(foo=...) is obvious since there is only a single rule