Re: Ops Review

2009-01-20 Thread Jonathan Worthington
think one criteria to consider is, are their architectures out there (that we're targeting now or likely to) that have the equivalent op implemented at a CPU instruction level, such that we could JIT it in the future? If so, there's probably benefit in it staying a Parrot op. Jonathan

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-17 Thread Jonathan Worthington
what we've needed to date. I'm curious - is anyone else doing a HLL on Parrot that uses morph? If nobody is, is it worth spending time on, or even worth keeping? Thanks, Jonathan

Re: [PATCH] Add .trim method

2009-01-12 Thread Jonathan Scott Duff
>) could all > $string.rtrim internally. > If I were going to have ltrim() and rtrim(), I'd implement them in terms of trim() rather than the other way around. -Scott -- Jonathan Scott Duff perlpi...@gmail.com

Re: [PATCH] Add .trim method

2009-01-12 Thread Jonathan Worthington
k calls 'em TrimStart and TrimEnd (and has a Trim that does both). So maybe trim_start and trim_end if we wanted to take that lead... Jonathan

[svn:parrot-pdd] r35128 - trunk/docs/pdds

2009-01-07 Thread jonathan
Author: jonathan Date: Wed Jan 7 08:01:00 2009 New Revision: 35128 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: [pdd] Remove unimplemented notes for annotations method on Exception, and add documentation for backtrace method. Modified: trunk/docs/pdds/pdd23_exceptions.pod

[svn:parrot-pdd] r33166 - trunk/docs/pdds

2008-11-24 Thread jonathan
Author: jonathan Date: Mon Nov 24 15:22:49 2008 New Revision: 33166 Modified: trunk/docs/pdds/pdd19_pir.pod Log: [pdd] Document .annotate and .file and update .line directives in the PIR PDD. Modified: trunk/docs/pdds/pdd19_pir.pod

[svn:parrot-pdd] r33163 - trunk/docs/pdds

2008-11-24 Thread jonathan
Author: jonathan Date: Mon Nov 24 14:50:50 2008 New Revision: 33163 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: [pdd] Correction to previous commit; name is just an optional parameter to annotations, for consistency with e.g. inspect method. Modified: trunk/docs/pdds

[svn:parrot-pdd] r33162 - trunk/docs/pdds

2008-11-24 Thread jonathan
Author: jonathan Date: Mon Nov 24 14:49:30 2008 New Revision: 33162 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: [pdd] Add details of how to get bytecode annotations from Exception PMC. Modified: trunk/docs/pdds/pdd23_exceptions.pod

