Tim
Tim

Reputation: 5691

How to parse a parsing expression grammar?

I can't seem to find the parsing expression grammar (PEG) of PEG itself.

How to parse a parsing expression grammar?

Note that this question is not about how to construct a recursive decent parser from a PEG, but rather for parsing a PEG.

Upvotes: 1

Views: 815

Answers (1)

Jay Kominek
Jay Kominek

Reputation: 8783

The PEG Paper ("Parsing Expression Grammars: A Recognition-Based Syntactic Foundation") includes the grammar for PEGs.

Upvotes: 1

Related Questions