comp.lang.ada
 help / color / mirror / Atom feed
* Fortran to Ada95 converter update
@ 2011-10-31 10:42 okellogg
  2011-11-16 21:19 ` okellogg
  0 siblings, 1 reply; 3+ messages in thread
From: okellogg @ 2011-10-31 10:42 UTC (permalink / raw)
  Cc: jasmin

The f2a.pl semi-automatic Fortran to Ada95 converter perl script has
been updated due to user feedback.
The new version is available at http://www.okellogg.de/x.html ,

http://www.okellogg.de/for2ada95-1.2.tar.gz

Here are the changes of version 1.2:

-  Added keywords REWIND and PRINT to @tbd.
- Translate STOP to (commented) System.OS_Lib.OS_Exit.
  The call is commented because of its GNAT dependency.
- Use artificial name "Main" for main procedure if the
  PROGRAM statement is missing in the input code.
- Print line number in input file on error message.
- New variables $linebuf_save, $line_pending_save, and
  $linenum_save do the necessary saving of global state
  before processing of INCLUDE file.
- Print success status and file names generated upon
  completion of conversion.

Enjoy,

Oliver M. Kellogg
-- okellogg at users dot sourceforge dot net



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fortran to Ada95 converter update
  2011-10-31 10:42 okellogg
@ 2011-11-16 21:19 ` okellogg
  0 siblings, 0 replies; 3+ messages in thread
From: okellogg @ 2011-11-16 21:19 UTC (permalink / raw)


Due to further user feedback I have released another update,

http://www.okellogg.de/for2ada95-1.3.tar.gz

Here are the changes of version 1.3:

- Added comments in sub init_variables explaining the
  purpose and function of some less obvious variables.
- Print line number in input file at all error messages.
- Added minimal support for Hollerith constants (pre F77.)
- In the supporting package Ftn,
  - Change default value of parameters at Min functions ('Last)
  - Implement missing subprograms in the package body.

Oliver M. Kellogg
-- okellogg at users dot sourceforge dot net



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fortran to Ada95 converter update
@ 2012-08-18  6:42 Oliver Kellogg
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Kellogg @ 2012-08-18  6:42 UTC (permalink / raw)


The f2a.pl semi-automatic Fortran to Ada95 converter perl script has been updated.
The new version is available at http://www.okellogg.de/x.html ,

http://www.okellogg.de/for2ada95-1.4.tar.gz

Here are the changes of version 1.4:

- When the step value given in a DO loop was a variable,
  the Ada loop generated would be missing the increment
  of the loop variable before the "end loop". Fixed this.
- Fixed transfer of initial Fortran comments (i.e. comments
  preceding any declaration) to Ada body file.
- In a DO loop, if the line of definition of the DO label
  had CONTINUE then the label would be omitted. However, we
  cannot omit the label if it is referenced by some GOTO.
- Added recognizing of Fortran EXIT statement.

Thanks to Leo Brewin for reporting these problems.

Enjoy,

Oliver M. Kellogg
-- okellogg at users dot sourceforge dot net



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-18  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18  6:42 Fortran to Ada95 converter update Oliver Kellogg
  -- strict thread matches above, loose matches on Subject: below --
2011-10-31 10:42 okellogg
2011-11-16 21:19 ` okellogg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox