blob: 85bcc6707619e9594b7b70224fd9a11221e084a7 (
plain)
1
2
3
4
5
|
PyPEG2 is a parser-interpreter for Parsing Expression Grammars (PEGs).
PEGs look similar to context-free grammars (CFGs), except that the choice
operator always picks the first matching option. This allows for parsing
in linear time.
|