Aivar
Aivar

Reputation: 7022

Convert ANTLR grammar to Bison / EBNF

Is there a tool for converting an ANTLR grammar to a Bison grmmar?

Upvotes: 4

Views: 1402

Answers (1)

Jerry Coffin
Jerry Coffin

Reputation: 490358

I doubt it. Since ANTLR supports a broader class of grammars than Bison, it's only even possible for a subset of ANTLR grammars. At least from what I've seen, relatively few ANTLR grammars fit in the subset that could be directly converted to Bison.

Upvotes: 2

Related Questions