T and L parameter types for NCI

2006-01-02 Thread Dan Sugalski
of the removed call types. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Ordered Hashes -- more thoughts

2005-06-09 Thread Dan Sugalski
5c2c71aa8#24a935c5c2c71aa8>http://groups-beta.google.com/group/perl.perl6.internals/browse_frm/thread/86466b906c8e6e10/24a935c5c2c71aa8#24a935c5c2c71aa8 where Dan Sugalski says: "I'd just pitch an exception if code deletes an entry ..." Perhaps this is OK, because this code is intended f

Re: What the heck is... wrong with Parrot development?

2005-06-07 Thread Dan Sugalski
o, things weren't particularly happy in parrot land. And no, you generally didn't see it. And no, it has nothing to do with Larry. And no, I'm not going to go into it here -- this isn't the place for it. -- Dan ------

Re: Missing MMD default functions?

2005-06-04 Thread Dan Sugalski
At 8:14 PM -0400 6/3/05, Chip Salzenberg wrote: On Fri, Jun 03, 2005 at 02:55:52PM -0400, Dan Sugalski wrote: Dan was expecting sane defaults, that is when I do addition with two PMCs that haven't otherwise said they behave specially that the floating point values of the two PMC

Re: Missing MMD default functions?

2005-06-03 Thread Dan Sugalski
Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Missing MMD default functions?

2005-06-03 Thread Dan Sugalski
At 2:50 PM +0200 6/3/05, Leopold Toetsch wrote: Dan Sugalski wrote: Right, so to reduce code duplication you remove stuff that's working so people have to go reimplement the code. That makes *perfect* sense. I've announced and summarized all these changes, e.g. http://xrl.us/ga

Re: Missing MMD default functions?

2005-06-03 Thread Dan Sugalski
At 9:23 AM +0200 6/3/05, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: I sync'd up with subversion this afternoon, and I'm finding that a *lot* of things that used to work for me are now breaking really badly. Specifically where there used to be sane fall

Missing MMD default functions?

2005-06-02 Thread Dan Sugalski
Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

re: Keys

2005-06-01 Thread Dan Sugalski
perties and attributes. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [PATCH]Loop Improvements

2005-06-01 Thread Dan Sugalski
s early and my memory's not cooperating at the moment) -- Dan ----------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even

Keys

2005-05-31 Thread Dan Sugalski
d still handling the more legacy one-dimensional aggregates of references scheme that, say, perl 5 uses. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [PATCH]Loop Improvements

2005-05-31 Thread Dan Sugalski
------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: refcounts and DOD

2005-05-26 Thread Dan Sugalski
arrot can't find 'em) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: ordered hash thoughts

2005-05-25 Thread Dan Sugalski
d really like it fast and simple enough to be reasonably auditable) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: Parrot as an extension language

2005-05-20 Thread Dan Sugalski
At 4:35 PM -0400 5/20/05, C. Scott Ananian wrote: On Fri, 20 May 2005, Dan Sugalski wrote: Well, mostly. string->cstring conversion is potentially lossy, if for no other reason than embedded nulls will get in your way. I see we're not exposing anything to do that, though, which we ought

Re: Parrot as an extension language

2005-05-20 Thread Dan Sugalski
thing -- in principle it's not that tough (Hey, I did one, I get to say that :) though that does depend on what the code in the interface generator looks like. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Parrot as an extension language

2005-05-20 Thread Dan Sugalski
ought to fix. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Useful task -- Character properties

2005-05-04 Thread Dan Sugalski
sequences. I thought I'd put in some docs to that effect, but apparently not. :( -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: parrot and refcounting semantics

2005-05-02 Thread Dan Sugalski
u can reduce the uncertainty you get a speed boost. A lot of programs aren't in a position to do that, which is fine. Parrot, because of what it is, *is* in a position to do so, so we did. -- Dan --it's like this--

Re: parrot and refcounting semantics

2005-04-30 Thread Dan Sugalski
At 9:19 AM +0200 4/30/05, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: > ... We should probably make it 'safe' by forcing the destroyed PMC to be an Undef after destruction, in case something was still referring to it. That sounds sane. Or maybe be: convert

Re: parrot and refcounting semantics

2005-04-30 Thread Dan Sugalski
At 7:50 PM +0200 4/30/05, Robin Redeker wrote: Hi! Just a small question: On Thu, Apr 28, 2005 at 04:37:21PM -0400, Dan Sugalski wrote: If you don't have the destroy, and don't tag the object as needing expedited cleanup, then the finalizer *will* still be called. You just don&

