Re: pre-PATCH: functions in languages/scheme

2002-09-26 Thread Sean O'Rourke
On 26 Sep 2002, Juergen Boemmels wrote: > These may be nice but not needed for scheme > * get keyed with INTVAL (getting direct to the Hashes) > * set keyed with INTVAL;STRING Both get(INTVAL;STRING) and set(INTVAL;STRING) are needed (or at least useful) for accessing hidden lexicals in outer

Re: pre-PATCH: functions in languages/scheme

2002-09-26 Thread Juergen Boemmels
Dan Sugalski <[EMAIL PROTECTED]> writes: > Working on this. If everyone wants to hash out the sort of semantics > they're thinking about, we can probably get to closure reasonably fast > and get things designed and implemented quickly. My scheme implementation is a working (a little bit hacky bu

Re: pre-PATCH: functions in languages/scheme

2002-09-26 Thread Juergen Boemmels
"Jonathan Sillito" <[EMAIL PROTECTED]> writes: > It would be nice if parrot provided the lexical scope semantics scheme (and > other languages) needs rather than have each language implement their own. I > guess this would be Dan's call, but just as another suggestion, could the > lexical ops be

RE: pre-PATCH: functions in languages/scheme

2002-09-26 Thread Dan Sugalski
At 12:04 PM -0700 9/25/02, Jonathan Sillito wrote: >It would be nice if parrot provided the lexical scope semantics scheme (and >other languages) needs rather than have each language implement their own. I >guess this would be Dan's call, but just as another suggestion, could the >lexical ops be l

RE: pre-PATCH: functions in languages/scheme

2002-09-25 Thread Jonathan Sillito
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > The current pad_stack handling is very much tied to Sub.pmc. The only > way of getting the current scope is creation of a new sub; the only > way setting the current pad is invoking this sub. > > But I didn't use

Re: pre-PATCH: functions in languages/scheme

2002-09-25 Thread Juergen Boemmels
[cc'd to perl6-internals] "Jonathan Sillito" <[EMAIL PROTECTED]> writes: [...] > If I remember correctly Sean's patch did store the scratchpad with the > Sub.pmc, except that I retreived it from the current context's pad_stack. > Then when Sub.pmc was invoked it pushed the correct pad on the st

Re: pre-PATCH: functions in languages/scheme

2002-09-24 Thread Sean O'Rourke
On 24 Sep 2002, Juergen Boemmels wrote: > I just got functions running in scheme. > > It uses a pre-version of Sean O'Rourkes scratchpad.pmc. (Sean, I had to > reimplement some functions to get it compile, did I get them right?) Hopefully it will be easy to reconcile our different versions (and w

Re: pre-PATCH: functions in languages/scheme

2002-09-24 Thread Juergen Boemmels
Ups, something went wrong with my last mail, the explaining text was chopped off. Ok here its again. Hi, I just got functions running in scheme. It uses a pre-version of Sean O'Rourkes scratchpad.pmc. (Sean, I had to reimplement some functions to get it compile, did I get them right?) P31 alwa

pre-PATCH: functions in languages/scheme

2002-09-24 Thread Juergen Boemmels
Index: MANIFEST === RCS file: /cvs/public/parrot/MANIFEST,v retrieving revision 1.223 diff -u -r1.223 MANIFEST --- MANIFEST 23 Sep 2002 00:11:18 - 1.223 +++ MANIFEST 23 Sep 2002 23:19:34 - @@ -35,6 +35,7 @@ classes/perlundef.