Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #13214
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: THROW and iors |
| Date | 2012-06-24 13:01 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2012Jun24.150128@mips.complang.tuwien.ac.at> (permalink) |
| References | <4fe60471.71597048@192.168.0.50> |
stephenXXX@mpeforth.com (Stephen Pelc) writes:
>I posted this around September 2006, but it was not the time. Now
>some people seem to believe it is a good idea that ior return values
>can be THROWn. Here it is again.
That proposal is in Forth 200x, but it does not say any more than
Forth-94 that the iors returned by various words are sensible throw
codes:
>Proposal
>========
>Extend the THROW code table (Table 9.2 in 9.3.5) so that there is
>a separate THROW code for each word that returns an ior.
Systems are (thankfully) not required to produce these codes as iors.
More importantly, systems are (unfortunately) not required to do
anything sensible if they catch a thrown ior.
It's admittedly hard to nail such things down, because we don't nail
the system's exception handler down. And given that most systems do
the right thing, it may be good enough to put in something informal
that says that iors are expected to be THROWn, and that the system's
exception handler should react accordingly.
- 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 2012: http://www.euroforth.org/ef12/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
THROW and iors stephenXXX@mpeforth.com (Stephen Pelc) - 2012-06-23 18:04 +0000
Re: THROW and iors Bernd Paysan <bernd.paysan@gmx.de> - 2012-06-23 23:17 +0200
Re: THROW and iors "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-06-24 04:17 -0400
Re: THROW and iors Coos Haak <chforth@hccnet.nl> - 2012-06-25 22:02 +0200
Re: THROW and iors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-06-24 13:01 +0000
Re: THROW and iors Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-06-25 05:01 -0700
Re: THROW and iors Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-06-26 01:08 +0000
Re: THROW and iors jfong <jfong@ms4.hinet.net> - 2012-06-25 20:13 -0700
Re: THROW and iors BruceMcF <agila61@netscape.net> - 2012-06-26 10:18 -0700
Re: THROW and iors jfong <jfong@ms4.hinet.net> - 2012-06-26 18:53 -0700
Re: THROW and iors Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-07-02 21:36 -0700
Re: THROW and iors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-07-03 13:34 +0000
Re: THROW and iors Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-07-03 21:37 -0700
csiph-web