On 1/21/06, Rob Kinyon <[EMAIL PROTECTED]> wrote:
> I'm making a few assumptions here:
> 1) Since PGE isn't part of Perl6 (because it's written in PIR), it
> can be used as the parser/lexer/etc. for any language, not just Perl6.
Rules, like regexes, are essentially language neutral. So that's
On 1/21/06, Larry Wall <[EMAIL PROTECTED]> wrote:
> But maybe all this is already possible in the current setup, if
>
> role ObjectFakeHash does Hash {...}
> role Object does ObjectFakeHash {...}
> class Hash does Hash {...}
Yes, I think that's the way to go, as well as :coerce for exp
On 1/19/06, Matt Fowles <[EMAIL PROTECTED]> wrote:
> Could you provide a concrete example of the advantage of this approach
> please? Failing that can you try and expand on your gut feeling a
> bit?
May or may not be of use, but Larry's view sounds a bit like reconcilling the
(again considered ir
I'm glad to report the soon-to-be-released Pugs 6.2.11 now targets
Parrot with the new calling convention and lexical pad syntax.
However, the explicit demand on a "newclosure" runtime call makes
package-scoped subroutines awkward to generate and use -- please see
this journal entry for details:
(More brain dump.)
"Context" is implemented as type coercion calls, implicitly inserted
by the compiler.
There are five types used in these calls. The "..." below denote
the positions where these contexts typically occur, using common
Perl 5 operations as examples:
Void # ...;
This is a brain-dump of how container types and contexts work in the
new Pugs runcore.
Assuming everything other than an explicit method call is subject to
MMD, we have this desugaring:
# Sugared syntax
${$x} = 5;
# Desugared syntax
&infix:<=>(&circumfix:<${ }>($x), 5);
It's str
Perl 6 Rules implementations in Haskell and
Perl 6.
A 20-minutes hack had paid off handsomely: In 33 lines,
we have a fast, pure Haskell implementation of basic Perl 6 Rules
support. Adding support for each new construct should take only 2 lines
-- one at the OpTable precedence parser below to
(To make the summarizer's life easier, here is a repost of
http://pugs.blogs.com/pugs/pil/ in the past week; I'll also post
another one on Pugs-Rule developments.)
Roles support in PIL.Native runtime.
Almost two months ago when I was in .nl, Stevan and I worked out the
ObjectSpace
bootstrappi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is just a heads-up for people tracking my use.perl.org journal --
the Pugs journal is now moved to http://pugs.blogs.com/. I'd like to
thank to Six Apart for their kind offer in sponsoring the hosting.
I'm slowly catching up writing about new dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt Diephouse wrote:
| While working out some bugs in ParTcl I came across something roughly
| equivalent to the following Perl code (I'm using Perl because I
| believe more people know Perl than Tcl, at least on this list):
|
| #!/usr/bin/perl
|
10 matches
Mail list logo