[antlr-interest] Is there a COBOL grammar in Antlr?
Dmitry Goldenberg
dmitry.goldenberg at weblayers.com
Fri Sep 21 07:13:17 PDT 2007
Folks,
I was just wondering if anyone is aware of a COBOL grammar in Antlr. I found a post from a while ago (see below), have there been any changes? GOLD's grammar is cool but it's about 950 rules to convert. Is there an automatic way to convert from BNF to Antlr?
Thanks for any info.
- Dmitry
Bryan Ewbank ewbank at gmail.com <mailto:antlr-interest%40antlr.org?Subject=%5Bantlr-interest%5D%20Is%20there%20a%20Cobol%20Grammar%20in%20Antlr%3F&In-Reply-To=20050406144947.98637.qmail%40web52802.mail.yahoo.com>
Wed Apr 6 13:07:11 PDT 2005
* Previous message: [antlr-interest] Is there a Cobol Grammar in Antlr? <http://www.antlr.org/pipermail/antlr-interest/2005-April/011761.html>
* Next message: [antlr-interest] antlr help <http://www.antlr.org/pipermail/antlr-interest/2005-April/011762.html>
* Messages sorted by: [ date ] <http://www.antlr.org/pipermail/antlr-interest/2005-April/date.html#11769> [ thread ] <http://www.antlr.org/pipermail/antlr-interest/2005-April/thread.html#11769> [ subject ] <http://www.antlr.org/pipermail/antlr-interest/2005-April/subject.html#11769> [ author ] <http://www.antlr.org/pipermail/antlr-interest/2005-April/author.html#11769>
________________________________
COBOL has a grammar?? If you have an LALR, you can find information
on LALR->LL conversion on the web, here:
[1] http://www.google.com/search?q=LALR+LL+conversion
which leads to a few (strangely, ANTLR-centric :-) web pages:
[2] http://www.javadude.com/articles/lalrtoll.html
[3] http://www.zenspider.com/Languages/PCCTS/LR2LL.html
On Apr 6, 2005 10:49 AM, Fan Yang <fanyang_32 at yahoo.ca <http://www.antlr.org/mailman/listinfo/antlr-interest> > wrote:
> Hi,
>
> I'm working on a project which need Cobol grammar.
> After research on antlr website and antlr archives, I
> didn't find it although long time ago several persons
> talked about it.
>
> I know that the Gold Parser has a Cobol grammar(LALR),
> is it possible to convert it to antlr? Is there a
> Cobol grammar in Antlr? May I get a version in any
> changes? Or Can somebody point me to somewhere I can
> get useful information about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070921/509519d6/attachment-0001.html
More information about the antlr-interest
mailing list