home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / forth / 3007 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  2.0 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: Environmental Queries
  5. Message-ID: <4005.UUL1.3#5129@willett.pgh.pa.us>
  6. Date: 22 Aug 92 13:27:20 GMT
  7. Organization: EIEI-U
  8. Lines: 45
  9.  
  10. Category 10,  Topic 33
  11. Message 8         Fri Aug 21, 1992
  12. B.RODRIGUEZ2 [Brad]          at 22:41 EDT
  13.  
  14.                  ANSI X3J14 FORTH TECHNICAL PROPOSAL
  15.                      (X3J14 dpANS-3, March 1992)
  16.  
  17. TITLE:  Prohibit name conflicts in environmental queries
  18.  
  19. SECTION:  3.1.4 Environmental Queries
  20.           7.6.3 Environmental Queries
  21.  
  22. SUMMARY:  Environmental query strings should have names that are
  23.      distinct from Forth words, so that they may be stored with-
  24.      out conflict in the Forth dictionary.
  25.  
  26. PROPOSAL:  Add the following text to section 3.1.4:
  27.  
  28.           "No input string shall be defined for ENVIRONMENT? that
  29.           has the same name as a Standard word."
  30.  
  31.      In the table in section 3.1.4, change the string ALIGN to
  32.      the string ALIGNMENT.
  33.  
  34.      In the table in section 7.6.3, change the string BLOCK to
  35.      the string BLOCK-ACCESS.
  36.  
  37. DISCUSSION:  A necessary function of ENVIRONMENT? is to locate
  38.      one of a set of predefined strings.  It seems likely that
  39.      many ANS Forth implementations will use the Forth dictionary
  40.      and dictionary-searching mechanism for this purpose.  This
  41.      useful approach would be rendered difficult -- or, in
  42.      single-wordlist systems, impossible -- if there is a name
  43.      conflict between an ENVIRONMENT? string and a Forth word.
  44.  
  45.      At present, there are only two such conflicts: the words
  46.      ALIGN and BLOCK.  This proposal would change the names of
  47.      these environmental queries, and leave the Forth words
  48.      unchanged.
  49.  
  50. -----
  51. This message came from GEnie via willett.  You *cannot* reply to the author
  52. using e-mail.  Please post a follow-up article, or use any instructions
  53. the author may have included (USMail addresses, telephone #, etc.).
  54. Report problems to: dwp@willett.pgh.pa.us
  55.