#!/usr/bin/perl -w
use Test::More tests = 1;
eval { die Foo };
ok $@, \$@;
...
1..1
Invalid value for shared scalar at /usr/local/share/perl/5.8.0/Test/Builder.pm line
319.
WHOA! Somehow you got a different number of results than tests ran!
This should never happen! Please contact the author
At 22:22 +0100 8/25/03, Tony Bowden wrote:
#!/usr/bin/perl -w
use Test::More tests = 1;
eval { die Foo };
ok $@, \$@;
Invalid value for shared scalar at
/usr/local/share/perl/5.8.0/Test/Builder.pm line 319.
WHOA! Somehow you got a different number of results than tests ran!
This should never
Dan Sugalski wrote:
At 12:07 AM -0400 8/19/03, Benjamin Goldberg wrote:
There are a number of shortcomings in the API, which I'd like to address
here, and propose improvments for.
You're conflating language level strings with low-level strings. Don't.
STRINGs, the parrot structure and
TF == Tim Fries [EMAIL PROTECTED] writes:
TF Has there been any active development on mod_parrot since last
TF year?
active, no. I was consumed with the last 9 months of school.
TF The CVS on perl.org seems to have lost steam on the project 11 months
TF ago. This is an area I'm interested in
Gordon Henriksen wrote:
Now, I don't really have much of an opinion on compound strings in
general. I do want to address one particular argument, though—the lazily
slurped file string.
On Thursday, August 21, 2003, at 07:22 , Benjamin Goldberg wrote:
A foolish question: can you imagine
Benjamin Goldberg wrote:
Gordon Henriksen wrote:
Having a lazily slurped file string simply delays disaster, and
opens the door for Very Big Mistakes. Such strings would have to be
treated very delicately, or the program would behave very
inefficiently or crash.
Although Dan's
Hi,
Before reporting this as a bug I would like to know if it is not my
shallow understanding of Parrot... :-)
I set an exception handler, then call a subroutine and within that
subroutine an exception is triggered (because of a find_lex of a
non-existing lexical). The exception is handled but
Jos Visser wrote:
Hi,
Before reporting this as a bug I would like to know if it is not my
shallow understanding of Parrot... :-)
Wrong type on top of stack!
call _sub1
.sub _sub1
Exception handlers and plain subs don't play together (yet). You have
to use .pcc_sub (parrot calling
This rather largish patch moved 2 methods to default.pmc:
- name() returns now vtable-whoami (no more file static whoami)
- find_method() s. parrotio for usage
leo
Gordon Henriksen wrote:
Benjamin Goldberg wrote:
Gordon Henriksen wrote:
[snip]
[3] Unshift hack #1: Where commit appears in the above, exit the
grammar, trim the beginning of the string, and re-enter. (But that
forces the grammar author to discard the regex state, whereas commit
I started working on some XS code for embedding a Parrot interpreter in
Perl. I ran into a few problems:
1) I don't know XS :-) (good way to learn, though)
2) What do I put as stacktop in Parrot_init()? I can't just use a
local variable in the calling function, because it
Luke Palmer wrote:
I started working on some XS code for embedding a Parrot interpreter in
Perl. I ran into a few problems:
1) I don't know XS :-) (good way to learn, though)
2) What do I put as stacktop in Parrot_init()? I can't just use a
local variable in the
On Mon, Aug 25, 2003 at 10:44:59AM -0600, Luke Palmer wrote:
I started working on some XS code for embedding a Parrot interpreter in
Perl. I ran into a few problems:
1) I don't know XS :-) (good way to learn, though)
Have you looked at what Arthur's been up to with ponie?
You can get
This patch generates a second vtable (and class enum) for a PMC, when
the pmc class defintions contains Cconst_too.
To make that actually usable, I'm thinking of:
- the vtable gets a flag for const classes
- pmc_new uses the constant PMC pool, when that flag is set
- but the vtable is first the
When looking at vtables (and *.ops) I'm missing Cisa.
isa(out INT, in PMC, im STR) # set $1 to 1 if class $2 isa $3.
isa(out PMC, in PMC)
# set $1 to a const array containing $2's classes (parent first)
new P0, .PerlArray
isa P1, P0 # (PerlArray, Array, array)
The last entry
On Monday, August 25, 2003, at 11:40 AM, Leopold Toetsch wrote:
new P5, .PerlArray
invoke
...
isa I0, P5, array
if I0, yep_has_array_interface
I would expect 'does' instead of 'isa'. Perhaps I missed Dan's
explanation of the difference between 'can', 'isa', and 'does'. Maybe
I'm
On Mon, Aug 25, 2003 at 08:13:48PM +0200, Leopold Toetsch wrote:
This patch generates a second vtable (and class enum) for a PMC, when
the pmc class defintions contains Cconst_too.
To make that actually usable, I'm thinking of:
- the vtable gets a flag for const classes
- pmc_new uses the
- Original Message -
From: chromatic [EMAIL PROTECTED] I would expect 'does' instead of
'isa'. Perhaps I missed Dan's
explanation of the difference between 'can', 'isa', and 'does'. Maybe
I'm thinking of 'has', though.
Though I'm not familiar with the answer that's official for
18 matches
Mail list logo