Re: is_deeply() and code refs

2005-06-28 Thread Fergal Daly
On 6/27/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Mon, Jun 27, 2005 at 11:20:07AM +0100, Fergal Daly wrote: > > > I'm perfectly happy to punt this problem over to B::Deparse and let them > > > figure it out. As it stands B::Deparse is the best we can do with code > > > refs. What's th

Re: is_deeply() and code refs

2005-06-28 Thread Fergal Daly
On 6/28/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Mon, Jun 27, 2005 at 11:34:58PM +0100, Fergal Daly wrote: > > Forgetting philosphical arguments about what's the right thing to do, > > I think the strongest point against this is that there may be people > > out there who expect the cur

Re: Quasiquoting

2005-06-28 Thread Adam Kennedy
Autrijus Tang wrote: On Tue, Jun 28, 2005 at 09:49:58AM +1000, Brad Bowman wrote: Autrijus' journal mentions quasiquoting (Perl 5). Yes... quasiquoting in Perl 5 is currently crudely emulated by feeding things to PPI::Tokenizer and PPI::Transform. :-) You're doing what now? :) Just in cas

[perl #36407] [BUG] imcc - register allocation

2005-06-28 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #36407] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36407 > The register allocator doesn't properly track control flow, if a label has the same

Re: Quasiquoting

2005-06-28 Thread Autrijus Tang
On Tue, Jun 28, 2005 at 01:19:20PM +1000, Adam Kennedy wrote: > >Yes... quasiquoting in Perl 5 is currently crudely emulated > >by feeding things to PPI::Tokenizer and PPI::Transform. :-) > > PPI is not a code parser. By code parser I mean taking a string and > turning it into working code. PPI i

Improving Parrot's Test Framework

2005-06-28 Thread chromatic
Jerry Gay just brought up an idea that solves a frustration I ran into yesterday. He and I are both subclassing existing PMCs and want to have lots of tests, but copying and pasting them is fraught with peril. In Perl 5, Test::Class makes it possible to share tests between test files in an OO fas

Test::User, Test::Symlink

2005-06-28 Thread Clayton, Nik
All, A quick sanity check of an API, if you'd be so kind. I'm working on a series of modules to make sure that our production servers are built correctly. I'm just working on Test::User and Test::Symlink. Test::User exports user_ok and homedir_ok. user_ok(name => 'username', ..., 'Test na

who to get subroutine caller context with pugs

2005-06-28 Thread Gerd Pokorra
Hello, I am using pugs 6.2.7. Is it already possible to find out if a subroutine was called in a void context. Does the want function provide this feature. Gerd Pokorra

Re: [perl #36407] [BUG] imcc - register allocation

2005-06-28 Thread Bill Coffman
Isn't the register allocator pretty much minimized by the new architecture implementation? My understanding was that only temporary variables could benefit from it now. Perhaps the new changes aren't in effect yet? Just curious. On 6/28/05, via RT Leopold Toetsch <[EMAIL PROTECTED]> wrote: >

new calling conventions

2005-06-28 Thread Klaas-Jan Stol
hi, I've been playing a bit with the new set_*/get_* ops that implement the new calling conventions, according to pdd03. If the number of passed arguments is larger than the number of parameters the function takes, an exception is thrown (this is the overflow case described in PDD03) (excep

Re: Perl 6 compiler written in Perl 6, Ponie are important for users

2005-06-28 Thread Millsa Erlas
[EMAIL PROTECTED] wrote: So are you suggesting that Ponie be written in Perl 6 or Perl 5? If you want to remain consistent with the self hosting approach and maximize the Perl 5 userbase, the Ponie compiler Perl should be written in Perl 5, and thus self hosted as well via itself on Parrot. If

[perl #36411] New form of 'setattribute' fails when there are multiple inheritance levels

2005-06-28 Thread via RT
# New Ticket Created by Roger Browne # Please include the string: [perl #36411] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36411 > The following PIR (attached as "script.pir", and also included here) fails under Parrot

Re: Test::User, Test::Symlink

2005-06-28 Thread Michael G Schwern
On Tue, Jun 28, 2005 at 03:24:51PM +0100, Clayton, Nik wrote: > user_ok(name => 'nik', uid => 1000, shell => '/bin/tcsh', > 'Check nik\'s account'); My only thought is I would use a hash ref. user_ok( { name => 'nik', uid => 1000, shell => '/bin/tcsh' }, "

Parrot Segfault

2005-06-28 Thread Matt Fowles
All~ Although all tests pass, a core file is created during the test run. Here is a little snippet from GDB. I am running a fairly stock Debian Testing x86 (slightly out of date). (gdb) list 1006INTVAL 1007PIO_putps(theINTERP, PMC *pmc, STRING *s) 1008{ 1009ParrotIOLayer *l

Perl 6 Summary for 2005-06-21 through 2005-06-28

2005-06-28 Thread Matt Fowles
Perl 6 Summary for 2005-06-21 through 2005-06-28 All~ Long time no see... err, write... uh, read... um... this. Yeah, long time no this. As Piers hinted, two weeks ago I moved. Moving sucks. For those of you who care, I am still in Cambridge, for those of you who care more, I t

Re: [perl #36407] [BUG] imcc - register allocation

2005-06-28 Thread Leopold Toetsch
On Jun 28, 2005, at 17:14, Bill Coffman wrote: Isn't the register allocator pretty much minimized by the new architecture implementation? My understanding was that only temporary variables could benefit from it now. Perhaps the new changes aren't in effect yet? Just curious. The register al

Re: new calling conventions

2005-06-28 Thread Leopold Toetsch
On Jun 28, 2005, at 17:23, Klaas-Jan Stol wrote: hi, I've been playing a bit with the new set_*/get_* ops that implement the new calling conventions, according to pdd03. If the number of passed arguments is larger than the number of parameters the function takes, an exception is thrown (