Re: AGT Version 1.83


Fri, 11 Aug 1995 11:00:46 +1000

I'm currently working on a conversion to Ada. It'll be a while though
because although Ada superficially resembles Pascal, AGT is not really
Pascal; it is Basic translated to Pascal, and still carries the baggage
that Basic forces on you. Most of the procedures are parameterless and
operate on global variables and arrays, etc. When I'm finished I hope it
will be a read Ada program, and not Basic in Ada :-). Why Ada? Because it
is a fascinating language, and I wanted some sort of non-trivial
application that I could use to improve my competence in Ada. Besides,
the tasking capabilities of Ada might be useful in a real-time version
further down the track rather than the turn based model.

On 9 Aug 1995, Jesse McGrew wrote:

> John Menichelli (menichel@pixi.com) wrote:
> [snip]
> : Currently, this version of AGT will only run on IBM/compatibles. I think
> : it would be cool if someone would convert the Pascal source code to ANSI
> : C. This was, AGT would become "portable", much like Inform and TADS. I'd
> : do it myself, but my knowledge of C is minimal... (Sounds like, "The
> : conversion of AGT from Pascal to C is left as an exercise for the
> : reader", huh?)
>
> There's a Unix tool, p2c, that converts Pascal code to C. I might look
> into it.
>
There is also a Gnu Pascal Compiler available, GPC-*.tar.gz. I don't know
how much work would be involved in de-Turboing AGT to run under GPC.

Regards, Frank Ranner