Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
fortran parser
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-07-19 (15:35)
From: Nicolas Ratier <nratier@l...>
Subject: Re: fortran parser

To analyse the f77 langage, the scanner part is usually wrote in
C/pascal/... and the parser is wrote with Yacc.

John Levine wrote a while ago (1988) a Fortran subset
parser. It is
available at:

The grammar part can help you (save time) a lot.

> Mon but est de faire une table de dépendence entre les subroutines et
> fonctions pour trouver celles qui ne sont pas (ou plutot plus)
> utilisées.

I think that this kind of tools already exist for f77. Look for the
writen in "Perl" or even f77 to do it. Ecrire la grammaire de f77
pour faire cela et un peu comme enfoncer un clou avec un


              Nicolas Ratier