|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. email@example.com (Virendra K. Mehta) (1995-01-27)|
|Re: Columns in flex. firstname.lastname@example.org (1995-01-27)|
|Re: Columns in flex. email@example.com (1995-01-31)|
|Re: Columns in flex. firstname.lastname@example.org (1995-01-28)|
|From:||Regan Russell <Regan.Russell@jcu.edu.au>|
|Keywords:||flex, question, Cobol|
|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 ?
Return to the
Search the comp.compilers archives again.