Tom Clune wrote:
>
> What I'm interested in is using some sophisticated preprocessor to
> automate most of the work and thereby effectivel provide F95 with the
> ability to have abstract base classes. One could then declare
> classes (and their lineage), and the preprocessor would create
> an appropriate set of Fortran modules with corresponding derived
> types. The preprocessor would have to do much of the same work
> that C++ compilers must do, and we may even be able to leverage some
> of the code from public compilers ...
>
Out of curiosity - would you consider writing the preprocessor
itself in Fortran? There is at least one preprocessor like that
(fppr (?) ). Also, would you try to "respect" the F2K syntax, so you
don't end up with another conversion issue later? Or would you use
some other syntax which might be easier to implement?
Alvaro Fernandez
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|