Re: Current Standings: Number Prefixes
- From: anton@xxxxxxxxxxxxxxxxxxxxxxxxxx (Anton Ertl)
- Date: Mon, 27 Aug 2007 19:07:49 GMT
The Beez' <hansoft@xxxxxxxxxxx> writes:
- Second, Forth seems to be moving in a direction (LOCALS, escaped
strings, constants) where it doesn't seem to matter whether I'm using
C or Forth. Forth EXPOSES its internals and those proposals do every
effort to HIDE them again.
That seems a curious claim to make wrt escaped strings and number
prefixes (I guess that's what you mean with constants). How do these
proposals hide anything?
- Third, every effort was taken to make sure that parts of Forth are
optional. This proposal violates that by embedding it in the text
interpreter.
I see two views of "optional" at work here (conveniently clouded by
the use of passive voice):
1) The standard text makes lots of things optional, in particular all
the extension word sets; i.e., a system may or may not implement the
extension and may still claim to be standard. The present proposal
follows this tradition and also proposes number prefixes as an
optional extension. I.e., even if it gets into the Forth200x
document, you can still have a Forth 200x system that does not
implement number prefixes.
2) Some systems make extensions optional in the sense that they can be
loaded in the system or not. This may be a little more difficult with
an extension that extends text interpreter number conversion than with
an extension that just provides additional words, but it is possible
(actually one way to achieve this was recently discussed in the thread
on "number parsing hooks":
<2007Aug4.093801@xxxxxxxxxxxxxxxxxxxxxxxxxx> ff.).
Note that the double-number and Floating-Point wordsets also "embed"
themselves in the text interpreter. In Gforth the FP conversion is
not there from the start, it embeds itself later.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2007: http://www.complang.tuwien.ac.at/anton/euroforth2007/
.
- References:
- Current Standings: Number Prefixes
- From: Anton Ertl
- Re: Current Standings: Number Prefixes
- From: The Beez'
- Re: Current Standings: Number Prefixes
- From: Krishna Myneni
- Re: Current Standings: Number Prefixes
- From: The Beez'
- Current Standings: Number Prefixes
- Prev by Date: Re: New version of John Hayes' tester
- Next by Date: Re: Tiny OS based on byte-code interpreter
- Previous by thread: Re: Current Standings: Number Prefixes
- Next by thread: Re: Current Standings: Number Prefixes
- Index(es):
Relevant Pages
|