Re: parrot and refcounting semantics

2005-04-30 Thread Dan Sugalski
At 11:12 PM -0400 4/29/05, Bob Rogers wrote: From: Dan Sugalski <[EMAIL PROTECTED]> Date: Fri, 29 Apr 2005 15:23:47 -0400 At 10:55 PM -0400 4/28/05, Bob Rogers wrote: >From: Robin Redeker <[EMAIL PROTECTED]> >I'm astounded. Do neither of you ever desi

Re: parrot and refcounting semantics

2005-04-29 Thread Dan Sugalski
onal to the number of live objects. It's definitely possible to work up degenerate examples for both refcount and tracing systems that show them in a horribly bad light relative to the other, but in the general case the tracing schemes are significantly less expensive. From: Dan

Re: parrot and refcounting semantics

2005-04-29 Thread Dan Sugalski
7;s set up. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: parrot and refcounting semantics

2005-04-29 Thread Dan Sugalski
n, in case something was still referring to it. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even

Re: parrot and refcounting semantics

2005-04-28 Thread Dan Sugalski
acing system *isn't*. That'd require changing the entire source base, and just isn't feasible. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: parrot and refcounting semantics

2005-04-28 Thread Dan Sugalski
the object even if there are outstanding references, which is likely the wrong thing to do. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy

Re: parrot and refcounting semantics

2005-04-28 Thread Dan Sugalski
At 12:12 AM +0200 4/28/05, Robin Redeker wrote: On Wed, Apr 27, 2005 at 12:33:30PM -0600, Luke Palmer wrote: Dan Sugalski writes: > Also, with all this stuff, people are going to find timely destruction > is less useful than they might want, what with threads and > continuations,

Re: parrot and refcounting semantics

2005-04-28 Thread Dan Sugalski
At 5:57 PM +0200 4/28/05, Robin Redeker wrote: On Wed, Apr 27, 2005 at 03:43:32PM -0400, Dan Sugalski wrote: At 5:40 PM +0200 4/27/05, Robin Redeker wrote: >Just for the curious me: What was the design decision behind the GC >solution? Was refcounting that bad? Refcounting gives a more

Re: parrot and refcounting semantics

2005-04-27 Thread Dan Sugalski
now, though I think it's in there for perl 6. I doubt the python, ruby, Lisp, or Tcl compilers will emit the cleanup-at-block-boundary sweep code. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

One more MMD -- assignment?

2005-04-22 Thread Dan Sugalski
dea. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [RFC] some doubtable MMDs?

2005-04-20 Thread Dan Sugalski
n entry in the MMD table. -- Dan ------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: More registers

2005-04-14 Thread Dan Sugalski
At 4:42 PM +0200 4/14/05, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 3:53 PM +0200 4/14/05, Jens Rieks wrote: Yes, the CVS repository is not updated anymore. Swell You need just this part: Date: Wed Apr 13 03:04:41 2005 New Revision: 7824 Modified: >t

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 9:51 AM -0700 4/14/05, Dave Whipp wrote: Dan Sugalski wrote: All security is done on a per-interpreter basis. (really on a per-thread basis, but since we're one-thread per interpreter it's essentially the same thing) ... * Number of open files * IO operations/sec * IO

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 5:51 PM -0400 4/13/05, Aaron Sherman wrote: On Wed, 2005-04-13 at 17:01, Dan Sugalski wrote: So here's what I was thinking of for Parrot's security and quota model. (Note that none of this is actually *implemented* yet...) [...] It's actually pretty straightforward, the hard

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 10:44 AM -0400 4/14/05, Aaron Sherman wrote: On Thu, 2005-04-14 at 09:11, Dan Sugalski wrote: At 10:03 PM -0400 4/13/05, Michael Walter wrote: >On 4/13/05, Dan Sugalski <[EMAIL PROTECTED]> wrote: >> All security is done on a per-interpreter basis. (really on a >>

Re: More registers

2005-04-14 Thread Dan Sugalski
At 3:53 PM +0200 4/14/05, Jens Rieks wrote: On Thursday 14 April 2005 15:33, Dan Sugalski wrote: (If the CVS repository's not up to date I can see about getting subversion installed and working) Yes, the CVS repository is not updated anymore. Swell -- I thought when we were switching ov

Re: More registers

2005-04-14 Thread Dan Sugalski
At 2:05 PM -0400 4/13/05, Dan Sugalski wrote: At 12:05 PM +0200 4/13/05, Leopold Toetsch wrote: As of rev 7824 Parrot *should* run with NUM_REGISTERS defined as 64 too. Only some stack tests are failing that do half frame push and pop tests. imcc/t/reg/spill_2 just spills 4 registers instead of

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 10:03 PM -0400 4/13/05, Michael Walter wrote: Dan, On 4/13/05, Dan Sugalski <[EMAIL PROTECTED]> wrote: All security is done on a per-interpreter basis. (really on a per-thread basis, but since we're one-thread per interpreter it's essentially the same thing) Just to get

A sketch of the security model

2005-04-13 Thread Dan Sugalski
rimitive, and I don't think it's the one to take. (We could invent our own, but history shows that people who invent their own security system invent ones that suck, so that looks like something worth avoiding) -- Dan

Re: Parrot and the web (PHP?)

2005-04-13 Thread Dan Sugalski
arantees it makes. Now, it may make them by using facilities the OS provides (which makes the job easier) but it doesn't have to -- it can and will do it with no OS help if need be. -- Dan ----------it's like this--- Dan Sugalski

Re: pugs CGI.pm

2005-04-13 Thread Dan Sugalski
ly recommend against it) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Parrot and the web (PHP?)

2005-04-13 Thread Dan Sugalski
. Luckily there are plans for one. :) -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: More registers

