Next: Installation and upgrade
Up: TSF: A Tool Set
Previous: Introduction
Foresys is a product distributed by Simulog for the manipulation of Fortran
codes. This document does not claim to describe Foresys but TSF (Tool Set for
Fortran), one of its extensions (see figure 1). Foresys
makes it possible to carry out many operations on Fortrans codes (translation
to the new F90 standard, dependences analysis, ...). These tasks, although
very interesting, do not always meet the user's needs. The TSF window is
connected to one of the Foresys windows displaying the code of a Fortran unit
(a function, a subroutine, a module, ...). This graphical interface provides
two basical actions for final users.
- The application of simple scripts to various target ; the current
selection, the full unit or the full Forlib1. This last functionnality is
still experimental and is not fully implemented. The scripting language is
quite simple and is dedicated to the manipulation of fortran codes. It
provides some simple ways to transform and to get informations in fortran
codes. To be executed, the simple scripting language must translated into the
lisp dialect used internaly by Foresys. The user does not have to be
concerned with this complex phase.
- The matching of a piece of Fortran code in the currently connected unit
window according to a pattern (i.e. a model). The pattern can be generated
automatically from a piece of fortran program or can be written in the
pattern language (see section 11 for more details on the
pattern language). The pattern is also used to check the validity of the
selection before applying the associated script.
The scripts and the patterns are stored into external files with some
additionnal informations (user's documentation, author, ...). The TSF
interface provides some facilities to edit those informations but the file
format is sufficiently simple so that the manual edition is possible. Several
categories, each one being defined by a file, can be used simultaneously.
Figure 1:
The internal structure of FORESYS/TSF
|
Next: Installation and upgrade
Up: TSF: A Tool Set
Previous: Introduction
Yann Mevel
1999-04-30