On Oct 4, 2007, at 12:30 AM, chromatic wrote:
On Wednesday 03 October 2007 20:06:01 [EMAIL PROTECTED] wrote:
When I first began to write tests for the packages underlying or used
by Configure.pl, I figured it would be best to try to mimic
Configure.pl's operation as closely as possible i
When looking at a trace output (-t1), what's the difference
between "PMCNULL" and "(null)"? For example:
$ cat y.pir
.namespace ['Foo']
.sub main :main
$P1 = get_class ['Foo']
$P2 = $P1
$P0 = get_hll_namespace ['Foo']
$P1 = get_class $P0
$P2 = $P1
.end
How does one create a new class with a name determined dynamically
at runtime?
For example, suppose I have a string like 'PGE::Perl6Grammar', and
from that I want to create a ['PGE';'Perl6Grammar'] class. The code
$ cat z1.pir
.sub main :main
$S0 = 'PGE::Perl6Grammar'
$P0
At 23:48 03/10/2007 -0700, chromatic wrote:
On Wednesday 03 October 2007 12:55:54 François PERRAD wrote:
> 3) garbage collection
> How write code without GC problems ?
> How track down and fix GC problems ?
I'm happy to help, but I have difficulty running Lua programs from the
command
line.
I just haven't gotten to enabling arrays as a valid input. You'll have
it this afternoon.
Allison
Patrick R. Michaud wrote:
How does one create a new class with a name determined dynamically
at runtime?
For example, suppose I have a string like 'PGE::Perl6Grammar', and
from that I want to cre
Also, need to change license reference in editor/pasm.el. (It currently
gives a URL for Artistic 1.0.)
Allison
On Thu, Oct 04, 2007 at 12:27:49PM -0700, Allison Randal wrote:
> Patrick R. Michaud wrote:
> >Slowly PGE and PGE::Perl6Regex are being updated to work with pdd15oo.
>
> What sort of changes do you end up making? It shouldn't touch anything
> other than the lines of code creating a new class and
Patrick R. Michaud wrote:
Slowly PGE and PGE::Perl6Regex are being updated to work with pdd15oo.
What sort of changes do you end up making? It shouldn't touch anything
other than the lines of code creating a new class and instantiating a
new object. (And really, it shouldn't even touch creati
Patrick R. Michaud wrote:
It did occur to me this morning that we can stick with the
flat-namespace model that PGE and other tools have been
using up-to-now, and make the switch to using multilevel namespaces
sometime later. Either way there's going to be a big conversion
cycle involved somew
On Thu, Oct 04, 2007 at 01:33:43PM -0700, Allison Randal wrote:
> Patrick R. Michaud wrote:
> >
> >It did occur to me this morning that we can stick with the
> >flat-namespace model that PGE and other tools have been
> >using up-to-now, and make the switch to using multilevel namespaces
> >sometim
Patrick R. Michaud wrote:
How does one create a new class with a name determined dynamically
at runtime?
For example, suppose I have a string like 'PGE::Perl6Grammar', and
from that I want to create a ['PGE';'Perl6Grammar'] class. The code
$ cat z1.pir
.sub main :main
$S0 = 'PG
Allison Randal wrote:
The two remaining big things are PGE and multiple dispatch,
and then test cleanup.
The MMD tests are all passing now, so I'm working on test cleanup.
Allison
On Sep 29, 2007, at 12:07 PM, Klaas-Jan Stol (via RT) wrote:
# New Ticket Created by Klaas-Jan Stol
# Please include the string: [perl #45859]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=45859 >
Hi,
This proposal is a
I'm assuming PMCNULL is the good (parrot) kind of null, and null is
the bad (well, to us, anyway) (C) kind.
I would hazard a guess that anything that is returning null instead
of PMCNULL is b0rken.
On Oct 4, 2007, at 10:38 AM, Patrick R. Michaud wrote:
When looking at a trace output (-t1)
Yes, NULL should never make it to the PIR level, only PMCNULL should.
I'll dig into this code example next.
Will Coleda wrote:
I'm assuming PMCNULL is the good (parrot) kind of null, and null is the
bad (well, to us, anyway) (C) kind.
I would hazard a guess that anything that is returning nul
Patrick R. Michaud wrote:
When looking at a trace output (-t1), what's the difference
between "PMCNULL" and "(null)"? For example:
$ cat y.pir
.namespace ['Foo']
.sub main :main
$P1 = get_class ['Foo']
$P2 = $P1
$P0 = get_hll_namespace ['Foo']
$P1 = get_cla
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46079]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46079 >
In src/pmc/parrotio.pmc:open() there is the todo item:
/* XXX move this into the layer
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46081]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46081 >
In src/pmc/parrotio.pmc:open() there is the todo item (with some context):
/* XXX laye
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46085]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46085 >
In src/pmc/parrotio.pmc:slurp() there is the todo item:
/* TODO handle stdin */
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46087]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46087 >
In src/pmc/parrotio.pmc there is the todo item:
=item C
XXX TBD
This needs to be imp
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46089]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46089 >
In src/pmc/parrotio.pmc there is the todo item:
=item C
XXX TBD
This method needs to
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46091]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46091 >
In src/pmc/class.pmc there is the todo item:
/* TODO get printable name */
real_except
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46093]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46093 >
In src/pmc/class.pmc:add_attribute() there is the todo item:
if (_class->instantiated)
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46095]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46095 >
In src/pmc/class.pmc:add_method() there is the todo item:
/* XXX Need to handle multi
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46097]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46097 >
In src/pmc/class.pmc:add_parent() there is the todo item:
if (_class->instantiated) {
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46099]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46099 >
In src/pmc/class.pmc:add_parent() there is the todo item:
/* XXX Check we don't alread
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46101]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46101 >
In src/pmc/class.pmc:instantiate() there is the todo item:
/* Build full parents list.
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #46083]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=46083 >
In src/pmc/parrotio.pmc:open() there is the todo item:
/* XXX leaks as in ops/io.ops:
On Thu, Oct 04, 2007 at 10:46:02PM -0700, Allison Randal wrote:
> Patrick R. Michaud wrote:
> > $ ./parrot -t1 y.pir
> > 0 get_class P1, PC4P1=PMCNULL PC4=Key=PMC(0x92b690)
> > 3 set P2, P1 P2=PMCNULL P1=(null)
> > 6 get_hll_namespace P0, PC4
On Thursday 04 October 2007 23:10:14 [EMAIL PROTECTED] wrote:
> Modified:
>trunk/src/pmc/parrotio.pmc
>
> Log:
> [pmc] An input argument to the open() method was freed just before it was
> used. Thanks to Coverity (CID 131) for pointing this out!
This one's a bit tricky, but the previous beh
30 matches
Mail list logo