2005-04-13 Thread Dan Sugalski
of your big subroutines and report compile times and functionality. Sure. I'll sync up and give it a shot. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL

Re: Parrot and the web (PHP?)

2005-04-13 Thread Dan Sugalski
be parrot) if you want it to work. -- Dan ------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Passing on the hat

2005-03-22 Thread Dan Sugalski
At 12:27 PM -0500 3/22/05, MrJoltCola wrote: At 06:55 PM 3/21/2005, Chip Salzenberg wrote: According to Dan Sugalski: As such, I'd like to say a big thanks to Chip Salzenburg who's agreed to take the hat. I thank you for your kind words, and for giving me the opportunity again to work

Re: Passing on the hat

2005-03-21 Thread Dan Sugalski
At 12:50 PM -0800 3/21/05, chromatic wrote: On Mon, 2005-03-21 at 15:39 -0500, Dan Sugalski wrote: And, to forestall some of the wave of questions and off-list grumbling: The FAQ! Q: Is there any way to talk you into continuing to design, or at least describing, the long-awaited security model

Passing on the hat

2005-03-21 Thread Dan Sugalski
m just *tired*. Definitely a sign it's time to pass the hat and get out of the way. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [PROPOSAL] MMD: multi sub syntax

2005-03-21 Thread Dan Sugalski
re the @MULTI() carries the signature, with a dash denoting positions whose types are ignored for purposes of MMD lookup. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: [CVS ci] builtins

2005-03-21 Thread Dan Sugalski
n ------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Namespaces

2005-03-21 Thread Dan Sugalski
since namespaces are supposed to be lexically and dynamically overridable, as well as layered, but that's all a separate thing) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Parrot_Exec_OS_Command interface ?

2005-03-21 Thread Dan Sugalski
han quick filename munging that I'm not sure it's worth it, really) Anyway, any sort of OS-independence should live on top of the low-level interface, and would be a reasonable thing to put in a library. -- Dan ------it's like this

Re: Calling conventions, invocations, and suchlike things

2005-01-28 Thread Dan Sugalski
At 5:04 PM -0500 1/18/05, Sam Ruby wrote: Dan Sugalski wrote: Hi folks. Welcome back! Parrot's got the interesting, and somewhat unfortunate, requirement of having to allow all subroutines behave as methods and all methods behave as subroutines. (This is a perl 5 thing, but we have to ma

Re: Name of parrot executable

2005-01-20 Thread Dan Sugalski
At 1:50 PM -0500 1/19/05, Matt Diephouse wrote: On Wed, 19 Jan 2005 11:09:19 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote: Good point--we should. That'd mean we'd want to have three sets of data: the invoked full/base name, the 'program' full/base name, and the interp

Re: Name of parrot executable

