🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #370

Re: Looking for a Modula2 to C Compiler ...

#370
From: alastair bland
Date: Thu, 19 Oct 1989 15:39
28 lines
1704 bytes
I have found the following paper:

MOD2: A PRE-PROCESSOR FOR THE MODULA-2 LANGUAGE FOR C COMPILERS

by J. Crawford and F.P. Crawford,

Australian Nuclear Science and Technology Organisation,
Lucas Heights Research Laboratories,
December 1987.

It describes a Modula-2 to C  translator  which  was  made  for  BSD  Unix
Pyramid  systems.  They  called  the  main programs involved m2c and mod2.
The modula-2 front end was based  on  Wirth's  original  4  pass  modula-2
compiler for the Lilith computer.

The object as I understand it was to make  a  portable  modula-2  compiler
(with output in C) rather than pass your modula-2 code through it once and
then say bye bye to modula-2.  I am wanting to do the latter!

I would like to know the mail address of these people  and  opinions  from
anybody  who  has  used  the product on whether it produces maintainable C
code as output, with the modula-2 comments left in etc.  I do not mind too
much  if it makes a few mistakes as I am intending to make improvements to
the code anyway.

Thanks for any responses except flames!

Alastair Bland, abl@cernvax.cern.CH
Technical Details
Message-ID: <1125@cernvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!cernvax!abl
References: <8479@spool.cs.wisc.edu> <1989Sep20.064121.18729@m2cs.uu.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!cernvax!abl
From: abl@cernvax.UUCP (alastair bland)
Newsgroups: comp.lang.modula2
Subject: Re: Looking for a Modula2 to C Compiler ...
Message-ID: <1125@cernvax.UUCP>
Date: 19 Oct 89 15:39:30 GMT
References: <8479@spool.cs.wisc.edu> <1989Sep20.064121.18729@m2cs.uu.no>
Reply-To: abl@cernvax.UUCP (alastair bland)
Organization: CERN European Laboratory for Particle Physics, CH-1211 Geneva, Switzerland
Lines: 28