Porting programs from Modula 2

Chin Fang fangchin at portia.Stanford.EDU
Sat Jan 12 14:59:47 AEST 1991


paul at tredysvr.Tredydev.Unisys.COM (Paul Siu) writes:
>I have a program that I need to port from modula-2.  Modula contain two
>datatypes that are not supported in C: sets and subranges.  Does anyone know
>how I could simulate them in C or work around it?

Just a thought, how is Dave Gillespie's p2c performing in this case?  
I never tried it for translating Modula-2.  But it always a very good
translator as far as Pascal is concerned.  The document of p2c claims it
supports Modula-2 syntax as well.

Regards,

Chin Fang
Mechanical Engineering Department
Stanford University
fangchin at portia.stanford.edu



More information about the Comp.lang.c mailing list