🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #38

Re: Looking for Modula2 --> C translator

#38
From: Dirk Zabel
Date: Thu, 06 Aug 1992 14:37
20 lines
1297 bytes
In article <76269@ut-emx.uucp> taluskie@ccwf.cc.utexas.edu (Vince Taluskie) writes:

>Hi,
>
>I'm looking for a modula2 --> C translator program.  If you know of such
>a thing, please drop me a line with some info.  A professor that I work
>for needs this to convert some of his programs.  

What about p2c (it's copylefted gnu-software by Dave Gillespie),
which translates various Pascal-dialects and Modula2 to C. It
is no replacement for a Pascal/Modula Compiler but tries to build
maintainable Code in C and to 'translate' typical Pascal/Modula 
constructs to their C counterparts.

I did not have difficulties in porting it to MSDOS under djgcc1.05 (D.J.
Delories port of GNU C/C++), but the makefiles needed a lot of changes
due to DOS restrictions.

--      Dirk
Technical Details
Message-ID: <DZABEL.92Aug6163654@pc2.cs.tu-berlin.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!zrz.tu-berlin.de!cs.tu-berlin.de!pc2!dzabel
References: <76269@ut-emx.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!zrz.tu-berlin.de!cs.tu-berlin.de!pc2!dzabel
From: dzabel@cs.tu-berlin.de (Dirk Zabel)
Subject: Re: Looking for Modula2 --> C translator
In-Reply-To: taluskie@ccwf.cc.utexas.edu's message of 21 Jul 92 00:26:51 GMT
Message-ID: <DZABEL.92Aug6163654@pc2.cs.tu-berlin.de>
Sender: news@cs.tu-berlin.de
Organization: Technical University of Berlin, Germany
References: <76269@ut-emx.uucp>
Date: Thu, 6 Aug 1992 14:37:16 GMT
Lines: 20