Aaron Sherman wrote:
On Mon, 2005-05-02 at 08:58 +0200, Leopold Toetsch wrote:
The vtable functions C and C, which take now a string, are a
bit heavy-weighted and might get an extension in the log run that take
an integer flag.
Unless this happens, this would be a HUGE performance hit. After all,
On Tue, May 03, 2005 at 09:22:11PM +0100, Nicholas Clark wrote:
>
> Whilst I confess that it's unlikely to be me here, if anyone has the time
> to contribute some help, do you have a list of useful self-contained tasks
> that people might be able to take on?
Very good question -- I can probably c
On Tue, May 03, 2005 at 09:23:01PM -0700, chromatic wrote:
> Parrot bundles Test::Builder 0.11 (from Test-Simple 0.41). Is it worth
> upgrading?
Couldn't hurt. A whole mess of is_deeply() bugs have been fixed since
0.41.
--
Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~sch
On Tue, 2005-05-03 at 15:36 -0700, Michael G Schwern wrote:
> Test::Simple/More/Builder 0.61 will introduce a change to Test::Builder
> whereby the BAILOUT() method becomes BAIL_OUT(). Additionally Test::More
> finally features a BAIL_OUT() function.
>
> Using cpansearch [1] I've determined that
Bob~
On 5/3/05, Bob Rogers <[EMAIL PROTECTED]> wrote:
>. . . but I can't figure out why. I thought the patch below would
> help, but it appears that the value of c is itself broken somehow.
>
> . . .
> This GDB was configured as "i586-suse-linux"...
> (gdb) r runtime/parrot/libra
. . . but I can't figure out why. I thought the patch below would
help, but it appears that the value of c is itself broken somehow.
. . .
This GDB was configured as "i586-suse-linux"...
(gdb) r runtime/parrot/library/config.pbc
Starting program: /usr/src/parrot/disassemble
ru
Perl 6 Summary for 2004-04-26 through 2005-05-03
All~
Welcome to another weeks summary. This week I shall endeavor not to
accidentally delete my summary or destroy the world. So here we go with
p6c.
Perl 6 Compilers
implicit $_ on for loops
Kiran Kumar found a bug in pugs
On Mon, 2005-05-02 at 08:58 +0200, Leopold Toetsch wrote:
> Nicholas Clark <[EMAIL PROTECTED]> wrote:
> > 1 bit for SVf_IOK
> > 1 bit for SVf_NOK
> > 1 bit for SVf_POK
> > 1 bit for SVf_ROK
>
> I'd not mess around with (or introduce) flag bits. The more that this
> would only cover perl5 PMCs. Pr
On May 3, 2005, at 14:27 , Joe McMahon wrote:
Here's a weird idea: how about the option of AJAXing the test
harness results back to a receiving server somewhere that
understands TAP? Bingo: TAP testing of JS embedded in web pages in
its native habitat.
That's just evil. Maybe when Schwern or
Starting May 4, to ease the transition to regular releases, we'll not
so much freeze as slush the code base. Please don't do anything
destabilizing (to the code base :-)) in the next few days. I expect
the slush will last a few days as well.
The plan is to make a release branch for each release,
On Apr 29, 2005, at 12:15 PM, David Wheeler wrote:
So for my next trick, a harness! I have to give some thought for how
to combine a bunch of JS tests into one output. Maybe a JS script that
spawns hidden frames and runs the tests in them, then collects the
output from them (directly from detail
If someone wanted to convert languages/tcl in such a fashion, that would be
cool.
[EMAIL PROTECTED] wrote:
Author: bernhard
Date: Tue May 3 14:32:31 2005
New Revision: 7965
Added:
trunk/languages/m4/src/builtin.pir
- copied, changed from rev 7963, trunk/languages/m4/src/builtin.imc
tr
Test::Simple/More/Builder 0.61 will introduce a change to Test::Builder
whereby the BAILOUT() method becomes BAIL_OUT(). Additionally Test::More
finally features a BAIL_OUT() function.
Using cpansearch [1] I've determined that you all are the only current
users of BAILOUT() on CPAN. Ponie, Parr
http://www.pobox.com/~schwern/src/Test-Simple-0.60.tar.gz
or
http://svn.schwern.org/svn/CPAN/Test-Simple/trunk
or
a CPAN near you.
Why the version bump? The internals of the Test::Builder object has been
redone from a pile of file-scoped lexicals (allowing only a single object
to exist) to a norm
On Tue, May 03, 2005 at 10:35:50AM -0700, chromatic wrote:
> On Tue, 2005-05-03 at 14:48 +0100, Nicholas Clark wrote:
>
> > > And should they eventually even be autogenerated ;)
> > Now, that bit I agree with. A task for someone who likes writing perl?
>
> I like writing Perl. Where can I find t
On Tue, May 03, 2005 at 09:22:11PM +0100, Nicholas Clark wrote:
> Whilst I confess that it's unlikely to be me here, if anyone has the time
> to contribute some help, do you have a list of useful self-contained tasks
> that people might be able to take on?
Following some discussion on #perl6, it s
On Tue, May 03, 2005 at 02:33:25PM -0500, Patrick R. Michaud wrote:
[snip the good bit]
Three cheers for Patrick.
Boo hiss to real life, especially when it gets in the way.
> Not yet implemented, but coming soon (rough priority order):
>
> - updated test harness/test suite
> - cut operation
On Tue, May 03, 2005 at 03:46:54PM -0400, Rob Kinyon wrote:
> Will this change remove the need for pugscc to be cygpath'ed on
> cygwin? Or, should I go ahead and work on this?
Please go ahead -- pugscc will still be needed to create
native executables without using parrot.
Thanks,
/Autirjus/
pg
Will this change remove the need for pugscc to be cygpath'ed on
cygwin? Or, should I go ahead and work on this?
Rob
On 5/3/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> Because I want to embed PGE in Pugs, I end up embedding the
> entire libparrot. :-)
>
> As of two hours ago, if you set the PU
Because I want to embed PGE in Pugs, I end up embedding the
entire libparrot. :-)
As of two hours ago, if you set the PUGS_EMBED environment
variable to "parrot" and run perl Makefile.PL, Pugs will
build and link against Parrot, and provide a require_parrot()
primitive for you. JIT works as one o
The short story
---
I've just committed a new, rewritten version of PGE to the Parrot
repository. It's still somewhat preliminary and many rule features
are still missing. On the other hand, it's now written entirely
in PIR (no more C compiling!) and provides a stronger base plat
# New Ticket Created by jerry gay
# Please include the string: [perl #35195]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=35195 >
i couldn't find documentation on the behavior of IMCC if the @MAIN
subpragma was defined o
Nathan,
On May 3, 2005, at 12:32 PM, Nathan Gray wrote:
On Tue, May 03, 2005 at 10:36:40AM -0400, Stevan Little wrote:
The ongoing search to find a good model for TODO tests in Pugs
continues ...
To start with, the idea of some kind of "switch" to turn all failures
into TODOs has been removed. It w
On Tue, 2005-05-03 at 14:48 +0100, Nicholas Clark wrote:
> > And should they eventually even be autogenerated ;)
> Now, that bit I agree with. A task for someone who likes writing perl?
I like writing Perl. Where can I find the source information, where
should I write it, and how should it look?
Autrijus Tang wrote:
On Tue, May 03, 2005 at 05:32:44AM -0700, Larry Wall wrote:
: # Type Instantiation?
: sub apply (&fun<::a> returns ::b, ::a $arg) returns ::b {
: &fun($arg);
: }
The first parameter would be &fun:(::a) these days, but yes.
(Stylistically, I'd leave the & off t
On Tue, May 03, 2005 at 10:36:40AM -0400, Stevan Little wrote:
> The ongoing search to find a good model for TODO tests in Pugs
> continues ...
>
> To start with, the idea of some kind of "switch" to turn all failures
> into TODOs has been removed. It was a bad idea from the start and since
> i
On Tue, May 03, 2005 at 09:00:49AM -0700, David Wheeler wrote:
: On May 3, 2005, at 00:04 , Luke Palmer wrote:
:
: >I agree with you there. $Larry has said that he wants `when` to work
:
: Shouldn't that be @Larry[0]?
That depends on whether you think the rest of them are pushy or shiftless. :-
On May 3, 2005, at 00:04 , Luke Palmer wrote:
I agree with you there. $Larry has said that he wants `when` to work
Shouldn't that be @Larry[0]?
Cheers,
David
smime.p7s
Description: S/MIME cryptographic signature
Juerd wrote:
I personally would not mind requiring whitespace around & in those
cases.
Same here. Actually the whitespace after & makes the destinction, or not?
If parens are used for the grouping, then why is the colon required?
Because it escapes into type-space like ::() escapes into name-space
The ongoing search to find a good model for TODO tests in Pugs
continues ...
To start with, the idea of some kind of "switch" to turn all failures
into TODOs has been removed. It was a bad idea from the start and since
it never actually was implemented, I have ditched it entirely.
Second, I wo
Bob Rogers wrote:
How about extending ".return" to cover these:
.return foo(x, ...) # tail function call
.return o.foo(x, ...) # tail method call
Done - rev 7959.
More tests are welcome, as always. See imcc/t/syn/tail.t for existing ones.
leo
On Tue, May 03, 2005 at 05:32:44AM -0700, Larry Wall wrote:
> : # Type Instantiation?
> : sub apply (&fun<::a> returns ::b, ::a $arg) returns ::b {
> : &fun($arg);
> : }
>
> The first parameter would be &fun:(::a) these days, but yes.
> (Stylistically, I'd leave the & off the call.
On Tue, May 03, 2005 at 02:55:22PM +0200, Leopold Toetsch wrote:
> Nicholas Clark wrote:
> >Should There be a Parrot_PMC_push_pmc() [and friends?] in extend.h to allow
> >parrot-extending code direct access to those vtable methods?
> >
> >Eventually, should extend.h contain methods to make calls on
Larry Wall skribis 2005-05-03 6:22 (-0700):
> sub foo (Int&Str &block) {...}
> sub foo (:(Int&Str) &block) {...}
> Alternately, we install a small heuristic and document it in the fine print.
I personally would not mind requiring whitespace around & in those
cases.
If parens are used for
On Mon, Apr 25, 2005 at 08:33:06PM +0200, Juerd wrote:
: I think it would be great to be able to use a junction with use:
:
: use strict & warnings;
:
: A disjunction could mean any of the listed modules suffices. This comes
: in handy when you code something that will work with any of three
On Mon, Apr 25, 2005 at 02:37:40PM -0500, Rod Adams wrote:
: Something that crossed my mind while writing this: Does
:
:for { say } <== @a;
:
: Work?
Nope. The brackets where a term is expected would be misconstrued
as an argument to the "for". Maybe we need an @= for a placeholder:
f
Nicholas Clark wrote:
Should There be a Parrot_PMC_push_pmc() [and friends?] in extend.h to allow
parrot-extending code direct access to those vtable methods?
Eventually, should extend.h contain methods to make calls on all public vtable
methods?
Yep. Think so. But note that all "vtables" denoted M
Should There be a Parrot_PMC_push_pmc() [and friends?] in extend.h to allow
parrot-extending code direct access to those vtable methods?
Eventually, should extend.h contain methods to make calls on all public vtable
methods?
Nicholas Clark
On Tue, May 03, 2005 at 08:29:22AM -0400, Aaron Sherman wrote:
: On Tue, 2005-05-03 at 08:07, Larry Wall wrote:
: > On Tue, May 03, 2005 at 07:59:19AM -0400, Aaron Sherman wrote:
:
: > : On a side note about auto-accessors, if I say:
: > :
: > : class X {
: > : has $.foo;
: > : }
:
On Tue, May 03, 2005 at 05:06:15PM +0800, Autrijus Tang wrote:
: With the recent discussion on type sigils, and the fact that Pugs
: is moving toward the OO core, I'd like to inquire how the following
: statements evaluate (or not):
:
: # Compile time type arithmetic?
: ::Dual ::= ::Str |
On Tue, 2005-05-03 at 08:07, Larry Wall wrote:
> On Tue, May 03, 2005 at 07:59:19AM -0400, Aaron Sherman wrote:
> : On a side note about auto-accessors, if I say:
> :
> : class X {
> : has $.foo;
> : }
> : class Y is X {
> : has %.foo;
> : }
> :
> : What h
On Tue, May 03, 2005 at 11:22:06AM +0200, Juerd wrote:
: I didn't know io was blessed already.
It pretty much is, just not the subsequent overloading of > and <.
We'll use ==> and <== instead.
Larry
On Tue, May 03, 2005 at 07:59:19AM -0400, Aaron Sherman wrote:
: I like the idea that $.foo ALWAYS means the $.foo in the current class.
: Anything else gets very ugly later on.
Well, since I'm not going with & for "self", I'm probably not going with
the $.foo meaning anything outside of the class
>From a Perl 6 perspective, we should probably read this and think about
what this gives us, and what it doesn't. Parrot doesn't have to support
everything in Perl's calling conventions, but it has to support enough
so that Perl's invocations are efficient.
--
Aaron Sherman <[EMAIL PROTECTED]>
Se
On Tue, 2005-05-03 at 05:33, Thomas Sandlaß wrote:
> Luke Palmer wrote:
> >>BTW, what does $.foo outside of class scope mean?
> > It means:
> > BEGIN { die "Can't use \$.foo outside of class scope"; }
>
> That contradicts $Larry's statement: "By the way, this probably goes along
> with a
Below is a POD that tries to the describe an extensible calling scheme
that should cover most of our targets HLLs call syntax.
Comments welcome,
leo
=head1 TITLE
Calling convention abstraction
=head1 ABSTRACT
The current Parrot calling conventions as described in
F are not covering major
parts
On Tue, May 03, 2005 at 07:36:24AM -0400, Rob Kinyon wrote:
> I pulled svn r2461 and it does compile on cygwin, yes. But, the
> @INC problem is still there, preventing 'make test' from running
> successfully. Do you want me to look at that?
Please do, thanks. :-)
Also there is the problem wit
Gaal -
I pulled svn r2461 and it does compile on cygwin, yes. But, the
@INC problem is still there, preventing 'make test' from running
successfully. Do you want me to look at that?
Rob
On 5/2/05, Gaal Yahas <[EMAIL PROTECTED]> wrote:
> On Mon, May 02, 2005 at 09:06:42AM -0400, Rob Kinyon wr
Vladimir Lipsky wrote:
It's state is set to PREVIOUS_STATE+FINISHED
So it's never equal to just FINISHED
Ah, Yep. Works for JOINABLE, which is 0, but ...
Typo or what?
Inexact ;-)
leo
And on the third hand, if I understood the code correctly ...
src/threads.c: 40: thread_func()
src/threads.c: 53: interpreter->thread_data->state |=
THREAD_STATE_FINISHED;
src/threads.c: 312: pt_thread_join ()
src/threads.c: 321: if (interpreter->thread_data->state ==
THREAD_STATE_JOINABLE ||
sr
Luke Palmer wrote:
Ahh, you came in too late. I don't remember who coined it, but @Larry
is the array of Larrys, that is, the design team.
Aha. What does [EMAIL PROTECTED] evaluate to? How do the elements of
@Larry communicate?
I agree with you there. $Larry has said that he wants `when` to work
Luke Palmer skribis 2005-05-03 1:34 (-0600):
> > for @files { open; say uc for =$_; close; }
> Wait, so you want open to both open the filename in $_ /and/ set $_ to
> the opened filehandle?
You are right. The example code makes no sense at all.
> say uc for =io($_);
I didn't know io wa
Juerd writes:
> > : > I don't think the command should default to $_
> > : Why?!
> > Because $_ is primarily for the use of inner loops, not outer loops,
> > and open tends to be in the outer loop rather than the inner loop.
>
> As someone who tries to write clean code, I agree that the outer loop
Larry Wall skribis 2005-05-02 19:02 (-0700):
> In any event, none of the proposals that bury the label is going to
> be acceptable. As a vital visual element of control flow, the label
> has to be out front where it can be seen.
Something that putting quotes around them accomplishes...
(I'd stil
With the recent discussion on type sigils, and the fact that Pugs
is moving toward the OO core, I'd like to inquire how the following
statements evaluate (or not):
# Compile time type arithmetic?
::Dual ::= ::Str | ::Num;
$*Dual ::= ::Str | ::Num;
# Run time type arithmetic?
m
Larry Wall skribis 2005-05-02 15:53 (-0700):
> : Starting to look a lot like PHP there.
> And I care about that because PHP is such an unsuccessful language? :-)
> I'd just like all the opens to sort to the same place in the manual.
One of my biggest problems with PHP is that it puts in the name
Thomas Sandlaà writes:
> Larry Wall wrote:
> >On Mon, May 02, 2005 at 05:42:47PM -0700, Larry Wall wrote:
> >: We're still discussing it on @Larry, but I think we can make that work.
>
> Sorry if I don't know, but where or what is @Larry?
Ahh, you came in too late. I don't remember who coined it
Sorry, I forgot to attach necessary legal bits to the last two patches I
applied:
new n_arithmetics tests
Courtesy of Bob Rogers
[Patch] Win32 thread primitives
Courtesy of Vladimir Lipsky
leo
Vladimir Lipsky wrote:
threads_4 is testing killing threads. This is achieved by scheduling a
terminate event to the running interpreter. This can only succeed, if
the event system is running too.
see src/events.c/Parrot_new_terinate_event()
Though thr_windows.h doesn't contain error checking fo
Larry Wall wrote:
On Mon, May 02, 2005 at 05:42:47PM -0700, Larry Wall wrote:
: We're still discussing it on @Larry, but I think we can make that work.
Sorry if I don't know, but where or what is @Larry?
I guess some IRC?
Well, now I think &.foo() won't work, since &.foo should be reserved
for a s
On Mon, May 02, 2005 at 05:42:47PM -0700, Larry Wall wrote:
: We're still discussing it on @Larry, but I think we can make that work.
Well, now I think &.foo() won't work, since &.foo should be reserved
for a sub ref attribute to be consistent. But I think all we have
to do is find some other cha
On Mon, May 02, 2005 at 03:04:57AM -0600, Luke Palmer wrote:
: S12 says:
:
: subtype Str_not2b of Str where /^[isnt|arent|amnot|aint]$/;
:
: My brain parses this as:
:
: subtype Str_not2b[Str where /.../];
:
: Or:
:
: subtype Str_not2b[Str] where /.../;
:
: Neither of which really
62 matches
Mail list logo