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: ANS TC Magnet for ROMability
- Message-ID: <4034.UUL1.3#5129@willett.pgh.pa.us>
- Date: 2 Sep 92 11:43:38 GMT
- Organization: EIEI-U
- Lines: 58
-
- Category 10, Topic 22
- Message 83 Tue Sep 01, 1992
- L.ZETTEL [Len] at 21:01 EDT
-
- Disclaimer: What follows is necessarily individual opinion because the
- committee hasn't issued am official position yet.
-
- First, I call your attention to the following:
- * * *
- 2.0130 compilation
- The process of transforming source code into definitions in the
- dictionary.
- * * *
- After thinking hard about the matter, the only answer I can give to the
- question "Can there be ANS Forth cross-compilers?" is a firm,
- unequivocal, "it depends".
-
- It depends on the answer to two questions:
-
- 1) Is the target system (apologies, Elizabeth) necessarily part of the
- ANS Forth system during the process of cross-compilation?
-
- 2) Must the words in the target system dictionary be treated on an equal
- footing with words in the host ANS Forth system dictionary during the
- process of cross-compilation?
-
- If the answer to these questions is yes, I cheerfully predict the answer
- X3J14 will give to the question (and the only sensible answer it can give
- under the circumstances) will boil down to "The answer to that question
- is beyond the scope of the standard, so we decline to answer at this
- time."
-
- On the other hand, if due to the iron whim of the marketing department or
- an unbreakable geas from the elder gods of hackerdom, I felt an
- overwhelming urge to produce something I could call an ANS Forth standard
- system with a cross-compiler, I would argue (and build) as follows:
-
- 1) The target system is NOT part of the standard forth system, but
- something the standard system communicates with.
-
- 2) The target dictionary is a data structure whose words, at the time of
- cross-compilation, do not necessarily follow the same rules for search
- and findability as words in the Standard Forth System dictionary. Thus,
- while the target dictionary may be in the dictionary in the same sense an
- array or text string might be in the dictionary, the words in it might be
- no more findable than the words in a text string.
-
- Given that, I can conceive of the possibility of building something that
- could be called an ANS Standard Forth System with a non-standard
- extension that would cross-compile.
-
- And that's where I stand for now. I really do hope this helps.
- -LenZ-
- -----
- 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
-