Tom Copeland's Recent Posts

RSS Feeds

« A nice little RubyForge user interface tweak | Main | A PMD analysis of Azureus and Columba »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e200e55070a4e98834

Listed below are links to weblogs that reference A JavaCC grammar for Cobol:

» COBOL isn't dead, it just smells funny from David Herron's Blog
I was thinking the other day - what with the Visual Basic compiler for Java, it would make sense for there to be a COBOL compiler for Java. That way we could draw on yet another large body of software... [Read More]

Comments

Hi Tom,

I just purchased your javacc book, specifically because I need to learn more about javacc so I can use this cobol grammar that you reference in your blog better.

I'm building a Cobol debugger (Yeah, what fun, I'm a lunatic...), and I need to extend that cobol grammar to support embedded CICS commands and embedded SQL. I fiddled around with the grammar, but I just don't understand javacc yet, so I didn't get that far. Any chance you might be able to send me an electronic version of the book so I don't have to wait for the paper copy? I can email you a copy of my receipt if you'd like.

Thanks!

jr

Calphool!! We need to talk!

I am also trying to extend the cobol grammer to support CICS calls, and SQL, and well as some other company standard things. I'm trying to make semantic searching though not a debugger, more for Impact Analysis..

Problem is I'm running into a problem when I run across an all letters cobol word.. DFHRESP fails.. If I change it to DFHRESP1 or DFHRESP-A it gets past it..

I thought for sure...

| )*)*
(["0"-"9"])* ["a"-"z"] ( ["a"-"z","0"-"9"] )*
( ()+ (["a"-"z","0"-"9"])+)*
>

Catered to all text, no numbers or minus/letters..

@ultimav, shoot me an email at tom@infoether.com if you want to work through it, always happy to see new JavaCC grammar stuff!

The comments to this entry are closed.