Juerd [EMAIL PROTECTED] wrote:
There is no way to get an anonymous rw scalar, is there?
There's always the Perl 5 hack:
\do { my $x }
Although that's not truly anonymous, I suppose.
--
Brent 'Dax' Royal-Gordon [EMAIL PROTECTED]
Perl and Parrot hacker
Brent 'Dax' Royal-Gordon wrote:
Juerd [EMAIL PROTECTED] wrote:
There is no way to get an anonymous rw scalar, is there?
There's always the Perl 5 hack:
\do { my $x }
Although that's not truly anonymous, I suppose.
There's a less-well-known hack that *is* truly anonymous:
# New Ticket Created by Curtis Rawls
# Please include the string: [perl #36013]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36013
The first patch (optimizer.patch) implement the add and subtract
identity rules to
# New Ticket Created by Leopold Toetsch
# Please include the string: [perl #36019]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36019
We already have some interactive parrot programs and applications.
Adding
Curtis Rawls [EMAIL PROTECTED] wrote:
The first patch (optimizer.patch) implement the add and subtract
identity rules to the strength reduction optimization in
imcc/optimizer.c .
Thanks, applied - r8194.
The following rules are implemented:
add Ix, Iy, 0 = set Ix, Iy
[ ... ]
This code
I've now split the various debug and trace settings a bit. We now have:
-d, --imcc-debug
-D, --parrot-debug op debug(in $1)
-t, --traceop trace(in $1)
All of the options take an optional hex-digit. A summary of the
individual bits can be obtained by invoking:
Luke wrote:
Both transparent dereferencing (infinite $$foo) and
opaque dereferencing (one-level $$foo) have their uses, but they are
definitely distinct.
Well, they are more like variations on a theme.
Instead of adding different syntax for each
kind, I'll propose something different:
Luke wrote:
Both transparent dereferencing (infinite $$foo) and
opaque dereferencing (one-level $$foo) have their uses, but they are
definitely distinct.
Well, they are more like variations on a theme.
Instead of adding different syntax for each
kind, I'll propose something different: two
Luke wrote:
Both transparent dereferencing (infinite $$foo) and
opaque dereferencing (one-level $$foo) have their uses, but they are
definitely distinct.
Well, they are more like variations on a theme.
Instead of adding different syntax for each
kind, I'll propose something different: two
On Sat, May 28, 2005 at 12:58:01AM -0400, Jeff 'japhy' Pinyan wrote:
[ set notation for character classes ]
What say you?
Off the top of my head I think using and | within character classes
will cause confusion.
/ (~(X Y) | Z | Q R) M | N /
So much for the visual pill of xxx
Juerd wrote:
The only real problem with having only infix := for binding, is that you
can't easily use an alias (aka transparent reference) in a list. You can
have an array of aliases, but it's harder to have an array or hash in
which one element is an alias. Binding can be done explicitly:
The patch fixes the bug which appeared in revision 7950
mmd.c.patch
Description: Binary data
Thomas Sandlass skribis 2005-05-28 17:34 (+0200):
%hash = { key = undef, foo = 'bar' };
%hashkey := $variable;
%hashkey = 5; # $variable is now 5 too
Sorry to interrupt, but wasn't {} not derefed when assigned
to a % variable? Don't get me wrong, I like this meaning. And
it
Vladimir Lipsky [EMAIL PROTECTED] wrote:
Thanks, applied - r8196
leo
Hello,
make install with Pugs creates a pugs.exe.bat file in Perl bin
directrory, which is useless and don't work since pugs.exe is not a
Perl script. It should be removed.
--
Grégoire Péan aka PixiGreg
www.pixigreg.com
[EMAIL PROTECTED]
When I do
export PUGS_EMBED=perl5,parrot
export PARROT_PATH=[some path]
perl Makefile.PL
then I receive following error:
Could not find module `System.Eval':
use -v to see a list of the files searched for
(imported from /root/tmp/pugs-tmp-3748.hs)
*** Inline Haskell support disabled. If
(This thread is referencing http://www.perlmonks.org/?node_id=461105)
I'd like to start writing the Module::Build/ExtUtils::MakeMaker for
Pugs. One of the first things that was mentioned was that the syntax
for use needs to support specifying the exact version or range of
versions you want to
I'm having a hard time coming up eith examples where I need anything otehr than
union and difference for character classes. Most of the predefined character
classes are disjoint, so intersection is almost useless. So for now let's just
stick with + and - and simple sets with not parens,
On Sun, May 29, 2005 at 12:04:29AM -0400, vadim wrote:
Additionally, excerpt from error message 'dated 2005-05-21 or later' is
probably wrong, because latest archive on that FTP is dated 20050501.
You'd probably need to pull a later version from hs-plugin's darcs
repository:
On Sat, May 28, 2005 at 09:24:13PM +0200, Groire Pn wrote:
make install with Pugs creates a pugs.exe.bat file in Perl bin
directrory, which is useless and don't work since pugs.exe is not a
Perl script. It should be removed.
Thanks -- it seems that some EXE_FILES hackery is needed in
class_count_mutex is used without having been initialized. The fixes that.
inter_create.c.patch
Description: Binary data
On Fri, May 27, 2005 at 22:59:25 +0200, Ingo Blechschmidt wrote:
Hi,
what is the default invocant of methods?
method blarb ($normal_param) {...}
# Same as
method blarb (Class | ::?CLASS $invocant: $normal_param) {...}
# or
method blarb (::?CLASS $invocant: $normal_param) {...}
We have a pretty complex declarative language for argument
processing in the parameter declaration:
types, subtypes, constraint blocks
context propagation
default values
slurpiness
arity as a number does not give enough reflection into these
properties.
Are
On 5/28/05, Rob Kinyon [EMAIL PROTECTED] wrote:
(This thread is referencing http://www.perlmonks.org/?node_id=461105)
I'd like to start writing the Module::Build/ExtUtils::MakeMaker for
Pugs. One of the first things that was mentioned was that the syntax
for use needs to support specifying
Rob Kinyon wrote:
On 5/28/05, Rob Kinyon [EMAIL PROTECTED] wrote:
(This thread is referencing http://www.perlmonks.org/?node_id=461105)
I'd like to start writing the Module::Build/ExtUtils::MakeMaker for
Pugs. One of the first things that was mentioned was that the syntax
for use needs to
25 matches
Mail list logo