Re: [perl #45857] [IMCC][RFC] #line vs .line

2008-11-23 Thread Jonathan Worthington
.annotate "file" "foo.pl" .annotate "compiler" "rakudo-0.1" And then per line: .annotate "line" 42 When a new source code line starts. And yes, I need to get this all into the PIR docs, though the storage scheme for all of this is in the bytecode PDD already. But it should give us plenty of flexibility. Sound good? Thanks, Jonathan

Re: [perl #45857] [IMCC][RFC] #line vs .line

2008-11-23 Thread Jonathan Worthington
#file and we're done...perhaps for the next release. Sound sane? Jonathan

Re: [perl #45857] [IMCC][RFC] #line vs .line

2008-11-23 Thread Jonathan Worthington
codes can probably go away; I can't think of a use case where we'd want to set these dynamically, since we know the line number/file number/column/whatever else we wish to store at compile time. Doing an op dispatch rather than making an annotation we can look up only when we need it seems odd to me. Thoughts? Jonathan

Re: [perl #58032] [BUG] languages/perl6/t/pmc/perl6multisub-dispatch-tiebreak.t: filename is too long

2008-08-17 Thread Jonathan Worthington
days, they just take too long on my slow old laptop, which I've been hacking on at conferences.) Jonathan: Perhaps you could delete the 'perl6' at the beginning of the basenames of these 4 files: languages/perl6/t/pmc/perl6multisub-basic.t languages/perl6/t/pmc/perl6multisub-d

Re: time op inconsistent on Win32

2008-08-07 Thread Jonathan Worthington
Ron Blaschke wrote: Jonathan Worthington wrote: I've just been looking at the time op, and what it returns is somewhat platform specific. * On Win32, it's the number of seconds since January 1, 1601 If I remember correctly, some parts of Windows use 100ns ticks since 1601 to repr

Re: Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
nda thing may be a solution, though I'm not sure how robust it is. Thanks, Jonathan

Re: Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
is likely needs a bit more thought from the Rakudo side before we rush and stick a get_bool into the Exception PMC. Maybe something to work out next week at YAPC... Thanks for the clarification from the Parrot side of things! Jonathan

Re: [perl #57636] [TODO][PDD19] Document the reason for :unique_reg flag

2008-08-07 Thread Jonathan Worthington
, Jonathan

Re: [perl #57636] [TODO][PDD19] Document the reason for :unique_reg flag

2008-08-07 Thread Jonathan Worthington
here needs to know, in the PIR itself, what actual register number is being used. Jonathan

Re: [perl #57636] [TODO][PDD19] Document the reason for :unique_reg flag

2008-08-07 Thread Jonathan Worthington
#x27;t really have tuits to look at this at the moment, though I certainly want to bring it up to date when I do get chance. Thanks, Jonathan

time op inconsistent on Win32

2008-08-07 Thread Jonathan Worthington
e Win32 version to do the same as the others for consistency? Or should we keep these platform specific and make code that cares check what OS we are on and work it out (don't like this option so much, since we're meant to be abstracting the OS away...) Opinions? Thanks, Jonathan

Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
C does not implement the get_bool vtable method (which I'm guessing must have changed when we merged pdd25cx). I'm not sure what the best solution for this is...in the meantime, I have fudged that test, so the rest of attributes.t passes again now. Thanks, Jonathan

Re: [perl #57636] [TODO][PDD19] Document the reason for :unique_reg flag

2008-08-06 Thread Jonathan Worthington
entioned, works as a hint to the register allocator not to bother trying to allocate something that will have life over the entire compilation unit anyway. Jonathan

Re: [svn:parrot] r29914 - trunk/languages/perl6/src/builtins

2008-08-01 Thread Jonathan Worthington
..if not, I will follow up on it when I next have tuits. Thanks, Jonathan

Re: YAPC::EU 2008

2008-07-28 Thread Jonathan Worthington
en before, I could forgive you for wanting to spend a day enjoying the city rather than hacking though - it's nice! :-) See you there, Jonathan

Re: [perl #56398] [BUG] lexical inner scope always keeps first lexpad (or something)

2008-07-11 Thread Jonathan Worthington
ing if we take a reference to an undisambiguated multi...then we have to newclosure it (clone it) as we take a reference...well, I guess then it just populates its clone to the closures too. But we'd not want to close non-closures, I guess. So, hmm... Sleep! Jonathan

Re: [perl #56398] [BUG] lexical inner scope always keeps first lexpad (or something)

2008-07-11 Thread Jonathan Worthington
happens when we do newclosure on a multi, but I think we can make that do something sane (snapshot the lot, perhaps? Need to think about what falls out of that...) Also it's interesting to note in this example that replacing "newclosure" with "clone" gives the same seman

[svn ci] :lexid(...)

2008-06-26 Thread Jonathan Worthington
s gives 42, which is The Answer, so all must be good. (Apart from my sanity, after hacking on IMCC...) No new failing tests in Parrot nor Rakudo spectest_regression. In as r28710. Hope this is what's needed, Jonathan

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Jonathan Worthington
s on your platform, rather than something specific to Rakudo's usage of them (which is still an important problem to solve, but it's good to know exactly where the problem lies). Thanks, Jonathan

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Jonathan Worthington
. So: * svn up to the latest version * make realclean * Remove everything in langauges/perl6/src/ops apart from perl6.ops * Build as usual That should do it - if not, please just reply and say so. Thanks! Jonathan

Re: [svn:parrot] r28095 - trunk/languages/perl6/src/parser

2008-06-05 Thread Jonathan Worthington
;. So this is an ex-GC bug. :-) Thanks, Jonathan

Re: [perl #55290] [BUG] get_iter() not implemented in class 'ResizableStringArray'

2008-06-05 Thread Jonathan Worthington
e can move the 'iter' op from experimental to standard status. This should do it. If you want to work up some tests, we can get this applied. Thanks, applied this along with a (passing) test. Jonathan

Re: [PATCH] more regression tests for rakudo

2008-05-24 Thread Jonathan Worthington
Moritz Lenz wrote: Attached patch adds a few more files to the 'make spectest_regression' target. All of them pass. Applied in r27783. Thanks! Jonathan

Re: [PATCH] rakudo: make target 'spectest_regression'

2008-05-21 Thread Jonathan Worthington
Moritz Lenz wrote: rakudo's "make spectest" suffers from too much noise in its output. The attached patch adds a spectest_regression target to Makefile that uses whitelisting to run only those tests that are known to pass. This is really useful! Applied in r27708, thanks. :-) Jonathan

Re: Create a sub of a particular type

2008-05-16 Thread Jonathan Worthington
Bob Rogers wrote: From: Jonathan Worthington <[EMAIL PROTECTED]> Date: Sat, 17 May 2008 00:25:35 +0200 Hi, In Perl 6 we need to be able to have Parrot subs take on a range of different types . . . Is the idea sane, and is the name of the adverb OK? If so, I'

Create a sub of a particular type

2008-05-16 Thread Jonathan Worthington
method') ... .end That instead of creating a Sub PMC, creates an instance of Submethod (which should have Sub as one of its parents, mind, so we can stash the sub info away). Is the idea sane, and is the name of the adverb OK? If so, I'll go ahead and implement it (with changes as needed). Thanks, Jonathan

Re: [perl #45975] [TODO] [PATCH] Make Parrot_single_subclass() threadsafe

2008-05-07 Thread Jonathan Worthington
. It should be removed, since the subclass v-table method was removed. Haven't got time to do it myself right now, but this patch can be applied by whoever gets chance. Thanks, Jonathan

Re: YAPC::EU 2008

2008-05-03 Thread Jonathan Worthington
he time of the conference too, so expect I will just hang around in the general area for a week or so. We could always do the 12th AND the 16th, just for fun and bonus productivity (if everyone isn't exhausted from a day of hacking and three days of conference)? ;-) Jonathan

Re: [perl #53082] rakudo does not use the line numbering feature of imcc. may be hllcompiler does not support it.

2008-04-20 Thread Jonathan Worthington
nt it to do. :-) There's something spec'd in the bytecode PDD to do what we need for Rakudo, it's just not implemented yet. I will try and get to it soon. Thanks, Jonathan

Re: The Big Three Rakudo (and Parrot OO) Bottlenecks

2008-04-16 Thread Jonathan Worthington
ndered this too, but didn't really look into it properly. Jonathan

Re: [svn:parrot] r26828 - in trunk/languages/perl6/src: builtins parser

2008-04-16 Thread Jonathan Worthington
o.new()) foo test(Bar.new()) bar So yes, you could re-write it and just write "Object", or "Any" or probably just no type at all (which should default to Any). Jonathan

Re: [svn:parrot] r26828 - in trunk/languages/perl6/src: builtins parser

2008-04-16 Thread Jonathan Worthington
7;t show the problem? Thanks, Jonathan

Re: [svn:parrot] r26828 - in trunk/languages/perl6/src: builtins parser

2008-04-16 Thread Jonathan Worthington
methods. This is the commit which broke the Rock, Paper, Scissors MMD example. *confused look* But I didn't implement the stuff needed to run the rock, paper scissors MMD example until 4 days after the commit you mention? http://parrotvm.org/svn/parrot/revision/?rev=26885 Jonathan

Re: The Big Three Rakudo (and Parrot OO) Bottlenecks

2008-04-15 Thread Jonathan Worthington
t in the compilation time of Rakudo's actions.pm, nor when I took a Perl 6 Ackerman's function implementation and ran it under Rakudo. Jonathan Index: src/inter_call.c === --- src/inter_call.c(revision 26955) +++ src

(Not so) super

2008-04-10 Thread Jonathan Worthington
then call the original v-table method in the PMC we inherited from to actually stash the value being assigned somewhere. What should this look like at a PIR level? In fact, this last issue is the main one I'm blocking on at the moment. Thanks, Jonathan

Re: get_namespace Oddity

2008-04-06 Thread Jonathan Worthington
on is always relative. The code should probably be using an absolute namespace op, such as get_hll_namespace (or get_root_namespace), which looks up from the appropriate root. I understood get_namespace as doing a relative lookup within the current namespace. Jonathan

Re: YAPC::EU 2008

2008-04-03 Thread Jonathan Worthington
Will Coleda wrote: Can we get an idea of how many parrot hackers are planning on attending YAPC::EU this year? (will be held in Copenhagen, Denmark, on 13-15 August 2008.) http://www.yapceurope2008.org/ye2008/ I am actually a maybe at this point. It's very likely I'll be there. Jonathan

Re: [perl #31147] [TODO] metadata in bytecode

2008-03-23 Thread Jonathan Worthington
James Keenan via RT wrote: On Sat Dec 16 21:56:15 2006, allison wrote: Adequately covered by PDD 13. Leaving ticket to Jonathan to close when implemented. Your cage cleaner wants to know ... has this been implemented? No, not yet. Jonathan

[perl #51838] [BUG] cygwin build fails

2008-03-18 Thread Jonathan Scott Duff
# New Ticket Created by "Jonathan Scott Duff" # Please include the string: [perl #51838] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=51838 > --- osname= cygwin osvers= 1.5.24(0.15642) arch= cygwin-threa

Re: [perl #41511] Parrot_call_sub* Incompatible with Multisubs

2008-03-16 Thread Jonathan Worthington
chromatic wrote: To recap, I think this bug will require a substantial refactoring and cleanup of the packfile code. For now, I believe it's a non-trivial bug (except, perhaps, for someone with a more thorough understanding of the packfile code). Agreed. Same here. I believe Jon

Re: [perl #17490] Magic is useless unless verifiable.

2008-03-16 Thread Jonathan Worthington
James Keenan via RT wrote: Jonathan: You took this RT some time back. Could you give us an update on its status? (It's the oldest outstanding RT.) Resolved; PDD13 specified doing it a Different Way and that bit of PDD13 is one of the bits I've gotten around to implementing too,

does vtable method - does_pmc too?

2008-02-26 Thread Jonathan Worthington
is method, since does tests for what roles are done, and can is for testing if a certain method is supported. Thanks, Jonathan

Re: [perl #50646] [TODO][C] implement Parrot_remove_parent in src/oo.c

2008-02-15 Thread Jonathan Worthington
the C stub should be removed and the ticket closed. Other opinions? Jonathan

Re: [svn:parrot] r25558 - in trunk: include/parrot src/pmc

2008-02-07 Thread Jonathan Worthington
e's one and only one good way out of this function. Goes nicely on the end of the else block. Done in r25588. Thanks, Jonathan

Re: VTABLE_elements

2007-12-29 Thread Jonathan Worthington
t them and see if anything breaks? What about when you want to implement things like, element -1 gets the last element of the array? That's the case in some languages, I believe... Jonathan

Re: more sub introspection than arity()

2007-12-22 Thread Jonathan Worthington
ing conventions have available to them.) Which reminds me, we probably want to be caching arity in the Sub PMC's data structure itself, though I've not gotten around to that yet. Jonathan

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-20 Thread Jonathan Worthington
es away, since you just don't mark them as invocants. And the list only applies to those things that are invocants. So: .sub blah :multi('foo', 'bar') .param pmc foo :invocant .param pmc i_so_aint_an_invocant .param pmc bar :invocant # ... .end Jonathan

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-20 Thread Jonathan Worthington
ll be called? Thanks, Jonathan

Parrot 0.5.1 "Hatachi" Released!

2007-12-18 Thread Jonathan Worthington
s to all our contributors for making this possible, and our sponsors for supporting this project. Enjoy! Jonathan

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-18 Thread Jonathan Worthington
that it would normally do due to the complexity of analysing code using computed goto, since the problem code compiled just fine outside of the computed goto core without the patch. Jonathan

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread Jonathan Worthington
build" solution. :-) If someone wants to apply this (of course, further feedback welcome) while I go sleep the night, that'd be great. Otherwise, I'll put it in myself before I start working on the release tomorrow. Thanks, Jonathan

Re: Tests Okay on 32-bit x86 GNU/Linux (GCC 4.1.3)

2007-12-17 Thread Jonathan Worthington
lease, but this breakage seems pretty widespread... Jonathan

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-16 Thread Jonathan Worthington
Allison Randal wrote: Jonathan Worthington wrote: I suspect re-writing it to do a memcpy would solve the problem...anyway, sleep calls... See the thread from earlier this year: <http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/f50d1057d4855b7f/93fdb2d7e24e35f5>

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-15 Thread Jonathan Worthington
mcpy would solve the problem...anyway, sleep calls... Jonathan

[Release] request for NEWS, PLATFORMS updates

2007-12-15 Thread Jonathan Worthington
patch form from anyone without a commit bit. From now, please try and avoid checking anything in that has a high probability of breaking stuff; the releases are all that some people see of Parrot, so it's good if they can be reasonably stable and working. Thanks for your help in making the next release happen! Take care, Jonathan

NCI PMC comments

2007-12-15 Thread Jonathan Worthington
Hi, At the top of the NCI PMC, there are these comments: -- Invoking an NCI function changes some registers according to PDD 3. The caller has to preserve registers if needed. -- Am I right in thinking that's no longer true? Thanks, Jonathan

Re: Parrot & Partial application

2007-12-08 Thread Jonathan Worthington
chromatic wrote: On Thursday 06 December 2007 15:49:45 Jonathan Worthington wrote: What it implemented (when I get chance, which should be this weekend) as an arity method on the Sub PMC? That would be much nicer Implemented in r23598 for the Sub PMC. (which doesn't make sense

Re: [perl #47792] [BUG]: languages/dotnet/Configure.pl causes configuration error

2007-12-06 Thread Jonathan Worthington
.Net implementation is fairly unmaintainted at the moment. I'm struggling for time for core Parrot stuff, let alone a language as well. Jonathan

Re: Parrot & Partial application

2007-12-06 Thread Jonathan Worthington
he bytecode there for the get_params instruction of the sub. That points you to the signature PMC, which tells you how many args there are. What it implemented (when I get chance, which should be this weekend) as an arity method on the Sub PMC? Jonathan is working on an update to our bytec

Re: Perl 6 Junctions and MMD

2007-11-19 Thread Jonathan Worthington
t; and cmp operators to get junctions to thread through them. As you say, it would be useful for other languages that want to hand back an undefined value or something too. So perhaps a general mechanism is a good thing. say $allison.thoughts; # por favor :-) Jonathan

Perl 6 Junctions and MMD

2007-11-18 Thread Jonathan Worthington
at. Thus I think we need <, <=, > and >= MMD methods (plus the string variants) rather than relying on cmp for everything. Maybe we can write some default implementations of these that fall back on cmp, though, since in the majority of cases just having cmp is fine. Thoughts? Thanks, Jonathan

Modifying PDD15 classes

2007-11-17 Thread Jonathan Worthington
ight in thinking the tests are wrong and need to be fixed to clone the (already instantiated) class before adding the new methods? See for example t/oo/methods.t. Thanks, Jonathan

PAST and OO

2007-11-16 Thread Jonathan Worthington
so far so I'm just doing what feels right. I hope it may be useful or a starting point, anyway. I've supplied it as a diff against the PDD. If such PAST nodes are wanted, and once we've got a spec for them ironed out, I'd be interested to have a crack at the implementation

Morphing to high level classes

2007-11-16 Thread Jonathan Worthington
t is instantiated. Maybe (hopefully) someone has a better idea. Hope this makes sense, Jonathan

PDD17 Questions

2007-11-16 Thread jonathan
se let me know. I can't promise I'll get to everything in a hurry, but I should have time to actually do some Parrot stuff again now. Thanks, Jonathan

Stepping away for a while

2007-10-02 Thread Jonathan Worthington
his email weeks ago, as I should have, and to anyone waiting on me for anything. Thanks for understanding, Jonathan

Re: PDD 15 - accessing parent's attributes

2007-09-04 Thread Jonathan Worthington
r, though I'm not sure I like that. Anyway, nobody seems to hate it so far so I'll look at implementing it, if nobody beats me to that. While you're at it, any chance of some suggested PIR syntax for calling super-methods? Guess we need a _keyed/_super/_worreva variant of find_method too, for this. Thanks, Jonathan

Re: [perl #44121] [BUG] What happened to tools/build/fingerprint_c.pl?

2007-07-24 Thread Jonathan Worthington
nting PDD13 and it doesn't use fingerprints). Fixed in r20153. Jonathan

[svn:parrot-pdd] r20135 - in trunk: . docs/pdds

2007-07-23 Thread jonathan
Author: jonathan Date: Mon Jul 23 21:22:21 2007 New Revision: 20135 Modified: trunk/docs/pdds/pdd13_bytecode.pod Changes in other areas also in this revision: Modified: trunk/PBC_COMPAT Log: [PDD13] Bring format of PBC_COMPAT and the specification in line with each other. Modified

Re: [perl #44083] [PATCH] [NEW] New tool for Parrot developers: Parrot::Configure::Trace

2007-07-22 Thread Jonathan Worthington
t the conclusion of a particular configuration step. This sounds useful - thanks! :-) Jonathan

Re: Parrot hackathon at OSCON

2007-07-18 Thread Jonathan Worthington
te you with details. Alas, I'll be leaving on Friday but will be around on Sunday before OSCON. Will anyone else be available for pre-OSCON hacking? I leave first thing Saturday morning after OSCON, but I am about on the Sunday before too. Jonathan

Re: find_method changes look wrong

2007-07-03 Thread Jonathan Worthington
(which is second to correct behavior, of course, but still...) and that the values that inspect_str takes and is expected to respond to aren't actually standardized anywhere. Jonathan

[svn:parrot-pdd] r19555 - trunk/docs/pdds/draft

2007-07-03 Thread jonathan
Author: jonathan Date: Tue Jul 3 05:38:21 2007 New Revision: 19555 Modified: trunk/docs/pdds/draft/pdd17_pmc.pod Log: [PDD17]: Properly document my proposal for how inheriting from PMCs will be made to work. Modified: trunk/docs/pdds/draft/pdd17_pmc.pod

find_method changes look wrong

2007-07-03 Thread Jonathan Worthington
instance of Class. The things that you add_method'd to a class are methods of objects instantiated from the class. Thanks, Jonathan

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-30 Thread Jonathan Worthington
that I'm not clear on the answer to. Jonathan

Re: [svn:parrot-pdd] r19204 - trunk/docs/pdds

2007-06-21 Thread Jonathan Worthington
chromatic wrote: Classes are PMCs. Are there benefits to pushing them one step further and making them Objects as well? A PDD15 class is an object in so far as it's an instance of a PMC. A PMC is a class, just written in C rather than PIR. Jonathan

Re: [perl #43269] [BUG] setline is tied to PIR source

2007-06-20 Thread Jonathan Worthington
the exact PIR syntax for it isn't. So there are two tasks: implement the underlying storage model for this and sort out some PIR syntax for it. How important/blocking is this to you? I can direct some tuits this way in the near future if you're needing it. Jonathan

Re: pdd15 - How do I add a class method?

2007-06-20 Thread Jonathan Worthington
ehavior, as I understand it. How about writing the method without the :method modifier, but also addmethod'ing it to the class? Then it will be found by find_method, but won't think the first parameter is an invocant. Something here doesn't feel quite right to me, though I'm tired and can't put my finger on what. Jonathan

Re: PMC Proxy high-level review

2007-06-20 Thread Jonathan Worthington
ately, all PMCs need to have an entry in their NameSpace so the type IDs can go away entirely. They already do, and by hanging PMCProxy off the class slot in the NameSpace PMC, we're a step closer to that, if it's the Right Thing to do. Thanks, Jonathan

Re: Parrot in hardware

2007-06-17 Thread Jonathan Worthington
n't know what's been done there already - but I don't think that trying to implement Parrot in hardware is the way to go if you want to look into this...you might find Parrot and other dynamic language's interpreters for hints as to what might be needed though. Hope this helps, Jonathan

Re: I Hate find_vtable_meth_ns()

2007-06-13 Thread Jonathan Worthington
s in namespaces anymore, and I think the same will go for vtable methods. With PMCProxy now existing, I suspect we can do the same for non-vtable methods of PMCs too... Jonathan

Re: GC bug on freebsd/x86, triggered by a perl6 test

2007-06-04 Thread Jonathan Worthington
erl 6 GC failures I posted about yesterday, which cause most of the Perl 6 test suite to fail on Win32. Is it just the one that fails on FreeBSD like this? Thanks, Jonathan

Analysing a GC problem

2007-06-03 Thread Jonathan Worthington
meone else to continue the hunt for this bug, which would be rather nice to nail. Happy hacking, Jonathan

Usage of PARROT_API

2007-05-28 Thread Jonathan Worthington
d to get the Parrot executable to build - hopefully this is an OK thing to have done; I'm still catching up on what's been going on while I've been away. Seems that nci_test.c has different, but related problems with inconsistent use of PARROT_API, though I've not time to look into this right now. Thanks, Jonathan

Re: [perl #43048] imcc constant folding div by zero bug

2007-05-27 Thread Jonathan Worthington
my travels). Jonathan

Re: Is Parrot 1.0 too late?

2007-04-25 Thread Jonathan Worthington
Jonathan Worthington wrote: I guess that doing so will involve re-writing a lot of the current Configure system and build tools into something that compiles down to PBC (and then just ship something very basic that can run a PBC). Whoa. I meant, have some kinda miniparrot that can run a PBC but

Re: Is Parrot 1.0 too late?

2007-04-25 Thread Jonathan Worthington
to make a decision and tell people to put up with it. :-) IMHO, etc. Jonathan

Re: [perl #42620] PGE 'Out of memory' panics.

2007-04-25 Thread Jonathan Worthington
analyzed; I always meant to return to look a bit more, but never had time to dig deeper. I think re-discovering where it's spending so much time during GC would be a good start, though. And just randomly breaking into the program did it for me, usually first time. Jonathan

My brain dump for the PMCs PDD

2007-04-23 Thread Jonathan Worthington
ribute methods when you delegate up the tree, as I suggested for crossing universe boundaries during attribute lookup. OK, that's all I've got for now. Sorry for the rambling towards the end as I explored the bits I'm not clear on yet, and hope it's helpful. Jonathan

Re: [perl #42408] Re: [PATCH] refactor vtable overriding, delegate.c generation

2007-04-23 Thread Jonathan Worthington
chromatic wrote: Jonathan, can you help us figure out why deleting these lines out of init() fixes the problem? Are they vestigial? /* turn on marking of the class_data array */ PObj_data_is_PMC_array_SET(self); I saw those before and thought they were very suspect

Re: src/pmc/classobject.h: Why is it in this directory?

2007-04-23 Thread Jonathan Worthington
src/pmc/default.pmc", "$main::topdir/src/pmc/class.pmc", ); Couldn't you could just allow there to be .h files in there, provided they don't start with "pmc_" (and therefore we know they ain't leftovers from an uncleaned tree)? Thanks, Jonathan --- End Message ---

Re: src/pmc/classobject.h: Why is it in this directory?

2007-04-23 Thread Jonathan Worthington
James E Keenan wrote: File src/pmc/classobject.h was added very recently: r18244 | jonathan | 2007-04-16 19:26:34 -0400 (Mon, 16 Apr 2007) | 1 line Aye. I'm wondering why it was added in directory src/pmc/. Previously, that directory held only files with names ending in .num or

  1   2   3   4   5   6   >