2005-01-19 Thread Dan Sugalski
At 4:02 PM + 1/19/05, Nicholas Clark wrote: On Wed, Jan 19, 2005 at 10:54:53AM -0500, Dan Sugalski wrote: "parrot". If, on the other hand, we were invoked as: parrot foo.pbc then both fullname and basename would be "parrot". Unix hashbang (and Windows file associa

Re: Name of parrot executable

2005-01-19 Thread Dan Sugalski
le? -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Calling conventions, invocations, and suchlike things

2005-01-18 Thread Dan Sugalski
doesn't feel like adding invoke_method to the mix will get us anywhere. Anyway, there we go. (I fully expect to find that both topics are dead about an hour after this goes out, but there you go :) -- Dan --it's like this--- Dan Suga

Re: [perl #33129] N registers get whacked in odd circumstances

2004-12-21 Thread Dan Sugalski
At 10:56 AM +0100 12/21/04, Leopold Toetsch wrote: Dan Sugalski (via RT) wrote: You'll note that N5 is set to 22253 when the returncc's done, but after the return the value is -21814.6. Looks like something's stomping the N registers. The program below shows exactly the sa

Re: auxiliary variables

2004-12-20 Thread Dan Sugalski
t's Undef is generally clever enough to be a good generic destination, as it morphs to most destination types on assign) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: [perl #33032] Parameter fillin problem

2004-12-15 Thread Dan Sugalski
At 9:31 AM + 12/15/04, Leopold Toetsch via RT wrote: Dan Sugalski wrote: Or not. (I've got too many versions of parrot around at the moment) I see this bug happening against yesterday morning's parrot. imcc/CVS/Entries shows a date of Mon Dec 13 12:19:33 2004 for reg_alloc.c. I s

Re: Objects, classes, metaclasses, and other things that go bump in the night

2004-12-14 Thread Dan Sugalski
At 11:13 AM +0100 12/14/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: subclass - To create a subclass of a class object Is existing and used. Right. I was listing the things we need in the protocol. Some of them we've got, some we don't, and some of the

Re: [perl #33032] Parameter fillin problem

2004-12-14 Thread Dan Sugalski
At 8:48 AM -0500 12/14/04, Dan Sugalski wrote: At 9:08 AM + 12/14/04, Leopold Toetsch via RT wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: IMCC's doing odd things when moving PMCs into the appropriate spot when calling into functions with a large number of parameters. Here'

Re: Q: scope exit

2004-12-13 Thread Dan Sugalski
At 3:31 PM +0100 12/14/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 10:19 AM +0100 12/14/04, Leopold Toetsch wrote: Which does argue that it ought not be a sub, I suppose, but something simpler. A plain bsr sort of thing. A bsr doesn't change anything. It ha

Re: [perl #33032] Parameter fillin problem

2004-12-13 Thread Dan Sugalski
At 9:08 AM + 12/14/04, Leopold Toetsch via RT wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: IMCC's doing odd things when moving PMCs into the appropriate spot when calling into functions with a large number of parameters. Here's a snip from a trace of one of the programs r

Re: Q: scope exit

2004-12-13 Thread Dan Sugalski
At 10:19 AM +0100 12/14/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 8:07 AM +0100 12/10/04, Leopold Toetsch wrote: * What is the intended usage of the action handler? * Specifically is this also ment for lazy DOD runs? * How is the relationship to the C opcode?

Still out of touch...

2004-12-13 Thread Dan Sugalski
is. Hopefully things'll clear up soon and we can start juggling more balls. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Q: scope exit (was: Exceptions, sub cleanup, and scope exit)

2004-12-13 Thread Dan Sugalski
At 8:07 AM +0100 12/10/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: ... A scope exit action is put in place on the control stack with: pushaction Psub * What is the intended usage of the action handler? * Specifically is this also ment for lazy DOD runs? * How

Re: overloaded operator calling conventions

2004-12-13 Thread Dan Sugalski
;ve hit release and start seeing widespread use. -- Dan ------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Too many opcodes

2004-11-29 Thread Dan Sugalski
st isn't any need for there to be a difference between opcode functions and library functions. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [CVS ci] opcode cleanup 1 - minus 177 opcodes

2004-11-29 Thread Dan Sugalski
At 8:29 AM +0100 11/28/04, Leopold Toetsch wrote: Thomas Seiler <[EMAIL PROTECTED]> wrote: Dan Sugalski wrote: At 10:34 AM +0100 11/27/04, Leopold Toetsch wrote: See also subject "Too many opcodes". >> [...] >> Could you undo this please? Now is not the time to

Re: deprecated transcendental ops with I arguments

2004-11-29 Thread Dan Sugalski
em in. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Objects, classes, metaclasses, and other things that go bump in the night

2004-11-29 Thread Dan Sugalski
not feeling clever enough to see how without having a relatively costly double lookup on every method call (first to see if there's a registered MMD method for the named method, then the regular dispatch if there's not) so I'm not sure we will. Efficient MMD wins, if we can make it look like perl/python/ruby/tcl's method lookup rules are in force, even if they really aren't under the hood. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [CVS ci] opcode cleanup 1 - minus 177 opcodes

2004-11-27 Thread Dan Sugalski
that later, closer to release, if we choose to do it at all. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even

Re: EcmaScript

2004-11-27 Thread Dan Sugalski
uld bootstrap itself pretty nicely. That'd be cool... :) -- Dan ------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: [perl #32418] Re: [PATCH] Register allocation patch - scales better to more symbols

2004-11-23 Thread Dan Sugalski
At 4:02 PM +0100 11/23/04, Leopold Toetsch wrote: Dan Sugalski wrote: The parrot I have, which is a day or two out of date, takes 7m to churn through one of my pir files. With this patch, I killed the run at 19.5 minutes. One more note: be sure to compile Parrot optimized - the new reg_alloc.c

Re: Exceptions, sub cleanup, and scope exit

2004-11-22 Thread Dan Sugalski
At 10:28 AM +0100 11/22/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 9:59 AM +0100 11/19/04, Leopold Toetsch wrote: Its in and named C since yesterday "return with current continuation". Hrm. The name's not right, I've proposed ret_cc and ret

Re: Synopses updated on dev.perl.org

2004-11-22 Thread Dan Sugalski
parrot and perl 6 stories on slashdot, at 0, so if I don't actually have to do so, well... so much the better usually. :) -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: Intellectual Property

2004-11-21 Thread Dan Sugalski
tting understand the policies and abide by them. TPF is working up Real Paperwork for contributors so we can have everything official and as lawyer-proof as we can manage. -- Dan --it's like this------- Dan Sugalski

Re: Exceptions, sub cleanup, and scope exit

2004-11-21 Thread Dan Sugalski
At 9:59 AM +0100 11/19/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: The 'invoke the current return continuation' op apparently got lost in the blowup. That needs to go in. Its in and named C since yesterday "return with current continuation".

Re: silent effects of opcodes

2004-11-19 Thread Dan Sugalski
won't be able to recreate it without some CVS fiddling. :) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Getting the grammar engine in (or a small task for the interested)

2004-11-19 Thread Dan Sugalski
At 10:58 AM -0500 11/19/04, Andy Dougherty wrote: On Fri, 19 Nov 2004, Dan Sugalski wrote: So, if someone'd like to take a shot at thumping the template makefile bits to add in compilers/p6ge to the basic build, that'd be great. Grovelling over the code in there to scrub out portabili

Getting the grammar engine in (or a small task for the interested)

2004-11-19 Thread Dan Sugalski
bility issues would also be good. This should be relatively simple, so have at it. :) -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Re: First public release of grammar engine

2004-11-19 Thread Dan Sugalski
At 7:26 AM -0700 11/19/04, Patrick R. Michaud wrote: On Fri, Nov 19, 2004 at 09:05:31AM -0500, Dan Sugalski wrote: At 7:00 AM -0700 11/19/04, Patrick R. Michaud wrote: >One of the areas where we can definitely use assistance is >in porting and testing p6ge in operating environments dif

Re: COND macros (was: Threads, events, Win32, etc.)

2004-11-19 Thread Dan Sugalski
e. This may have to wait a little -- we're cleaning up the last of subs, I've still got the string stuff outstanding, and I promised Sam Ruby I'd deal with classes and metaclasses next. So much time, so little to do. No, wait, that's not right... --

Re: First public release of grammar engine

2004-11-19 Thread Dan Sugalski
Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Exceptions, sub cleanup, and scope exit

2004-11-19 Thread Dan Sugalski
At 10:58 PM + 11/18/04, Tim Bunce wrote: On Thu, Nov 18, 2004 at 11:37:54AM -0800, chromatic wrote: On Thu, 2004-11-18 at 13:36 -0500, Dan Sugalski wrote: > I'd like pushing exception handlers to remain simple -- the current > system is almost OK. What I'd like it

Re: Exceptions, sub cleanup, and scope exit

2004-11-19 Thread Dan Sugalski
At 10:03 AM +0100 11/19/04, Miroslav Silovic wrote: Dan Sugalski wrote: It's also important for people writing these things to take into account the possibility that their exit actions may potentially be triggered multiple times, courtesy of the joys of continuations. Hmm, the first thi

Re: Perl 6 Summary for 2004-11-08 through 2004-11-15

2004-11-18 Thread Dan Sugalski
ikely means I forgot to tell you that this is done, so try it anyway. :) -- Dan ----------it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Exceptions, sub cleanup, and scope exit

2004-11-18 Thread Dan Sugalski
reason, though we'd probably be better off with variant return/tailcall ops instead since it'd be cheaper than fully instantiating the return continuation) It's also important for people writing these things to take into account the possibility that their exit actions may p

Re: silent effects of opcodes

2004-11-18 Thread Dan Sugalski
At 8:26 AM +0100 11/18/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: Exceptions and continuations should be the same problem -- the target is the start of a basic block. (Well, more than that, as they're places where calling conventions potentially kick in) Thi

Re: silent effects of opcodes

2004-11-17 Thread Dan Sugalski
his means the instruction immediately after a sub call starts a new block, as does the start of an exception handler. (And I've got some docs on exceptions that should be out later tonight) -- Dan ------it's like this--- Dan Sug

Re: light-weight calling conventions (was: Second cut at a P6 grammar engine, in Parrot)

2004-11-17 Thread Dan Sugalski
At 5:08 PM -0500 11/17/04, Dan Sugalski wrote: Chopping out the multiplication (since that's a not-insignificant amount of the runtime for the bsr/ret version) gives: PIR: real0m3.016s user0m2.990s sys 0m0.030s bsr/ret real0m0.344s user0m0.340s sys 0m0.010s and wit

Re: light-weight calling conventions

2004-11-17 Thread Dan Sugalski
rmal cases it'll be significantly faster since it, by definition, has a lot less work to do. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have

Re: light-weight calling conventions (was: Second cut at a P6 grammar engine, in Parrot)

2004-11-17 Thread Dan Sugalski
At 10:03 PM +0100 11/17/04, Leopold Toetsch wrote: Dan Sugalski wrote: [ this came up WRT calling conventions ] I assume he's doing bsr/ret to get into and out of the sub, which is going to be significantly faster. Who says that? As already stated, I don't consider these as either li

Re: silent effects of opcodes

2004-11-17 Thread Dan Sugalski
At 10:12 PM +0100 11/17/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 7:34 PM +0100 11/17/04, Leopold Toetsch wrote: All registers are preserved, but some of these registers are used, either by implict opcodes or as return values. Erm, no. Unused registers in th

Re: silent effects of opcodes

2004-11-17 Thread Dan Sugalski
eir use probably ought to invalidate all the registers, or the op restricted to pasm code. -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED] have

Re: silent effects of opcodes

2004-11-17 Thread Dan Sugalski
> * Registers P4, S1-S4, N0-N4 are free for allocation, regardless. I've included P3 (see below). If it's used it interfers. Nope. It'll either be set if a call returns overflow parameters, or unused and thus garbage. -- Dan -------

Re: [perl #32418] Re: [PATCH] Register allocation patch - scales better to more symbols

2004-11-17 Thread Dan Sugalski
At 11:35 AM +0100 11/17/04, Leopold Toetsch wrote: Dan Sugalski wrote: Okay. I'll apply it and take a shot. May take a few hours to get a real number. How does it look like? Any results already? Nope, haven't had time, unfortunately. Work's been busy. Today,

Re: accessing self in methods

2004-11-17 Thread Dan Sugalski
nfo rather than a pad or namespace. -- Dan --it's like this------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk

Re: Continuations, basic blocks, loops and register allocation

2004-11-16 Thread Dan Sugalski
At 4:10 PM -0500 11/16/04, Matt Fowles wrote: Dan~ On Tue, 16 Nov 2004 15:54:48 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote: At 3:39 PM -0500 11/16/04, Matt Fowles wrote: >Dan~ > > >On Tue, 16 Nov 2004 15:25:24 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote: >&

  1   2   3   4   5   6   7   8   9   10   >