Search the web
Sign In
New User? Sign Up
forth200x
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
CfV: Throw IORs   Message List  
Reply | Forward Message #173 of 425 |
Re: [forth200x] CfV: Throw IORs

On Wednesday 11 July 2007 00:01, Peter Knaggs wrote:
> This is actually a poll about how widely the proposal is implemented and
> how popular it is among the programmers. It is called a CfV
> (call-for-votes) because the process is inspired by the Usenet Rdf/CfV
> process.

The ballot system doesn't work well to describe how Gforth and bigFORTH do
it, so I explain it in words:

Gforth and bigFORTH have made IORs throwable since the dawn of their ANS
Forth compatibility (both during the draft process). However, we use the
system-specific part of the throw code table, and have a way how to convert
signal and errno numbers into the THROW space.

If you relax your proposal in such a way that IORs must be throwable, and
the system also must provide a way to print out diagnostic strings (e.g.
the .ERROR we have in Gforth), a consent is easier to reach. I like to keep
as much information as possible about the original error, so mapping errors
to words that misbehave isn't such a good idea - a word like WRITE-FILE can
fail for quite a number of reasons (no space left on device, pipe closed,
low-level IO error, buffer outside address space, etc.). A backtracing
utility is a better way to locate the error, and you'll then see which word
misbehaved, as well.

So in general, I fully support the part of your proposal where IORs are made
throwable, but I don't support your throw code scheme.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/


Wed Jul 11, 2007 8:00 am

berndpaysan
Offline Offline
Send Email Send Email

Attachment
attachment
Type:
application/pgp-signature
Forward
Message #173 of 425 |
Expand Messages Author Sort by Date

This is actually a poll about how widely the proposal is implemented and how popular it is among the programmers. It is called a CfV (call-for-votes) because...
Peter Knaggs
pknaggs
Offline Send Email
Jul 10, 2007
10:02 pm

... The ballot system doesn't work well to describe how Gforth and bigFORTH do it, so I explain it in words: Gforth and bigFORTH have made IORs throwable since...
Bernd Paysan
berndpaysan
Offline Send Email
Jul 11, 2007
8:01 am

... The proposal does not say that you *must* use these numbers, it says that if you use these numbers, this is what the standard means by those specific...
Stephen Pelc
sfprem
Offline Send Email
Jul 11, 2007
10:29 am

... The proposal is now in the CfV stage and therefore frozen, so it cannot be revised in any significant way. Someone could do an alternative proposal that...
Anton Ertl
anton@...
Send Email
Jul 11, 2007
2:19 pm

... Yes. ... Yes. However, the list of THROW codes in the proposal only reserves numbers for use. There is nothing in it to stop you carrying on using the...
Stephen Pelc
sfprem
Offline Send Email
Jul 12, 2007
1:33 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help