TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Reply To:
Tue, 16 Sep 1997 20:14:26 +0200
text/plain (30 lines)
I wrote a pascal to ada translator myself. It does do a lot more
then just text reformatting.
It is a program that uses lex and yacc to parse the sources into
an tree structure then rearanges several things and then output the
outcome in ada.
Compared to other translators this is a more like a real compiler.
I used it for myself to convert my pascal code (Actually EPASCAL from DEC)
to ada code with success.

If you are interested then let me know. You can have the sources, but no support


> From: Michael Pickett <[log in to unmask]>
> To: [log in to unmask]
> Subject: Pascal to Ada conversion
> Date: Thursday, September 11, 1997 11:54 PM
> One of my colleagues has just acquired a whole heap of Pascal code which he
> needs to convert to "something more modern". He is considering C++, C or Ada.
> Are there any useful tools about that support Pascal to Ada conversion which
> would encourage him to select Ada rather than anything else as the target? He
> is not expecting to do automatic conversion, but anything that gets him even
> part way there could be influential.
> --
> Michael Pickett