[Push] Typing Stack Information

Rud Merriam k5rud at arrl.net
Wed Oct 29 20:55:57 EST 2003


I didn't explain my idea well. My thought is to have stack entries be a
pair: (value, type). By examining the entry you know which overloaded
operation is needed.

Rud Merriam
K5RUD


----- Original Message ----- 
From: "Lee Spector" <lspector at hampshire.edu>
To: "Rud Merriam" <k5rud at arrl.net>; "Push" <Push at lists.hampshire.edu>
Sent: Wednesday, October 29, 2003 1:28 PM
Subject: [_] Re: [Push] Typing Stack Information


|
| Rud,
|
| The idea you outlined sounds much like the TYPE stack mechanism in the
| original version of Push -- the TYPE stack is consulted (but not popped)
| for each instruction executed to determine which method to execute (since
| many instructions are overloaded). But perhaps I didn't understand your
| proposal correctly...





More information about the Push mailing list