On 03/09/2017 02:22 PM, Theo van den Heuvel wrote:
Is this what you are looking for?
our $IAm is export;
( $IAm = $?FILE ) ~~ s|.*"/"||;
Hi Theo,
Almost. I only want the code inside the module (pm)
to see it. I don't want it exported.
On the other hand, you just taught me h9owto
Is this what you are looking for?
our $IAm is export;
( $IAm = $?FILE ) ~~ s|.*"/"||;
--
Theo van den Heuvel
Van den Heuvel HLT Consultancy
On 03/09/2017 04:00 AM, Timo Paulssen wrote:
Hey,
X11::Xlib::Raw is buggy. It has to have all modules it uses internally
inside its "provides" section in the META6.json, otherwise "use" will
not find them.
I'll open a ticket with the module author.
HTH
- Timo
Hi Timo,
As long as Inlin
On 03/09/2017 03:58 AM, Timo Paulssen wrote:
"my" variables are lexically scoped to the curly braces that contain
them. That means that your $IAm is limited exactly to that init block.
Also, =~ isn't in perl6.
You can put "my $IAm" outside that block and assign to it inside the
block, though.
H
Recommended to use ".fc" instead of ".uc" when trying to do manual
case-insenstive matches.
(helps out with unicode edge cases)
On Thu, Mar 9, 2017 at 1:48 PM, Theo van den Heuvel
wrote:
> however in such a simple case we could just write
>
> token idf { $=[ \w+ ] .uc eq 'WHERE' }> }
>
>
> cheer
however in such a simple case we could just write
token idf { $=[ \w+ ] .uc eq 'WHERE' }> }
cheers,
Theo van den Heuvel schreef op 2017-03-09 19:42:
I use something like
token idf { $=[ \w+ ] ~~ :i/^ where $/}> }
but there are likely to be simpler solutions.
yary schreef op 2017-03-09 1
I use something like
token idf { $=[ \w+ ] ~~ :i/^ where $/}> }
but there are likely to be simpler solutions.
yary schreef op 2017-03-09 16:12:
The method for defining reserved words in general is to have a rule
that matches them (typically "match anything in this array" or a long
alternatio
The method for defining reserved words in general is to have a rule that
matches them (typically "match anything in this array" or a long
alternation), and then modifying the rules where those reserved words are
not allowed to reject them.
So for that grammar, you want to change "identifier" to re
On 09/03/17 08:29, ToddAndMargo wrote:
> https://atom.io/
>
> as it is specifically written for Perl 6
Not quite. It's a general-purpose code editor that you could say comes
from the javascript corner of programming.
However, we do have active devs improving the perl6-related plugins for
atom
On Thu, Mar 9, 2017 at 8:29 AM, ToddAndMargo wrote:
> https://atom.io/
>
> as it is specifically written for Perl 6
>
I'm not sure about that...but I would prefer Emacs.
Luca
Hi,
Wouldn't it be enough to use something that backtracks? As you might
know, "token" is "regex + ratcheting" and "rule" is "token + sigspace".
HTH
- Timo
Hey,
X11::Xlib::Raw is buggy. It has to have all modules it uses internally
inside its "provides" section in the META6.json, otherwise "use" will
not find them.
I'll open a ticket with the module author.
HTH
- Timo
On 08/03/17 22:08, ToddAndMargo wrote:
> Hi All,
>
> What is wrong with this?
"my" variables are lexically scoped to the curly braces that contain
them. That means that your $IAm is limited exactly to that init block.
Also, =~ isn't in perl6.
You can put "my $IAm" outside that block and assign to it inside the
block, though.
HTH
- Timo
how funny is that ??
=:-) (please watch the clip)
but I think we need an editor written in perl6 - not in Java
;)
-am
On 08.03.17 23:29, ToddAndMargo wrote:
> Hi All,
>
> The guys on the chat line told me to look at
>
> https://atom.io/
>
> as it is specifically written fo
14 matches
Mail list logo