[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnubol: [leclay@ibm.net: Can I help?]



Tim,

I apologize for this late answer.  I’ve been down with a virus, cold/flu or
something.

Yes, I’d be glad to do code, and work  on bison and the grammar.  I’ve always
wanted a BNF definition of COBOL.  I’ll need some help though.  My COBOL is a bit
rusty.  Most of my recent COBOL/85 contracts have only involved maintenance.
I’ve not written a large COBOL program in a long time; and that more than likely
was COBOL/74.

I’ve done significant CICS work this decade.  However,  we used mainframe C.

I’ve found that there is always a confusion between syntax and  semantics when
doing a new grammar.  I’ve take  the lazy man's out;  If it's a production, it’s
syntax. If it’s a hack, it’s semantics.

I need to do yacc/bison, to keep from getting rusty.  Yacc projects are rare in
the Midwest.  However, they can be very lucrative.

I’m starting a graduate level course in object design/object modeling @ IIT,
Illinois Institute of Technology starting Jan 21.  I’ll find out if they can
teach an old dog a new trick.  I’m 60.

  Let me know what I can help you with.

Cheers,
Ralph

Tim Josling wrote:

> Ralph,
>
> Your help is welcome. You can have a look at recent discussion -
> follow the links to the mailing list archive from
> <http://www.gnu.org/software/cobol/>. You will see we are looking
> at two models for the grammar, one using bison (available from
> <http://timjosling.homepage.com>) and another using pccts.
>
> The bison grammar which I wrote has not been fully debugged, and
> only includes the cobol nucleus plus a few other odds and ends.
> It started as a test of concept - can you do a cobol grammar with
> bison? The answer appears to be "yes, provided you don't mind
> coding quite a few hacks, which are all documented at the start
> of the grammar.
>
> Any comments on the grammar would be welcome, and if you want to
> write some code for the project, we can help you pick a task. If
> you can give us some more material on where your skills lie
> (languages you know for example, would you be interested in doing
> some bison work).
>
> (A minor point but in my understanding the bison hairy parser
> supports the same grammars as bison simple, but as reentrant
> code. If you are just relying on the parser you either need
> hacks, lexer feedback, predicates or backtracking to parse cobol
> IMO.)
>
> We have a good amount of COBOL expertise, although more is always
> useful as there are so many platforms etc. I think the critical
> resource is people to write and test code. To that end I am
> looking at building a subset of COBOL in phase I so that people
> can write some of the runtime and maybe even the compiler (though
> not the core parser) in COBOL. This is discussed in the mailing
> list archives.
>
> Tim Josling
>
> > X-Accept-Language: en
> > To: tweedy@lusars.net
> > Subject: Can I help?
> >
> > Dear Ms Tweedy,
> >
> > Can I help?
> >
> > I've been doing COBOL, on & off, for 34 years.  Starting with COBOL B on
> > a 16k Honeywell H120 & 3 tape drives.  My COBOL class was on a Burroughs
> > B280 improved, with 4k & 4 tape drives.  I started writing COBOL when
> > you started your compile & hoped it'd be finished when you got back from
> > lunch.
> >
> > How's the BNF definition of the grammar coming along?  Are you using
> > Bison Simple, 1 look ahead token, or Bison Hairy, 2 look ahead tokens?
> > I've never attempted Hairy.
> >
> > I've also used yacc for around 6 years.  The primary project was a
> > compiler for the Advantis proprietary Call Management Language (CAMEL).
> > I've used it for various other smaller tools development projects.
> >
> > Regards,
> > Ralph Jones
> >
> > ----- End forwarded message -----
>
> --
> This message was sent through the gnu-cobol mailing list.  To remove yourself
> from this mailing list, send a message to majordomo@lusars.net with the
> words "unsubscribe gnu-cobol" in the message body.  For more information on
> the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.


--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.