Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!harpo!seismo!rochester!ritcv!tropix!rcm
From: rcm@tropix.UUCP (Robert C. Moore)
Newsgroups: net.micro.cpm
Subject: Re: Pascal to C
Message-ID: <154@tropix.UUCP>
Date: Sun, 24-Jul-83 18:56:55 EDT
Article-I.D.: tropix.154
Posted: Sun Jul 24 18:56:55 1983
Date-Received: Mon, 25-Jul-83 21:32:33 EDT
References: sri-arpa.3291
Lines: 19

I'm posting what should be a reply by mail because I don't know how to 
	get through an ARPA gateway to the originator.
			---------
	Yes, there is a Pascal-to-c translator, available from Whitesmith's.
It is written in their version of c, and the source is available.
It produces super-slow c, but is acceptable in a pinch.  The program is
small and attempts to put loop control into register variables.  
The resulting code is poor because:

	1) It is unreadable.  No c variables are retained by their origonal 
		names.  
	2) The referencing if enclosing proceedure's variables (so casually 
		done in Pascal) is ineffecient.

	But it does work.  In many cases, that's all that matters.

					Bob Moore
					GCA/Tropel
					seismo!rochester!ritcv!tropix!rcm