home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / modula2 / 1658 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.5 KB  |  39 lines

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