I am trying to define the BNF of BNF. In other words, I am trying to define the meta-grammar of BNF. That is, a BNF grammar that is an instance of itself and can generate any other BNF grammar.

Any tips/hints/snippets would be highly appreciated!

Thank you!

Edit
Report