home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pitt!willett!ForthNet
- From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
- Newsgroups: comp.lang.forth
- Subject: Environmental Queries
- Message-ID: <4005.UUL1.3#5129@willett.pgh.pa.us>
- Date: 22 Aug 92 13:27:20 GMT
- Organization: EIEI-U
- Lines: 45
-
- Category 10, Topic 33
- Message 8 Fri Aug 21, 1992
- B.RODRIGUEZ2 [Brad] at 22:41 EDT
-
- ANSI X3J14 FORTH TECHNICAL PROPOSAL
- (X3J14 dpANS-3, March 1992)
-
- TITLE: Prohibit name conflicts in environmental queries
-
- SECTION: 3.1.4 Environmental Queries
- 7.6.3 Environmental Queries
-
- SUMMARY: Environmental query strings should have names that are
- distinct from Forth words, so that they may be stored with-
- out conflict in the Forth dictionary.
-
- PROPOSAL: Add the following text to section 3.1.4:
-
- "No input string shall be defined for ENVIRONMENT? that
- has the same name as a Standard word."
-
- In the table in section 3.1.4, change the string ALIGN to
- the string ALIGNMENT.
-
- In the table in section 7.6.3, change the string BLOCK to
- the string BLOCK-ACCESS.
-
- DISCUSSION: A necessary function of ENVIRONMENT? is to locate
- one of a set of predefined strings. It seems likely that
- many ANS Forth implementations will use the Forth dictionary
- and dictionary-searching mechanism for this purpose. This
- useful approach would be rendered difficult -- or, in
- single-wordlist systems, impossible -- if there is a name
- conflict between an ENVIRONMENT? string and a Forth word.
-
- At present, there are only two such conflicts: the words
- ALIGN and BLOCK. This proposal would change the names of
- these environmental queries, and leave the Forth words
- unchanged.
-
- -----
- This message came from GEnie via willett. You *cannot* reply to the author
- using e-mail. Please post a follow-up article, or use any instructions
- the author may have included (USMail addresses, telephone #, etc.).
- Report problems to: dwp@willett.pgh.pa.us
-