[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU-COBOL] grammar
I have stumbled upon your project in my search for a lexical analyzer and
grammar for Cobol. I commend your efforts, but I have a different need
entirely.
I am attempting to create some tools that require a "lex/yacc"
analyzer/grammar for Cobol, so I can create some output regarding the
structure of the program.
What I am wondering is: do you have the grammar sufficiently along, so I can
either use/expand it, or complete it for my purposes. Also, what "yacc"
tool are you using? I'm sure the standard bison, etc. tools won't work, as
it appears Cobol will require a LALR(3)/(4) parser, at least. I have access
to Holub's tool (which I know isn't GPL or public domain), but I think it
will handle this complexity. I've also stumbled on btyacc, that sounds like
it might handle the job. So, to cut this short, is the current source
accessible and sufficiently far enough along for some use now? If so, how
may I access it.
I am using AcuCobol, so while it supports ANSI standard Cobol, it also
supports several other 'flavors' and has some extensions of it's own - so
I'm sure I will have to add a few things here and there.
--
This message was sent through the gnu-cobol mailing list. To remove yourself
from this mailing list, send a message to majordomo@acm.cs.umr.edu with the
words "unsubscribe gnu-cobol" in the message body. For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@acm.cs.umr.edu.