From: Adrian Hoe <mailbox@*nospam*adrianhoe.com>
Subject: Re: P2Ada (v.22-Dec-2002)
Date: Wed, 01 Jan 2003 02:48:50 +0800
Date: 2003-01-01T02:48:50+08:00 [thread overview]
Message-ID: <3e11d773_1@news.tm.net.my> (raw)
In-Reply-To: auq050$h7c$2@ctb-nnrp2.saix.net
>>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.
>>
>>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!
How well can P2Ada handle BCD (Binary Coded Decimal) in Turbo Pascal?
I have a very old program written in Turbo Pascal with BCD and I am
interested to have it translated to Ada. About 17KSLOC.
--
type Dmitry is new Adrian; -- Adrian Hoe
-- http://adrianhoe.com
-- Remove *nospam* to email
prev parent reply other threads:[~2002-12-31 18:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox