Re: Stuff in core (was Re: date interface, on language (was Re: perl6 requirements, on bootstrap))

2000-08-02 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: From a language perspective, I have a scheme to allow us to yank all the cruft (sockets, shm, messages, localtime...) out into separate libraries, yet pull them in on demand without needing a use. a la dbmopen in perl5? -- Piers

Re: Perl6 in Java? (was Re: Meta-design)

2000-12-07 Thread Piers Cawley
"Bradley M. Kuhn" [EMAIL PROTECTED] writes: Dan Sugalski [EMAIL PROTECTED] wrote: However, I don't think we should dismiss it out of hand because people don't do a lot of systems programming C. some of the things we are going to build for C (if that's what we pick), are already there

Re: Guaranteed object destruction (was Re: Meta-design)

2000-12-07 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: I think I'd just as soon always call DESTROY in a predicable manner and not do *anything* perlish at GC time. If nothing else it means that we don't have to worry about having a valid perl context handy when the GC runs. (Since threading the thing is a

Re: Guaranteed object destruction (was Re: Meta-design)

2000-12-11 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 05:55 PM 12/7/00 +, Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: I think I'd just as soon always call DESTROY in a predicable manner and not do *anything* perlish at GC time. If nothing else it means that we don't have

Re: Thought for the day

2001-02-01 Thread Piers Cawley
Dave Storrs [EMAIL PROTECTED] writes: On Wed, 31 Jan 2001, Tim Bunce wrote: Since this thread is in the mood for quotes, here's one I'm fond of... It goes something along the lines of: Any fool can create a complicated system. The real skill is in making a simple one.

Re: Microsoft .NET Framework

2001-05-29 Thread Piers Cawley
translate Ruby's runtime libraries from C to Perl we'll be laughing. Or laughed at. I'm never quite sure. -- Piers Cawley www.iterative-software.com

Re: An overview of the Parrot interpreter

2001-09-04 Thread Piers Cawley
know how it was called? (ie: Through method dispatch or through straightforward symbol table lookup. I'm really hoping the answer to this is 'yes'.) Or will methods and subroutines be distinct now? -- Piers Cawley www.iterative-software.com

Re: Chr Ord, v0.4

2001-10-27 Thread Piers Cawley
Simon Cozens [EMAIL PROTECTED] writes: On Thu, Oct 25, 2001 at 09:47:01AM -0400, James Mastros wrote: This is version 0.4 of my chr and ord patch for parrot. Included is a patch, a test file, and an example. That one looks good. You know, if it had documentation, I'd commit it. :) I

Re: polymorphic inline caches

2001-11-13 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 11:39 AM 11/12/2001 -0500, Ken Fox wrote: Simon Cozens wrote: You save one level of indirection, at a large complexity cost. A lot less complexity than a JIT though. 100% portable code too. It's got the same sort of issue that a lot of other

Re: PMCs and how the opcode functions will work

2001-10-10 Thread Piers Cawley
Simon Cozens [EMAIL PROTECTED] writes: On Tue, Oct 09, 2001 at 11:50:55PM +0200, Benoit Cerrina wrote: It is clear that PMCs are object but does the acronym has a signification? Parrot Magic Cookie. Where can such things be found. In the documentation I'm in the middle of writing.

Re: Parrot FAQ

2001-12-07 Thread Piers Cawley
Nathan Torkington [EMAIL PROTECTED] writes: Piers Cawley writes: I got some mail from a publisher off the back of my 'Not Just for Damians' article asking if I'd like to write a perl 6 book for them. Must reply really. Sure, I'd be glad to write about perl 6. Do you also want to know

Re: Large string patch

2001-12-30 Thread Piers Cawley
David Lisa Jacobs [EMAIL PROTECTED] writes: From what I could tell, it looks like Dan put it in there as a potential GC hook when allocating the header of a string or PMC (see resources.c). My guess is that he is planning to fire off the GC from the interpreter. If that is the case and we

Re: on parrot strings

2002-01-18 Thread Piers Cawley
Hong Zhang [EMAIL PROTECTED] writes: preprocessing. Another example, if I want to search for /resume/e, (equivalent matching), the regex engine can normalize the case, fully decompose input string, strip off any combining character, and do 8-bit Hmmm. The above sounds complicated not

Re: scheme-pairs?

2002-01-25 Thread Piers Cawley
Uri Guttman [EMAIL PROTECTED] writes: DS == Dan Sugalski [EMAIL PROTECTED] writes: Correct, especially a list is nothing but a pair with another pair or an end-of-list-marker in its second element. To implement set-car! and set-cdr! both elements of this pair must be mutable DS

Re: Comm. Unity - (was Re: CPP Namespace pollution)

2002-01-25 Thread Piers Cawley
Melvin Smith [EMAIL PROTECTED] writes: I also could care less about reinventing the wheel, if I get to own my own wheel and put my name on it.. and paint it yellow... No mate, you want to paint it purple. You know it makes sense. -- Piers It is a truth universally acknowledged that a

Re: Perl 5 to Parrot

2002-04-09 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 11:12 AM +0100 1/2/70, James A Duncan wrote: Morning (BST) all, I've started work on B::Parrot, which is a Perl 5 to Parrot translation engine. Its very basic at the moment, but I've got it successfully translating things like: my $perliv = 10; my

Call stack manipulation?

2002-04-18 Thread Piers Cawley
So, here I am, roughing out some ideas for how I'm going to implement a very lovely and worthwhile scheme interpreter (or a compiler, I'm not proud) for parrot. If I'm going to be doing tail call optimization (and I can't call it scheme if I don't) then my first thought was as follows. # This

Re: Call stack manipulation?

2002-04-19 Thread Piers Cawley
Andrew J Bromage [EMAIL PROTECTED] writes: G'day all. On Fri, Apr 19, 2002 at 07:06:04AM +0100, Piers Cawley wrote: If I'm going to be doing tail call optimization (and I can't call it scheme if I don't) then my first thought was as follows. # This is a tail call

Re: [PATCH] intconst parameter type

2002-04-21 Thread Piers Cawley
Andrew J Bromage [EMAIL PROTECTED] writes: On Sat, Apr 20, 2002 at 10:06:10PM -0700, Steve Fink wrote: - Local label addresses are only valid within the scope containing the label (the result of jumping to someone else's local label is undefined, possibly triggering an exception in

Arrays of PMCs

2002-04-23 Thread Piers Cawley
Does anyone have an idea of when we're going to see these? Or hashes of PMCs, I don't really care which... -- Piers It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite. -- Jane Austen?

Re: [PATCH] Re: Arrays of PMCs

2002-04-24 Thread Piers Cawley
Steve Fink [EMAIL PROTECTED] writes: On Mon, Apr 22, 2002 at 05:40:09PM +0100, Piers Cawley wrote: Does anyone have an idea of when we're going to see these? Or hashes of PMCs, I don't really care which... Well, we don't have hashes of anything. We already have arrays of PMCs. You just

Re: Subroutines...

2002-04-29 Thread Piers Cawley
Andrew J Bromage [EMAIL PROTECTED] writes: G'day all. On Sun, Apr 28, 2002 at 09:49:35PM -0400, Melvin Smith wrote: I don't think I and Andrew were saying we shouldn't do caller-save, we were just discussing that the calling convention (read activation record of a subroutine) should

Hashes, symbol tables and other fun stuph.

2002-04-29 Thread Piers Cawley
So, I was thinking about how symbol tables are going to work, and I remembered that Dan had said that he wanted hashes to preserve their insertion order on print out. Which led me to think that it'd be really nice if there was some way of addressing hashes with integers to get the 'nth thing'

Re: First patch to memory allocation routines

2002-04-29 Thread Piers Cawley
Steve Fink [EMAIL PROTECTED] writes: On Mon, Apr 29, 2002 at 01:41:56PM -0400, Mike Lambert wrote: - Make an array of buffer data, in order of insertion into the hashtable. set pmc_pointer and buffer_ptr and let the GC rip through it. - The hashtable itself just uses indices into this array.

Re: Subroutines...

2002-04-30 Thread Piers Cawley
Andrew J Bromage [EMAIL PROTECTED] writes: G'day all. On Mon, Apr 29, 2002 at 11:59:45PM +0100, Tim Bunce wrote: [ I'm playing devils advocate for a while longer as I'm not 100% convinced ] Understood. Isn't compiler convienience a (the?) major issue here? I wouldn't call it a major

Re: Stacks, stacks, stacks (And frames)

2002-06-12 Thread Piers Cawley
Uri Guttman [EMAIL PROTECTED] writes: DS == Dan Sugalski [EMAIL PROTECTED] writes: DS We'll find out with A6 whether we do coroutines and continuations as DS part of the core perl. If not, well, python does the first and ruby DS the second, so it's all good in there. on the last

Perl 6 summary for the week ending 23rd June 2002

2002-06-24 Thread Piers Cawley
=head1 This week on Perl 6 (17-23 June 2002) by Piers Cawley, 020020624 =head2 Notes It's been a while since the last Perl 6 digest and summarizing everything that's happened since then would take, ooh, a while. So I've punted on that, and just pretended that the last one was published

Re: Perl5 humor

2002-06-25 Thread Piers Cawley
Tim Bunce [EMAIL PROTECTED] writes: On Tue, Jun 25, 2002 at 11:35:20AM +0100, Dave Mitchell wrote: On Tue, Jun 25, 2002 at 11:08:53AM +0100, Tim Bunce wrote: On Tue, Jun 25, 2002 at 12:23:34AM +0100, Dave Mitchell wrote: Of course, another approach is to embed the existing Perl5

Perl 6 Summary for week ending 2002-09-01

2002-09-03 Thread Piers Cawley
.' and that, no matter how many editions it goes through, Friedl's book is always going to be called *Mastering Regular Expressions*. So, Larry is `encouraging use of the technical term regex as a way to not precisely mean regular expression.' Piers Cawley raised a question about

Re: Scheme implementation details (was Re: Implementation of Lists for languages/scheme)

2002-09-10 Thread Piers Cawley
Juergen Boemmels [EMAIL PROTECTED] writes: Piers Cawley [EMAIL PROTECTED] writes: [...] typeof is a *really* bad idea. Let the 'Object' PMC handle the multilevel vtable look up (in exactly the same way that one does lexical lookup in the environment chain) and method invocation. So

P6C and closures

2002-09-12 Thread Piers Cawley
So, do we have a timetable for when the Perl 6 interpreter is going handle closures? Also, consider the following: sub fac($n) { when 0 { 1 } default { $n * fac($n - 1) } } print1 fac(10); Compiling this barfs because there's 'no topic in fac', despite the apocalypse stating

More fun with the perl 6 compiler.

2002-09-12 Thread Piers Cawley
So, I know that recursion doesn't seem to work in the simple case, but at least it reaches runtime. Mutual recursion doesn't even compile successfully. Here's the classic example of mutual recursion: sub even ($n) { given $n { when 0 { return 1 }; default { odd($n-1) };

Re: More fun with the perl 6 compiler.

2002-09-12 Thread Piers Cawley
Sean O'Rourke [EMAIL PROTECTED] writes: On Thu, 12 Sep 2002, Piers Cawley wrote: So, I know that recursion doesn't seem to work in the simple case, but at least it reaches runtime. Mutual recursion doesn't even compile successfully. It should do about this, since you're calling

Re: More fun with the perl 6 compiler.

2002-09-12 Thread Piers Cawley
Aaron Sherman [EMAIL PROTECTED] writes: On Thu, 2002-09-12 at 06:46, Piers Cawley wrote: Here's the classic example of mutual recursion: sub even ($n) { given $n { when 0 { return 1 }; default { odd($n-1) }; } } sub odd ($n) { given $n { when

Re: So long

2002-09-12 Thread Piers Cawley
John Porter [EMAIL PROTECTED] writes: I've decided it's time for me to take another break from this list. Not that any of you care, but I think the reason is important. Due to a silly misunderstanding -- one which could have been easily avoided by a simple request for clarification -- our

Happy Birthday Dan

2002-09-12 Thread Piers Cawley
What does it feel like to be middle aged? (Well, by the biblical count at least...) -- Piers It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite. -- Jane Austen?

Perl 6 Summary for week ending 2002-09-15

2002-09-18 Thread Piers Cawley
Implementation Details Jürgen Bömmels and Piers Cawley continued their discussion of how to go about implementing a scheme interpreter, and lambda in particular. Piers made noises about a proof of concept implementation of Scheme that he'd made using Perl objects, but didn't show

Re: Perl 6 Summary for week ending 2002-09-15

2002-09-19 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley wrote: Happy birthday to me! Congratulations. ... by my turning 35 on the 15th 44 on 16th - yes Sept. Congrats to you too. So, should I start maintaining a birthday database for the summaries? Probably not. -- Piers

Re: pre-PATCH: lexicals

2002-09-23 Thread Piers Cawley
Jonathan Sillito [EMAIL PROTECTED] writes: -Original Message- From: Sean O'Rourke [mailto:[EMAIL PROTECTED]] I think I didn't look through the patch queue carefully enough ;). I gather that it's accepted practice (or something like that) to use an array of pointers instead of links

Perl 6 Summary for week ending 2002-09-22

2002-09-25 Thread Piers Cawley
The Perl 6 Summary for the Week Ending 20020822 So, another week, another Perl 6 summary. Let's see if I can get through this one without calling Tim Bunce 'Tim Bunch' shall we? Or maybe I should leave a couple of deliberate errors in as a less than cunning ploy to get more

Perl 6 summary for week ending 2002-09-29

2002-10-01 Thread Piers Cawley
are you? Piers Cawley What do you do for/with Perl 6? I write the summaries every week, and try and contribute to perl6-language and perl6-internals when they're discussing things I know about. Where are you coming from? I've been a happy Perl user

Perl 6 Summary for last week

2002-10-22 Thread Piers Cawley
The Perl 6 Summary for the week ending 20021020 I'm sorry to have to inform you that I've returned from my holiday (no, base jumping and paragliding were *not* involved) and that this week's summary will not be written by the estimable Leon Brocard. Sorry about that. Leon is

Re: Off-list discussions, was Re: imcc hack for perl6 regexes

2002-11-01 Thread Piers Cawley
Clinton A. Pierce [EMAIL PROTECTED] writes: Most of the discussion in p6i goes right over my head, but I'm certainly enjoying the fruits of their labors. Huge amounts of it go over my head too, which means I'm never *quite* sure whether I've got the salient points in my summaries. -- Piers

Perl 6 Summary for last week

2002-11-01 Thread Piers Cawley
The Perl 6 Summary for the week ending 20021027 You may have noticed that this summary is late. Um... [looks sheepish, shuffles feet], the dog ate my homework. I did a tiny bit of procrastination at the beginning of the week and then got totally overtaken by events involving failed

Re: [perl #18097] [PATCH] allow NULL interpreter in sprintf like functions

2002-11-05 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Juergen Boemmels wrote: Leopold Toetsch [EMAIL PROTECTED] writes: When there is no interpreter in PIO_eprint, vfprintf gets called. As we are in the state of changing packfile.c (at least long term): Should the packfile functions have an

This weeks Perl 6 summary

2002-11-06 Thread Piers Cawley
and Larry had thought long and hard about whether or not to interleave sources and iterators before deciding on the current syntax. http://makeashorterlink.com/?W23612C52 http://makeashorterlink.com/?Y54632C52 Nondeterministic algorithms, flexops, and stuff Piers Cawley made heads

This week's Perl 6 Summary

2002-11-13 Thread Piers Cawley
Junctions are what we're calling superpositions this week. Piers Cawley had another crack (the operative word I think, on rereading) at his non deterministic search algorithm using junctions and a subclass of Function. Damian, of course, came up with a better possible syntax for lazy

This week's Perl 6 summary

2002-11-21 Thread Piers Cawley
not entirely sure why a thread titled `Superpositions and Laziness' should contain discussion of whether one should have a `pure' property or a `cached' one. Or both. Meanwhile, in the `laziness' side of the thread, Piers Cawley saw fit to post a huge chunk of uncommented code which

This week's Summary

2002-12-03 Thread Piers Cawley
http://makeashorterlink.com/?C2E8115A2 -- Larry's vision http://makeashorterlink.com/?E2F8325A2 -- Michael's vision http://makeashorterlink.com/?H409355A2 -- Bryan's vision http://makeashorterlink.com/?W219315A2 - Garrett's vision Just wondering... Piers Cawley pointed out

Re: Curses Life

2002-12-10 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 4:45 PM + 12/5/02, Leon Brocard wrote: Leon Brocard sent the following bits through the ether: Now to get the hand of the signatures... Ah, well, I gave up on SDL as it was a little complicated. Instead, I played with curses. Please find

Re: Curses Life

2002-12-16 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 4:45 PM + 12/5/02, Leon Brocard wrote: Leon Brocard sent the following bits through the ether: Now to get the hand of the signatures... Ah, well, I gave up on SDL as it was a little complicated. Instead, I played with curses. Please find

Re: Curses Life

2002-12-16 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: There are ways to get around that, and there are some inefficiencies in the implementation there. I think we can work around some of those--I am rather tempted to have invoke promise

This week's Perl 6 Summary

2002-12-18 Thread Piers Cawley
pipelines' thing, during which Piers Cawley got rather wound up. http://makeashorterlink.com/?O295150D2 In Brief Gregor is looking at adding native calls to Jako and thought he needed changes to IMCC to get things working, but the Patchmonster pointed him toward a workaround

This week's Perl 6 summary

2002-12-24 Thread Piers Cawley
) would be expensive, and reckoned that the basic approach should be fast and good enough for the common case. Piers Cawley wondered if doing object 'identity' comparison with a method (eg: $obj.is($other_obj);) wasn't actually the best way forward. (Piers had been applying his OO rule

This week's Perl Summary

2003-01-02 Thread Piers Cawley
The Perl 6 Summary for the week ending 20021229 This is not your normal summary. It's been Christmas, things have been quiet, I've been concentrating on mince pies, roast goose and all that other good stuff. Normal service will be resumed next week. Acknowledgements * Larry Wall

Re: This week's Perl Summary

2003-01-08 Thread Piers Cawley
Steve Fink [EMAIL PROTECTED] writes: On Jan-04, Leopold Toetsch wrote: Damian Conway wrote: Piers Cawley wrote: Acknowledgements But, of course, modesty forebade him from thanking the tireless Perl 6 summarizer himself, for his sterling efforts wading through the morasses that are P6

Thoughts on infant mortality...

2003-01-09 Thread Piers Cawley
This will be vague and handwavy, but I *think* it suggests something that hasn't been tried before... 1. The problem of infant mortality is that resource allocation can trigger a DOD run could wipe out the very thing we were allocating memory for. 2. This can be solved by extending the

Re: Objects, finally (try 1)

2003-01-21 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 3:06 PM -0500 1/15/03, Christopher Armstrong wrote: On Wed, Jan 15, 2003 at 01:57:28AM -0500, Dan Sugalski wrote: At 9:37 PM -0500 1/14/03, Christopher Armstrong wrote: But who knows, maybe it could be made modular enough (i.e., more

Re: Objects, finally (try 1)

2003-01-27 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 9:24 PM + 1/21/03, Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: Hrm, interesting. Single symbol table for methods and attributes, though that's not too surprising all things considered. That may make interoperability interesting

Re: Objects, finally (try 1)

2003-01-27 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 11:52 AM + 1/27/03, Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: At 9:24 PM + 1/21/03, Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: Hrm, interesting. Single symbol table for methods and attributes, though

This week's Perl 6 Summary

2003-01-27 Thread Piers Cawley
it as specifying a step. http://makeashorterlink.com/?Q1D521D33 Multiple Dispatch by Context? Piers Cawley wondered if it would be possible to specify a multimethod by context as well as by parameter types. Dan Sugalski managed to hole the proposal below the waterline

Re: This week's Perl 6 Summary

2003-02-11 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: The 2004 Performance challenge Dan announced that he'd made a bet with Guido van Rossum that Parrot would be faster at executing a pure python benchmark [ ... ] For some reason nobody commented on this.

This week's Perl 6 Summary

2003-02-17 Thread Piers Cawley
The Perl 6 summary for the week ending 20030216 Welcome to the all new, entirely unaltered, all singing, all dancing Perl 6 summary. Your beacon of reliability in the crazy world that is Perl 6 design and development. Another quiet week. Even quieter than last week in fact, unless

Re: [RFC] imcc calling conventions

2003-02-24 Thread Piers Cawley
Steve Fink [EMAIL PROTECTED] writes: I think this has been discussd before, but are we all okay with this callee-save-everything policy? At the very least, I'd be tempted to add a bitmasked saveall/restoreall pair to reduce the amount of cache thrashing. (saveall

Re: [RFC] imcc calling conventions

2003-02-25 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley wrote: Steve Fink [EMAIL PROTECTED] writes: ... I didn't follow about how that interferes with tail-call optimization. (To me, tail call optimization == replace recursive call with a goto to the end of the function preamble) Um

This week's Perl 6 Summary

2003-02-25 Thread Piers Cawley
The Perl 6 summary for the week ending 20030223 Another week, another Perl 6 Summary, in which you'll find gratuitous mentions of Leon Brocard, awed descriptions of what Leopold Tötsch got up to and maybe even a summary of what's been happening in Perl 6 design and development.

Re: [RFC] imcc calling conventions

2003-02-25 Thread Piers Cawley
Jerome Vouillon [EMAIL PROTECTED] writes: On Tue, Feb 25, 2003 at 08:47:55AM +0100, Leopold Toetsch wrote: Um... no. tail call optimization implies being able to replace *any* tail call, not just a recursive one with a simple goto. Consider the following calling sequence: b(arg) -

Re: 0.1.0

2003-02-25 Thread Piers Cawley
Jerome Quelin [EMAIL PROTECTED] writes: And even toy languages may benefit from objects (yes, I really need objects in order to implement -98 version of Befunge, especially since I want to include concurrent-funge support). Well, I could use my own hand-crafted objects as a list of whatever,

Re: [RFC] imcc calling conventions

2003-02-25 Thread Piers Cawley
Benjamin Goldberg [EMAIL PROTECTED] writes: Piers Cawley wrote: [snip] Um... no. tail call optimization implies being able to replace *any* tail call, not just a recursive one with a simple goto. [snip] In perl5, doing a tail call optimization can be done with just a simple goto... well

Re: [RFC] imcc calling conventions

2003-03-03 Thread Piers Cawley
Benjamin Goldberg [EMAIL PROTECTED] writes: Piers Cawley wrote: Benjamin Goldberg [EMAIL PROTECTED] writes: Piers Cawley wrote: [snip] Um... no. tail call optimization implies being able to replace *any* tail call, not just a recursive one with a simple goto. [snip] In perl5, doing

Re: Using imcc as JIT optimizer

2003-03-03 Thread Piers Cawley
Nicholas Clark [EMAIL PROTECTED] writes: On Wed, Feb 26, 2003 at 02:21:32AM +0100, Angel Faus wrote: [snip lots of good stuff] All this is obviously machine dependent: the code generated should only run in the machine it was compiled for. So we should always keep the original imc code in

Re: List datatype

2003-03-03 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 9:34 PM -0800 2/27/03, David wrote: Is there a List datatype for Parrot? I'm looking for something along the lines of what's in Python. Specifically, it should be able to do the following operations: Not yet, though we do need one. There's not much

Re: Objects and classes, try 3

2003-03-09 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: Okay, here's try three. I think I'm about ready to POD this up as a formal spec to be assaulted, but this version is more a sketch than anything: [...] Am I reading it right if I reckon that a Class isa Object? and an Object hasa Class (assuming that

Re: Objects and classes, try 3

2003-03-09 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 6:53 PM + 3/9/03, Piers Cawley wrote: Dan Sugalski [EMAIL PROTECTED] writes: Okay, here's try three. I think I'm about ready to POD this up as a formal spec to be assaulted, but this version is more a sketch than anything: [...] Am I reading

This week's Perl 6 Summary

2003-03-11 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030309 Ooh look, it's another of those Perl 6 Summaries where Piers tries to work a gratuitous reference to Leon Brocard into a summary of what's been happening to the Perl 6 development process this week. As tradition dictates, we'll start

This week's Perl 6 Summary

2003-03-18 Thread Piers Cawley
to know if the new declaration would automagically turn the old one into a multimethod. Michael Lazzaro thought not. As did Damian and Larry. Damian provided a summary of the rules for subroutine/method dispatch, which look wonderfully subvertable. Piers Cawley wondered if it would

This week's Summary

2003-03-25 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030323 Assuming I can tear myself away from stroking the cat who has just magically appeared on my chest and is even now trying to wipe his dags on my nose, welcome one and all to another Perl 6 summary, which should go a lot quicker now

This week's Perl 6 Summary

2003-03-31 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030330 Welcome once again to the gallimaufry that is a Perl 6 summary. Unfettered this week by the presence of feline distraction we plunge straight into the crystal clear waters of perk6-internals. Iterator proof of concept People must

Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-12 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Jonathan Sillito [EMAIL PROTECTED] wrote: Here is another suggestion (I think I mentioned this in another email) we could support a few different types of continuations. The simplest continuation could be just a saved return address (i.e. an

This week's summary

2003-06-09 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030608 It's another Monday, it's another summary and I need to get this finished so I can starting getting the house in order before we head off to Boca Raton and points north and west on the long road to Portland, Oregon. Via Vermont. (I'm

This week's Perl 6 Summary

2003-06-03 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030601 Another Monday, another Perl 6 Summary. Does this man never take a holiday? (Yes, but only to go to Perl conferences this year, how did that happen?) We start with the internals list as usual. More on timely destruction The

This week's Perl 6 Summary

2003-06-16 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030615 Welcome to the last Perl 6 Summary of my first year of summarizing. If I were a better writer (or if I weren't listening with half an ear to Damian telling YAPC about Perl 6 in case anything's changed) then this summary might well be

Re: Exceptions

2003-06-23 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: Okay, now that we're well on our way to getting sub/method/whatever calling down and working, I want to point us towards what I'm thinking of for exceptions. Exception handlers really strike me as anonymous lexically scoped subroutines that get called

This week's summary

2003-06-23 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030622 Welcome to my first anniversary issue of the Perl 6 Summary. Hopefully there won't too many more anniversaries to celebrate before we have a real, running Perl 6, but there's bound to be ongoing development after that. My job is

Re: Exceptions

2003-06-30 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Dan Sugalski [EMAIL PROTECTED] wrote: Exception handlers really strike me as anonymous lexically scoped subroutines that get called with just one parameter--the exception object. As far as the engine should be concerned, when an exception is taken we

Re: CPS invoke return context

2003-06-30 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 11:19 PM +0200 6/29/03, Leopold Toetsch wrote: Dan Sugalski wrote: ... I'd also like to be able to manipulate the stacks in a context, pushing things on them, changing values on them, and generally messing about with the things, so I'm all for it.

This week's summary

2003-06-30 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030629 Welcome to the third of my US tour Perl 6 summaries. Once again I'm pleased to report that the denizens of the Perl 6 mailing lists continue to make the life of a touring summarizer an easy one by not posting all that much to the

This Week's Summary

2003-07-08 Thread Piers Cawley
Perl 6 Summary for the week ending 20030706 Welcome to this week's Perl 6 Summary, coming to you live from a gatecrashed Speakers' lounge at OSCON/TPC, surrounded by all the cool people like Dan Sugalski, Lisa Wolfisch, Graham Barr and Geoff Young, who aren't distracting me from

This week's summary

2003-07-15 Thread Piers Cawley
Perl 6 Summary for the week ending 20030713 Welcome once again to the Perl 6 Summary, in a week of major developments and tantalizing hints. Starting, as usual, with what's happening in perl6-internals Targeting Parrot from GCC Discussion in the thread entitled 'WxWindows

The Perl 6 Summary

2003-07-21 Thread Piers Cawley
Perl 6 Summary for the week ending 20030720 Welcome back to an interim Perl 6 Summary, falling as it does between two conference weeks; OSCON and YAPC::Europe. For reasons involving insanity, a EuroStar ticket going begging, and undeserved generosity I shall be bringing my

Re: The Perl 6 Summary

2003-07-21 Thread Piers Cawley
Adam Turoff [EMAIL PROTECTED] writes: On Mon, Jul 21, 2003 at 03:20:26PM +0100, Piers Cawley wrote: Acknowledgements, Announcements and Apologies First of all, I plead insanity for my mistake of last week's summary. PONIE does not stand for 'Perl On New Internal Architecture

This week's Perl 6 Summary

2003-07-29 Thread Piers Cawley
Perl 6 Summary for the week ending 20030727 Welcome to another in the ongoing series of Perl 6 summaries in which your faintly frazzled summarizer attempts to find a native speaker of Esperanto to translate this opening paragraph in honour of the huge amount of money (1371 Euros)

This Week's Perl 6 Summary

2003-08-06 Thread Piers Cawley
Perl 6 Summary for the week ending 20030703 Ooh look, it's another Perl 6 summary. Doesn't that man ever take a holiday? I think he took one last month. Is it in Esperanto this week? I don't think so. Does Leon Brocard get a mention? It certainly looks that way.

Re: parrot bug: continuations/multiple return

2003-08-09 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: As calling conventions clearly state, that the caller has to save everything, its probably up to imcc/pcc.c to insert above statements, if another sub gets called from a sub. I'll fix that in a minute ;-) If and only if that's not a tail call of

Re: parrot bug: continuations/multiple return

2003-08-11 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley [EMAIL PROTECTED] wrote: Leopold Toetsch [EMAIL PROTECTED] writes: As calling conventions clearly state, that the caller has to save everything, its probably up to imcc/pcc.c to insert above statements, if another sub gets called from

Re: Tail calls

2003-08-14 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley [EMAIL PROTECTED] wrote: I'm not sure you can optimize it to a jump opcode when you're tail calling another function can you? You could be tailcalling into a closure so you'll need to use invoke to do the right thing with the lexical

Re: This Week's Summary

2003-08-14 Thread Piers Cawley
Dave Mitchell [EMAIL PROTECTED] writes: On Mon, Aug 11, 2003 at 07:32:00PM -, Rafael Garcia-Suarez wrote: Will I really be forced to reimplement the whole subrecursive frobnizer for tied magic ? Almost certainly, I expect. There's nothing to stop us *both* summarizing the parrot-dev

Re: parrot, win32, stand-alone distribution, separate Parrot maillist

2003-08-14 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 8:48 PM +0200 8/4/03, Valery A.Khamenya wrote: Hi All, are there any info on getting ready-to-try Parrot for win32 as stand-alone distribution? Not that I know of. If someone's got a working build and can put together a tarball or zip file, we

This Week's Summary

2003-08-14 Thread Piers Cawley
Perl 6 Summary for the week ending 20030810 Another week, another summary. How predictable is that? In keeping with the predictability, we'll start with the internals list. Set vs. Assign T.O.G of Spookware has an issue with the way IMCC treats =; sometimes an = means set and

Re: [CVS ci] PackFile-12: run code in loaded sorcefile

2003-08-18 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: With this patch, the major pieces are finished ... load_bytecode temp.imc $P0 = global _sub2 .pcc_begin prototyped .pcc_call $P0 does what it look's like: call the Sub _sub2 in the loaded sorce file. Cload_bytecode source_file

  1   2   3   >