Article View: comp.lang.modula2
Article #2884Re: Modula 2 to C/C++
From: Josef Grosch
Date: Thu, 05 Oct 1995 16:10
Date: Thu, 05 Oct 1995 16:10
49 lines
1984 bytes
1984 bytes
Elecia Engelman (elecia@muddcs.cs.hmc.edu) wrote:
> Does any one have any suggestions for code conversion tools?
Let me suggest Mtc - see below for details. Mtc is a commercial product.
For more information please contact
Josef Grosch
MTC(1) USER COMMANDS MTC(1)
NAME
mtc - Modula-2 to C translator
DESCRIPTION
Mtc translates Modula-2 programs in readable and therefore
maintainable C code (ANSI + K&R) without major restrictions
(even nested procedures and modules). The translator is
largely generated using the Cocktail toolbox for compiler con-
struction. It contains semantic analysis as far as needed for
the task. Semantic analysis is rather complete and comprises
scope handling, name analysis, and type determination. Context
conditions are not checked, as it is assumed that only correct
programs are processed. Mtc translates Modula-2 as defined in
"N. Wirth: Programming in Modula-2, Third Corrected Edition,
Springer-Verlag, 1985".
RESTRICTIONS
Coroutines are not implemented yet, comments are lost.
IMPLEMENTATION-LANGUAGES
C (ANSI + K&R) or Modula-2
PLATFORMS
any / UNIX
PC / MS-DOS
DISTRIBUTION
sources on DC 6150 data cartridge (150 MB streamer tape) or
3.5" floppy disk in tar format
CONTACT
Dr.-Ing. Josef Grosch Tel.: +49-721-697061
CoCoLab Fax : +49-721-661966
Hagsfelder Allee 16 EMail: grosch@cocolab.sub.com
D-76131 Karlsruhe
Germany
Technical Details
Message-ID:
<DFzGwu.Cz@cocolab.sub.com>Path:
arc1-ca.pugleaf.net!ka.sub.net!cabby!cocolab!groschReferences:
<44pm53$skb@jaws.cs.hmc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!ka.sub.net!cabby!cocolab!grosch From: grosch@cocolab.sub.com (Josef Grosch) Subject: Re: Modula 2 to C/C++ X-Newsreader: TIN [version 1.2 PL2] Organization: CoCoLab, Karlsruhe, Germany Message-ID: <DFzGwu.Cz@cocolab.sub.com> References: <44pm53$skb@jaws.cs.hmc.edu> Date: Thu, 5 Oct 1995 16:10:05 GMT