Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!shelby!portia.stanford.edu!fangchin From: fangchin@portia.Stanford.EDU (Chin Fang) Newsgroups: comp.lang.c Subject: Re: Porting programs from Modula 2 Keywords: Modula 2, p2c Message-ID: <1991Jan12.035947.20787@portia.Stanford.EDU> Date: 12 Jan 91 03:59:47 GMT References: <646@caslon.cs.arizona.edu> Organization: AIR, Stanford University Lines: 16 paul@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@portia.stanford.edu