Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
RfD: EKEY Event Record
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Knaggs  
View profile  
 More options Feb 23 2010, 8:57 pm
Newsgroups: comp.lang.forth
From: "Peter Knaggs" <p...@bcs.org.uk>
Date: Wed, 24 Feb 2010 01:57:25 -0000
Local: Tues, Feb 23 2010 8:57 pm
Subject: RfD: EKEY Event Record
RfD: EKEY Event Record
======================

2010-02-24  Minor revisions
2009-09-03  Separated from KEY/EKEY proposal.
2009-03-31  Original Text

Problem
=======

The rationale for EKEY allows for an "event record" being returned
but the word has a signature of ( -- u ) which forbids the address of
such a record being returned.

Solution
========

Correct the stack signature of EKEY to ( -- x ) in order to allow an
address to be returned.  The stack descriptions of both EKEY>CHAR and
EKEY>FKEY must also be changed to allow them to accept an address (x)
rather than a value (u).

Proposal
========

1. Replace u with x in the definition of 10.6.2.1305 EKEY.
    ( -- u ) becomes ( -- x )

2. Replace the u with x in the definition of 10.6.2.1306
    EKEY>CHAR. ( u -- u false | char true ) becomes
    ( x -- x false | char true ).

3. Change the definition of 10.6.2.xxxx EKEY>FKEY from
    ( u1 -- u2 f ) to ( x -- u flag ).

4. Define the lifetime of the "event record" by adding the following
    to the definition of 10.6.2.1305 EKEY:

        x is valid until the next call to EKEY or EKEY?.

Author
======
Peter Knaggs <p...@bcs.org.uk>
School of Engineering, Mathematics and Physical Sciences,
University of Exeter, Exeter, Devon EX4 7QF, England


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »