home *** CD-ROM | disk | FTP | other *** search
- From: gael@gnlab008.grenoble.hp.com (Gael_Marziou)
- Date: Mon, 9 Nov 1992 11:53:24 GMT
- Subject: Re: Pascal to C translator
- Message-ID: <2010002@gnlab008.grenoble.hp.com>
- Organization: Hewlett-Packard, GND
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpbbn!hpgndlab!gnlab008!gael
- Newsgroups: comp.lang.pascal
- References: <1992Nov3.211510.26562@pencom.com>
- Lines: 16
-
- Well, I'm currently porting a 65 Klines HP Pascal source to C, I'm using
- p2c 1.20 which is GNU software so you can find it nearly everywhere.
- I found some bugs but got a very good support from the author Dave Gillespie.
- The main pb is that p2c doesn't translate Pascal compiler directives into
- C preprocessor directives. The only workaround I found is to transform those
- directives into EMBED comments (special p2c format for comments) which will
- be expanded into #define ...)
- The most important thing to look at is size of translated data types which
- can be different from the Pascal equivalent.
-
- Cheers,
- Gael
-
- Gael Marziou : gael@hpgndl71.grenoble.hp.com or Gael_Marziou@hp6330.desk.hp.com
-
-
-