swift-parsing icon indicating copy to clipboard operation
swift-parsing copied to clipboard

Possible to generate EBNF from a parser?

Open jessegrosjean opened this issue 5 months ago • 0 comments

I have a parser, now I'm wondering if I can generate EBNF from this parser.

I realize that the generation will be imperfect because of possibly of custom code, but it seems like the information is there to generate most of the high level structure, I'm just not sure how to extract it in a systematic way.

Anyone have thoughts or pointers on how I might do this?

jessegrosjean avatar Jun 13 '25 11:06 jessegrosjean