gtoal@tharr.UUCP (Graham Toal) (04/14/91)
I ported (again - did it once before, some years ago) Per Bergsten's excellent pascal to C translator to the Archie a few months ago. In doing so, I pulled some tricks which make it *much* more useful than the default distribution. It makes a really nice pascal compiler; just drop your pas file on the icon and you get a compiled program out the back end. Unfortunately, part of the process is to run the C file generated through a few filters, one of which is a nasty hacked version of Acorn's toansi program. (I get ptc to insert a keyword into the translated source; I run mkptypes on it to generate correct headers, and I run the source through this hacked toansi to insert the headers at the point that ptc asks for them -- after all the type declarations but just before the first procedure body) I wrote to Acorn over a month ago, asking it it were allowed to distribute this hack of toansi to anyone; I've had no answer yet. Any Acorn people out there in a position to say Yea or Nay? If not, I'll remove the program and include a patch file instead, as ptc can only be used if you have a C compiler, and the source of toansi comes with the C compiler. Graham -- (* Posted from tharr.uucp - Public Access Unix - +44 (234) 720202 *)