Need FORTRAN grammar for lex & yacc (Anil Dedhia)
Thu, 13 Oct 1994 01:31:42 GMT

          From comp.compilers

Related articles
Need FORTRAN grammar for lex & yacc (1994-10-13)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Anil Dedhia)
Keywords: Fortran, parse, question, comment
Organization: Louisiana State University
Date: Thu, 13 Oct 1994 01:31:42 GMT


I am developing a FORTRAN information extractor system as an assignment.
I would like to have Lex/Yacc grammar for this. I have already seen
FORTRAN 77 subset parser (ftn) by John Levine, and I was wondering if there
is a more complete version available _with_ lex grammar. Email is

Thanks a lot,
[I would be astonished if you ever found a lex scanner for Fortran. It's
not at all suitable. You can find a full f77 parser in f2c, the Bell Labs
Fortran to C translator. It uses a yacc parser and a hand written lexer,
just like I did. -John]

Post a followup to this message

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