John M. Dlugosz wrote:
> Does that mean there is a tool I can use to apply STD.pm to syntax-check
> my examples or ask questions of it? Can you point to that?
in the pugs repository:
$ cd src/perl6
$ make
$ ./tryfile $filename
That assumes a perl 5.10 in /usr/local/bin/perl
HTH,
Moritz
--
Mo
Does that mean there is a tool I can use to apply STD.pm to syntax-check
my examples or ask questions of it? Can you point to that?
--John
Moritz Lenz wrote:
Since now STD.pm parses most Perl 6 code now, and spits out a parse tree
in YAML, a brave soul might want to write a syntax hilighter
It seems to me that the only type held by a '&' variable is treated as
the container type. And, the value type in such a declaration is
uniformly used as a function return type. Is that correct?
So if the most basic declaration is
my &func;
then
my Int &func;
means that whatever fun
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #57398]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=57398 >
$ svn info | grep Revi
Revision: 29869
$ ./perl6 -e 'sub a($x) { $x = 5 }; my $y = 7; a
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #57396]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=57396 >
$ ./perl6 -e 'my $x; $x.foo()'
works, but
$ ./perl6 -e 'sub a { my $x; $x.foo() }; a()
On Tue Jul 29 11:01:12 2008, particle wrote:
>
> overall, i'm impressed at the 50% speedup. given that these are
> relatively fast tests, it makes sense that since there are half as
> many files (and therefore half as many invocations of perl), the tests
> take half the time to run. other than my
On Tue Jul 29 11:04:59 2008, doughera wrote:
> On Tue, 29 Jul 2008, James Keenan via RT wrote:
> The parallel branch does seem to run in about half the time. This is
> with
> perl-5.8.8 on Solaris/SPARC, where perl was built with Sun's cc, but
> I'm
> trying to build parrot with gcc. Here are the
On Tue Jul 29 11:01:12 2008, particle wrote:
>
> the failing test:
> t/steps/auto_ctags-01ok 1/31
> # Failed test 'Got expected result'
> # at t/steps/auto_ctags-01.t line 65.
> t/steps/auto_ctags-01NOK 17/31# got:
> 'yes'
> # expect
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #57386]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=57386 >
After running the Configure.pl test suite, I'm seeing some
annoying-to-remove directo
# New Ticket Created by Johan Viklund
# Please include the string: [perl #57388]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=57388 >
Hi there, declaring classes in other namespaces except the toplevel
one results in "emt
Hi,
I found in one of the spec tests for Ranges:
my $r = 1..5;
ok(($r).ACCEPTS($r), 'accepts self');
ok(($r).ACCEPTS(1..5), 'accepts same');
ok($r ~~ $r, 'accepts self');
ok($r ~~ 1..5, 'accepts same');
And implemented this, but then Pm pointed out that it's not actually
mention
Author: allison
Date: Tue Jul 29 12:45:55 2008
New Revision: 29861
Added:
trunk/docs/pdds/pdd19_pir.pod
- copied unchanged from r29860, /trunk/docs/pdds/draft/pdd19_pir.pod
Removed:
trunk/docs/pdds/draft/pdd19_pir.pod
Changes in other areas also in this revision:
Modified:
trunk/MA
Author: allison
Date: Tue Jul 29 12:41:01 2008
New Revision: 29860
Modified:
trunk/docs/pdds/draft/pdd19_pir.pod
Log:
[pdd] Resolving a few more TODOs in the PIR PDD.
Modified: trunk/docs/pdds/draft/pdd19_pir.pod
==
Author: allison
Date: Tue Jul 29 12:34:52 2008
New Revision: 29859
Modified:
trunk/docs/pdds/draft/pdd19_pir.pod
Log:
[pdd] Architectural review of PIR PDD.
Modified: trunk/docs/pdds/draft/pdd19_pir.pod
==
--- trunk/
Just found someone breaking my code...
Index: src/dynext.c
===
--- src/dynext.c(revision 28459)
+++ src/dynext.c(working copy)
@@ -276,12 +276,10 @@
/* And on cygwin replace a leading "lib" by "cyg". */
#ifdef _
RT #53302 extends the meanings of various sub flags such that :vtable
now always implies :anon. As such, I think we can either apply this
patch or reject it, given that we expect a refactor of :vtable and
:method handling to occur at some point in the future.
Personally I'd suggest to reject it f
On Tue Apr 29 18:47:06 2008, [EMAIL PROTECTED] wrote:
> The "sleep" op calls Parrot_cx_schedule_sleep(), which falls back to
> Parrot_sleep() on non-threaded architectures. Here's a patch to
> implement a Parrot_usleep() and call that instead, for those
> platforms.
Does this patch apply and work
On Sun Apr 06 05:05:13 2008, mmcleric wrote:
> I have a problem with this patch on Mac OS X (originally i checked it on
> Ubuntu 7.10).
> Actually it's a difference in stdin.'readline'($S0) behavior on Linux
> and Mac OS X; Linux (glibc+readline lib actually, i think) prints $S0
> arg to screen, a
On Tue, 29 Jul 2008, James Keenan via RT wrote:
> For those of you who are interested in benchmarking the difference, I
> recommend you do a checkout of the parallel branch and run 'perl
> Configure.pl --test=configure', as I've included a line reporting the
> elapsed time. Then do a fresh checko
On Tue, Jul 29, 2008 at 4:28 AM, James Keenan via RT
<[EMAIL PROTECTED]> wrote:
> I have prepared a patch which represents an 'svn diff' between trunk and
> the 'parallel' branch at the point of the branch's inception. Rather
> than swamp your inboxes, I'm posting it here:
>
> http://thenceforward
Author: cotto
Date: Mon Jul 28 23:53:30 2008
New Revision: 29838
Modified:
trunk/docs/pdds/draft/pdd19_pir.pod
Log:
[pdd] typo fix
Modified: trunk/docs/pdds/draft/pdd19_pir.pod
==
--- trunk/docs/pdds/draft/pdd19_pir.
On Tue, Jul 29, 2008 at 12:58 AM, Christoph Otto via RT
<[EMAIL PROTECTED]> wrote:
> On Mon Oct 22 10:02:53 2007, pcoch wrote:
>> In src/pmc/exception.pmc:shift_pmc() there is the todo item:
>>
>> PMC *shift_pmc() {
>> /* fprintf(stderr, "don't do that then\n"); XXX */
>> return
On Mon Oct 22 10:02:53 2007, pcoch wrote:
> In src/pmc/exception.pmc:shift_pmc() there is the todo item:
>
> PMC *shift_pmc() {
> /* fprintf(stderr, "don't do that then\n"); XXX */
> return PMCNULL;
> }
>
> Since the error is commented out, do we need this code (and its as
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #57378]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=57378 >
Rakudo as of r29841 implements Str.split(Str), but not with a Regex as
its argument. Like
Hi,
I've made some of these fail a little less spectacularly now.
Implementing a better error message cleanly either needs some
refactoring of variable declaration handling code (so when we're parsing
a variable we know if we're parsing a declaration), or is something we
should do in an analysis s
I have prepared a patch which represents an 'svn diff' between trunk and
the 'parallel' branch at the point of the branch's inception. Rather
than swamp your inboxes, I'm posting it here:
http://thenceforward.net/parrot/diff.trunk.parallel.txt
This patch is more for review than application. Bec
26 matches
Mail list logo