home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.modula2
- From: tchannon@black.demon.co.uk (Tim Channon)
- Path: sparky!uunet!pipex!demon!black.demon.co.uk!tchannon
- Subject: Re: C to Modula2 converter?
- Reply-To: tchannon@black.demon.co.uk
- Distribution: world
- X-Mailer: cppnews $Revision: 1.20 $
- Organization: null
- Date: Tue, 12 Jan 1993 03:01:22 +0000
- Message-ID: <726832882snx@black.demon.co.uk>
- Sender: usenet@demon.co.uk
- Lines: 25
-
- > One of the main difficulties is that C is like 2 languages in one. The
- > macro preprocessor is one language, and it affects the program text seen by
- > the C compiler. Unfortunately many C programs depend heavily on using the
- > macro preprocessor to produce different code under different circumstances
- > so there is often no direct equivalence between C code and Modula-2 code.
- >
- > We thought about writing one once but decided that it would probably
- > create more unhappy people than it would please.
- >
-
- I'm glad to see TopSpeed on the net. Is this the promised Compuserve
- connection?
-
- TopSpeed of all people should be able to easily produce a translator since you
- use a common code generator between C and M2 ...
-
- Is it worth it? What about companies who state that they would like to use a
- safer language but they have a large commitment in existing C source. You
- partially address this already.
- (shame that you only ship TS calling convention C libraries. This precludes
- simple linking with 3rd party C and causes all sorts of headaches)
-
- TC.
- E-mail: tchannon@black.demon.co.uk or tchannon@cix.compulink.co.uk
-
-