Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #28328
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: 2012 rc2: LOCALS| |
| Date | 2014-02-12 09:45 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2014Feb12.104520@mips.complang.tuwien.ac.at> (permalink) |
| References | <d0f64fe1-c4dd-497f-baff-e2c147bbde3a@googlegroups.com> |
darktjm@gmail.com writes:
>Hello,
>
>A comment on the forth-rc2 document:
>
>I was going to post this to the 200x list, but my Yahoo account has long expired due to inactivity, and I refuse to sign up for a new account if entering a mobile phone number is required.
I don't think you need a Yahoo account for sending mail to the list,
but I am not really up to data on this. Anyway, several committee members also read here, so
>LOCALS| still says "up to eight", even though the limit has been
>raised to 16. I assume this is unintentional.
Not quite sure about that. I don't remember if we discussed it, but
maybe we have and just decided not to touch LOCALS|.
Any existing programs that use LOCALS| will work as they worked
before. Any new programs or programs that get more locals in the
course of maintenance can (and IMO should) use {: instead.
That being said, if a system supports 16 locals, I doubt LOCALS| will
support fewer locals on that system (if the system implements
LOCALS|).
On the meta level, it was a mistake (in Forth-94) to put the limit in
two places. We did not repeat this mistake in the definition of {:.
>In fact, I was always
>wondering why the implementation can support more than 8 locals, but
>LOCALS| is fixed to 8.
A standard program (without environmental dependences) cannot use more
than 8 locals. What a system does when you write a LOCALS| definition
with more than 8 locals is up to the system. Many things in the
standard work that way: It describes what a standard program looks
like and how a stanard system behaves when it encounters a standard
program, but does not say anything about non-standard programs.
- 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 2013: http://www.euroforth.org/ef13/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
2012 rc2: LOCALS| darktjm@gmail.com - 2014-02-11 18:49 -0800
Re: 2012 rc2: LOCALS| "Elizabeth D. Rather" <erather@forth.com> - 2014-02-11 17:05 -1000
Re: 2012 rc2: LOCALS| darktjm@gmail.com - 2014-02-11 20:26 -0800
Re: 2012 rc2: LOCALS| "Elizabeth D. Rather" <erather@forth.com> - 2014-02-11 19:18 -1000
Re: 2012 rc2: LOCALS| anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-02-12 09:45 +0000
Re: 2012 rc2: LOCALS| darktjm@gmail.com - 2014-02-12 18:13 -0800
Re: 2012 rc2: LOCALS| Mark Wills <markrobertwills@yahoo.co.uk> - 2014-02-13 00:39 -0800
Re: 2012 rc2: LOCALS| Elizabeth D Rather <erather@forth.com> - 2014-02-12 22:56 -1000
Re: 2012 rc2: LOCALS| anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-02-13 09:06 +0000
Re: 2012 rc2: LOCALS| stephenXXX@mpeforth.com (Stephen Pelc) - 2014-02-13 12:44 +0000
2012 rc2: REPLACES/SUBSTITUTES darktjm@gmail.com - 2014-02-13 14:19 -0800
csiph-web