[net.lang.pascal] Wanted: source-to-source translator

kevin@gvax.cs.cornell.edu (Kevin Karplus) (06/25/86)

I got more info about what's needed in the source-to-source translator
I requested in an earlier posting.

Input: UCSD PASCAL 		(for TI 990)
Output: C 			(for Intel 8088--perhaps an IBM PC??)

Since this is a third-hand request I do not know:
	size of source to translate (presumably large),
	application,
	which features of UCSD Pascal are used ,
	how much hand touch-up is acceptable.

Any leads on UCSD PASCAL->C source-to-source translator would be
helpful.

Thanks,
Kevin Karplus

	

daveh@cbmvax.cbm.UUCP (Dave Haynie) (06/27/86)

> Keywords: source-to-source, translator, C, PASCAL
> Xref: cbmvax net.wanted:710 net.lang:318 net.micro:903 net.lang.pascal:64
> 
> 
> I got more info about what's needed in the source-to-source translator
> I requested in an earlier posting.
> 
> Input: UCSD PASCAL 		(for TI 990)
> Output: C 			(for Intel 8088--perhaps an IBM PC??)
> 
> Since this is a third-hand request I do not know:
> 	size of source to translate (presumably large),
> 	application,
> 	which features of UCSD Pascal are used ,
> 	how much hand touch-up is acceptable.
> 
> Any leads on UCSD PASCAL->C source-to-source translator would be
> helpful.
> 
> Thanks,
> Kevin Karplus
> 
> 	

I worked on a project at CMU several years ago, in which we had available a
UCSD (I think) Pascal to Unix C converter.  This program was able to convert
most types, references, function, control-constructs, etc.  It couldn't
handle the Pascal WITH statement, and had trouble with varient records.  But
it did the majority of the conversion without trouble.  As for the program,
you might try contacting the Carnegie-Mellon Electrical Engineering
Dept.; I haven't seen a version of it since; it was probably developed there
locally.

-- 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Dave Haynie    {caip,ihnp4,allegra,seismo}!cbmvax!daveh

   A quote usually goes here, but its currently being rennovated.

	These opinions are my own, though for a small fee they be yours too.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/