Columns in flex.

Regan Russell <Regan.Russell@jcu.edu.au>
Mon, 23 Jan 1995 01:09:35 GMT

          From comp.compilers

Related articles
Columns in flex. Regan.Russell@jcu.edu.au (Regan Russell) (1995-01-23)
Re: Columns in flex. C.A.Elliott@dcs.warwick.ac.uk (1995-01-27)
Re: Columns in flex. c1veeru@watson.ibm.com (Virendra K. Mehta) (1995-01-27)
Re: Columns in flex. robertsw@agcs.com (1995-01-27)
Re: Columns in flex. schrod@iti.informatik.th-darmstadt.de (1995-01-31)
Re: Columns in flex. flisakow@cs.wisc.edu (1995-01-28)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Regan Russell <Regan.Russell@jcu.edu.au>
Keywords: flex, question, Cobol
Organization: Compilers Central
Date: Mon, 23 Jan 1995 01:09:35 GMT

I noticed that the comp.compilers FAQ had a question about COBOL
grammars. I decided to write one. Now what I have is full flex/bison
code to recognise ANSI-74 COBOL as per a self teaching guide.
The only thing it does not recognise is columns.
ie. an asterisk in column 7 meaning comment.
It recognises a program even if it is not in the correct columns.


Q: How do I do column sensitive scanning in flex ?
Q: Or should I write my own scanner ?


I'm thinking of writting a COBOL-74 compiler for Linux or cob2c.
Is there a good ISAM package for my run time lib ?


-Regan. sci-rer@groper.jcu.edu.au
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.