Re: Building a translator. Want to know if this is feasible...

"Stanley Chow" <stanley.chow@cloakware.com>
8 Nov 2002 11:02:59 -0500

          From comp.compilers

Related articles
Building a translator. Want to know if this is feasible... socrates171@yahoo.com (socrates) (2002-11-06)
Re: Building a translator. Want to know if this is feasible... idbaxter@semdesigns.com (Ira Baxter) (2002-11-07)
Re: Building a translator. Want to know if this is feasible... joachim_d@gmx.de (Joachim Durchholz) (2002-11-07)
Re: Building a translator. Want to know if this is feasible... vugluskr@unicorn.math.spbu.ru (Roman Shaposhnick) (2002-11-07)
Re: Building a translator. Want to know if this is feasible... gsc@zip.com.au (Sean Case) (2002-11-08)
Re: Building a translator. Want to know if this is feasible... stanley.chow@cloakware.com (Stanley Chow) (2002-11-08)
Re: Building a translator. Want to know if this is feasible... vbdis@aol.com (VBDis) (2002-11-08)
Re: Building a translator. Want to know if this is feasible... gopi@sankhya.com (Gopi Bulusu) (2002-11-08)
Re: Building a translator. Want to know if this is feasible... JeffKenton@attbi.com (Jeff Kenton) (2002-11-08)
Re: Building a translator. Want to know if this is feasible... lex@cc.gatech.edu (Lex Spoon) (2002-11-12)
Re: Building a translator. Want to know if this is feasible... enrico.santoemma@mail.com (Enrico Santoemma) (2002-11-15)
Re: Building a translator. Want to know if this is feasible... idbaxter@semdesigns.com (Ira Baxter) (2002-11-17)
[1 later articles]
| List of all articles for this month |

From: "Stanley Chow" <stanley.chow@cloakware.com>
Newsgroups: comp.compilers
Date: 8 Nov 2002 11:02:59 -0500
Organization: Bell Sympatico
References: 02-11-013
Keywords: translator, comment
Posted-Date: 08 Nov 2002 11:02:59 EST

socrates wrote:
  > What I have is very minimal. No compiler for the dead language, no
  > text books, only one reference manual and hundreds of program codes
  > that used the dead language.
  >


Depending on your actual goal, there may be alternatives:


      - if you care about capturing the behaviour of the binary
          executions, it may be easier to work with the object code.
          I recall that in the early days of computing, people had
          System/360 machines emulating 704 emulating plug-boards.


      - If you want to capture the "program design" but not the
          exact semantics, it may be easier to rewrite by hand.
          Also, it may be good enough to just write the compiler
          according to the manual.


      - If you want to recreate a compiler to continue development,
          good luck. Considering they managed to lose the compiler,
          would you trust the source code to match the binary? Can
          you imagine debugging a compiler like that?




  > Do you think it's possible to build a translator with such minimal
  > resources? And could you give me some pointers on how to start
  > building a translator?


On the whole, I would think "minimal resources" will not be
enough for any of the ways.
--
Stanley Chow CTO stanley.chow@cloakware.com
Cloakware Corp (613) 271-9446 x 223
[Hmmn. I never thought of the late 1960s as the early days of
computing. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.