* FORTRAN to ADA transl
@ 1998-11-09 0:00 armandp
1998-11-09 0:00 ` Gautier de Montmollin
1998-11-12 0:00 ` BSCrawford
0 siblings, 2 replies; 6+ messages in thread
From: armandp @ 1998-11-09 0:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Hi,
Does anyone know about some translator from FORTRAN to ADA, especially
for F77 and Ada95? Even a partial translation would help.
Ah, one constraint: my Fortran S/W is critical in terms of precision,
that means both codes should use the same representation for reals and
the same precision.
thanx for any input
Armand
armand.puccetti@cisi.fr
[-- Attachment #2: Card for Armand Puccetti --]
[-- Type: text/x-vcard, Size: 553 bytes --]
begin: vcard
fn: Armand Puccetti
n: Puccetti;Armand
org: CS-CISI
email;internet: armand.puccetti@cisi.fr
title: Project Manager
note;quoted-printable:CS - Communications & Systems=0D=0A=
<br>=0D=0A=
Division Ingenierie France Nord=0D=0A=
<br>=0D=0A=
3 Rue Le Corbusier, SILIC 232=0D=0A=
<br>=0D=0A=
F-94528 RUNGIS Cedex=0D=0A=
<br>=0D=0A=
Tel: (33 1) 41 80 42 59=0D=0A=
<br>=0D=0A=
Fax: (33 1) 41 80 42 98
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FORTRAN to ADA transl
1998-11-09 0:00 FORTRAN to ADA transl armandp
@ 1998-11-09 0:00 ` Gautier de Montmollin
1998-11-11 0:00 ` Oliver.Kellogg
1998-11-12 0:00 ` dewarr
1998-11-12 0:00 ` BSCrawford
1 sibling, 2 replies; 6+ messages in thread
From: Gautier de Montmollin @ 1998-11-09 0:00 UTC (permalink / raw)
To: armand.puccetti
> Does anyone know about some translator from FORTRAN to ADA, especially
> for F77 and Ada95? Even a partial translation would help.
That perl script will do the job:
ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/f2ada.pl
I have used it many times to translate numerical code.
> Ah, one constraint: my Fortran S/W is critical in terms of precision,
> that means both codes should use the same representation for reals and
> the same precision.
To be sure: find (even by testing) the precision of the fortran floats
and specify it with a "delta" in Ada.
In general (but to verify), FORTRAN real is Ada float; double or real*8
is long_float, etc. On DEC AXP machines it's the case. You can even
interface built-in FORTRAN routines (like Lapack) with your Ada code.
--
Gautier
--------
Homepage: http://www.unine.ch/math/Personnel/Assistants/Gautier/Montmollin.html
Software: http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FORTRAN to ADA transl
1998-11-09 0:00 ` Gautier de Montmollin
@ 1998-11-11 0:00 ` Oliver.Kellogg
1998-11-12 0:00 ` dewarr
1 sibling, 0 replies; 6+ messages in thread
From: Oliver.Kellogg @ 1998-11-11 0:00 UTC (permalink / raw)
In article <364752C1.2B8745C1@maths.unine.ch>,
Gautier de Montmollin <gautier.demontmollin@maths.unine.ch> wrote:
> That perl script will do the job:
>
> ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/f2ada.pl
>
There is a newer version of this script available at
http://wuarchive.wustl.edu/languages/ada/ajpo/tools/for2ada95/
Hope this helps
-- Oliver
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FORTRAN to ADA transl
1998-11-09 0:00 FORTRAN to ADA transl armandp
1998-11-09 0:00 ` Gautier de Montmollin
@ 1998-11-12 0:00 ` BSCrawford
1 sibling, 0 replies; 6+ messages in thread
From: BSCrawford @ 1998-11-12 0:00 UTC (permalink / raw)
In article <3647382E.42E6B4BD@cisi.fr>, armandp <armand.puccetti@cisi.fr>
writes:
>Does anyone know about some translator from FORTRAN to ADA, especially
>for F77 and Ada95? Even a partial translation would help.
>
>Ah, one constraint: my Fortran S/W is critical in terms of precision,
>that means both codes should use the same representation for reals and
>the same precision.
You might try J.C. Morrison at the following locations:
jcm@ada-solutions.com
www.ada-solutions
Bard Crawford
Stage Harbor Software
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FORTRAN to ADA transl
1998-11-09 0:00 ` Gautier de Montmollin
1998-11-11 0:00 ` Oliver.Kellogg
@ 1998-11-12 0:00 ` dewarr
1998-11-12 0:00 ` Gautier.DeMontmollin
1 sibling, 1 reply; 6+ messages in thread
From: dewarr @ 1998-11-12 0:00 UTC (permalink / raw)
In article <364752C1.2B8745C1@maths.unine.ch>,
Gautier de Montmollin
<gautier.demontmollin@maths.unine.ch> wrote:
> To be sure: find (even by testing) the precision of the
> fortran floats
> and specify it with a "delta" in Ada.
Delta???? for float types????
This response is confused!
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FORTRAN to ADA transl
1998-11-12 0:00 ` dewarr
@ 1998-11-12 0:00 ` Gautier.DeMontmollin
0 siblings, 0 replies; 6+ messages in thread
From: Gautier.DeMontmollin @ 1998-11-12 0:00 UTC (permalink / raw)
>> To be sure: find (even by testing) the precision of the
>> fortran floats
>> and specify it with a "delta" in Ada.
> Delta???? for float types????
> This response is confused!
OK, read "digits"...
--
Gautier
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-11-12 0:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-09 0:00 FORTRAN to ADA transl armandp
1998-11-09 0:00 ` Gautier de Montmollin
1998-11-11 0:00 ` Oliver.Kellogg
1998-11-12 0:00 ` dewarr
1998-11-12 0:00 ` Gautier.DeMontmollin
1998-11-12 0:00 ` BSCrawford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox