comp.lang.ada
 help / color / mirror / Atom feed
* Ann: P2Ada (v.22-Dec-2002)
@ 2002-12-22 16:59 Gautier direct_replies_not_read
  2002-12-29 11:24 ` D De Villiers
  0 siblings, 1 reply; 5+ messages in thread
From: Gautier direct_replies_not_read @ 2002-12-22 16:59 UTC (permalink / raw)


Hello. Recently G. A. Craig Carey (mostly) and I reworked P2Ada, a
command-line Pascal to Ada translator.

P2Ada is now able to translate large sources. Depending on
the sources, the pre-work needed to have a successful translation and
the rework after translation have been significantly reduced.

URL: http://www.mysunrise.ch/users/gdm/gsoft.htm#p2ada

Two recent "success stories":
  - porting of MAS (Modula-2 Algebra System, 73 kSlocs)
      by using Mod2P and P2Ada
  - porting of the Numerical Recipes in Pascal.

Bugs fixed: a lot!

Some of the new features:

- Support for Sqr, Odd, Eof, Eoln, Read, ReadLn, Ord, Chr (standard Pascal)
     and type Double
- For Borland integers, a transitional package is provided.
- Turbo Pascal 7's CONST parameters translated.
- Set expressions better translated (in form of array of Boolean).
- A procedure Dispose is created for each access type.
- For variables of a structured type, P2Ada creates an ad-hoc type for them.
- Option to translate a "var" parameter by "var" instead
     of "in out": it is wrong but caught by the Ada compiler for the rework.
- Name of procedures and functions put after "end".
- Smarter recognition of variables (array elements, record fields,...)
- Bigger buffers for translating large sources.
- Added casing of Ada keywords (upper/lower/neutral).

Enjoy!
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: Pour une r�ponse directe, adresse e-mail sur le site ouaibe!




_________________________________________________________________
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf




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

end of thread, other threads:[~2002-12-31 18:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-22 16:59 Ann: P2Ada (v.22-Dec-2002) Gautier direct_replies_not_read
2002-12-29 11:24 ` D De Villiers
2002-12-30 17:41   ` Larry Kilgallen
2002-12-31 16:14   ` Gautier
2002-12-31 18:48   ` Adrian Hoe

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