home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / forth / 3075 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.8 KB

  1. Path: sparky!uunet!gatech!pitt!willett!ForthNet
  2. From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
  3. Newsgroups: comp.lang.forth
  4. Subject: ANS TC Magnet for ROMability
  5. Message-ID: <4034.UUL1.3#5129@willett.pgh.pa.us>
  6. Date: 2 Sep 92 11:43:38 GMT
  7. Organization: EIEI-U
  8. Lines: 58
  9.  
  10. Category 10,  Topic 22
  11. Message 83        Tue Sep 01, 1992
  12. L.ZETTEL [Len]               at 21:01 EDT
  13.  
  14.  Disclaimer: What follows is necessarily individual opinion because the 
  15.  committee hasn't issued am official position yet.
  16.  
  17.  First, I call your attention to the following:
  18.       *     *     *
  19.  2.0130 compilation
  20.         The process of transforming source code into definitions in the 
  21.  dictionary.
  22.       *     *     *
  23.  After thinking hard about the matter, the only answer I can give to the 
  24.  question "Can there be ANS Forth cross-compilers?"  is a firm, 
  25.  unequivocal, "it depends".
  26.  
  27.  It depends on the answer to two questions:
  28.  
  29.  1) Is the target system (apologies, Elizabeth) necessarily part of the 
  30.  ANS Forth system during the process of cross-compilation?
  31.  
  32.  2) Must the words in the target system dictionary be treated on an equal 
  33.  footing with words in the host ANS Forth system dictionary during the 
  34.  process of cross-compilation?
  35.  
  36.  If the answer to these questions is yes, I cheerfully predict the answer 
  37.  X3J14 will give to the question (and the only sensible answer it can give 
  38.  under the circumstances) will boil down to "The answer to that question 
  39.  is beyond the scope of the standard, so we decline to answer at this 
  40.  time."
  41.  
  42.  On the other hand, if due to the iron whim of the marketing department or 
  43.  an unbreakable geas from the elder gods of hackerdom, I felt an 
  44.  overwhelming urge to produce something I could call an ANS Forth standard 
  45.  system with a cross-compiler, I would argue (and build) as follows:
  46.  
  47.  1) The target system is NOT part of the standard forth system, but 
  48.  something the standard system communicates with.
  49.  
  50.  2) The target dictionary is a data structure whose words, at the time of 
  51.  cross-compilation, do not necessarily follow the same rules for search 
  52.  and findability as words in the Standard Forth System dictionary.  Thus, 
  53.  while the target dictionary may be in the dictionary in the same sense an 
  54.  array or text string might be in the dictionary, the words in it might be 
  55.  no more findable than the words in a text string.
  56.  
  57.  Given that, I can conceive of the possibility of building something that 
  58.  could be called an ANS Standard Forth System with a non-standard 
  59.  extension that would cross-compile.
  60.  
  61.  And that's where I stand for now.  I really do hope this helps.
  62.                        -LenZ- 
  63. -----
  64. This message came from GEnie via willett.  You *cannot* reply to the author
  65. using e-mail.  Please post a follow-up article, or use any instructions
  66. the author may have included (USMail addresses, telephone #, etc.).
  67. Report problems to: dwp@willett.pgh.pa.us
  68.