|Request: COBOL grammar in ANTLR email@example.com (1993-09-09)|
|Re: Request: COBOL grammar in ANTLR firstname.lastname@example.org (1993-09-21)|
|Re: Request: COBOL grammar in ANTLR email@example.com (1993-09-21)|
|From:||firstname.lastname@example.org (Josef Grosch %Dec95%)|
|Organization:||GMD Forschungsstelle Karlsruhe|
|Date:||Tue, 21 Sep 1993 10:29:29 GMT|
email@example.com (Jay K. Joiner) writes:
>Request pointers for a grammar for COBOL (full language) for the
>ANTLR compiler-compiler of the Purdue Compiler Construction Tool Set?
I have something similar: A grammar for COBOL for the parser generator LALR
of Cocktail, the Karlsruhe Compiler Construction Tool Box. It is not for free.
And our moderator added:
>[ ... I'd think it'd be straightforward but tedious to
>create one. The enormous set of reserved words blows away a lot of parser
In my experience it is much more than tedious. It took me several weeks to
resolve all the ambiguities and the LR conflicts contained in the language
standard. The resulting grammar is still LR(2).
Return to the
Search the comp.compilers archives again.