Re: Transparent / Opaque references

2005-05-28 Thread Brent 'Dax' Royal-Gordon
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

Re: Transparent / Opaque references

2005-05-28 Thread Damian Conway
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:

[perl #36013] [PATCH]Modified Strength Reduction Optimization (add/sub)

2005-05-28 Thread via RT
# 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

[perl #36019] [TODO] readline support

2005-05-28 Thread via RT
# 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

Re: [perl #36013] [PATCH]Modified Strength Reduction Optimization (add/sub)

2005-05-28 Thread Leopold Toetsch
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

[rev 8195] debug trace flags

2005-05-28 Thread Leopold Toetsch
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:

Re: Transparent / Opaque references = Link / Ref

2005-05-28 Thread Thomas Sandlass
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:

RE: Transparent / Opaque references

2005-05-28 Thread Thomas Sandlass
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

RE: Transparent / Opaque references = Link / Ref

2005-05-28 Thread Thomas Sandlass
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

Re: comprehensive list of perl6 rule tokens

2005-05-28 Thread Jonathan Scott Duff
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

RE: Transparent / Opaque references

2005-05-28 Thread Thomas Sandlass
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:

[PATCH]get_mmd_dispatch_type fix

2005-05-28 Thread Vladimir Lipsky
The patch fixes the bug which appeared in revision 7950 mmd.c.patch Description: Binary data

Re: Transparent / Opaque references

2005-05-28 Thread Juerd
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

Re: [PATCH]get_mmd_dispatch_type fix

2005-05-28 Thread Leopold Toetsch
Vladimir Lipsky [EMAIL PROTECTED] wrote: Thanks, applied - r8196 leo

Pugs makefile minor inconvenience: pugs.exe.bat

2005-05-28 Thread Grégoire Péan
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]

can't build pugs with parrot support

2005-05-28 Thread vadim
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

Syntax of use/require

2005-05-28 Thread Rob Kinyon
(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

Re: comprehensive list of perl6 rule tokens

2005-05-28 Thread mark . a . biggar
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,

Re: can't build pugs with parrot support

2005-05-28 Thread Autrijus Tang
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:

Re: Pugs makefile minor inconvenience: pugs.exe.bat

2005-05-28 Thread Autrijus Tang
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

[PATCH]class_count_mutex

2005-05-28 Thread Vladimir Lipsky
class_count_mutex is used without having been initialized. The fixes that. inter_create.c.patch Description: Binary data

Re: Default invocant of methods

2005-05-28 Thread Yuval Kogman
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) {...}

function signatures?

2005-05-28 Thread Yuval Kogman
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

Re: Syntax of use/require

2005-05-28 Thread Rob Kinyon
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

Re: Syntax of use/require

2005-05-28 Thread Rod Adams
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