[net.lang.pascal] need a C to Pascal converter

lauraf@teklds.UUCP (Laura Freeman) (02/25/86)

I am looking for a C to Pascal converter.
If you have or know of any, please send me
the name of the manufacturer.

Thanks!
Laura Freeman
tektronix!teklds!lauraf

Disclaimer: I did not say that!

david@ztivax.UUCP (03/05/86)

You will not find a good one, I am sorry to say, even if one exists.

That is because C allows many things that pascal does not.  Only if C
was a subset of Pascal would it be possible to make a good one.  

You could, perhaps, "throw something together" using yacc/lex which would 
do SOME conversion, but you will never find -or make- a good one.

You might be better off to get a Pascal which is compatible with C
calling conventions, and then just build hybrid systems.

This is not a maintenance nightmare, as might it sound.  Only reliable
code should be used anyway, and reliable code is simple, and therefore
easy for anyone to hack with even if its in C.

david smyth

seismo!unido!ztivax!david