Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Nicolas Ratier <nratier@lpmo.edu>
To: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>
Cc: "Inria, caml" <caml-list@inria.fr>
Subject: Re: fortran parser
Date: Mon, 17 Jul 2000 11:36:31 +0200	[thread overview]
Message-ID: <3972D39F.E51B6E9A@lpmo.univ-fcomte.fr> (raw)
In-Reply-To: <396DC29C.1E804897@cea.fr>


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:

ftp://ftp.iecc.com/pub/file/ftn-grammar.gz

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
program 
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
marteau-piqueur.

         Amicalement

              Nicolas Ratier



  reply	other threads:[~2000-07-19 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-13 13:22 Patrick Goldbronn - SYSCO
2000-07-17  9:36 ` Nicolas Ratier [this message]
2000-07-19 19:58 ` Xavier Leroy
     [not found] <200007162310.BAA08076@lri.lri.fr>
2000-07-21 15:19 ` Patrick Goldbronn - SYSCO/LGLS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3972D39F.E51B6E9A@lpmo.univ-fcomte.fr \
    --to=nratier@lpmo.edu \
    --cc=caml-list@inria.fr \
    --cc=patrick.goldbronn@cea.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox