»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 May 2018.
00:03 shareable6 joined 00:05 comborico1611 left 00:09 vike joined 00:45 margeas left 01:12 raschipi left 01:27 Xliff joined
Xliff \o 01:27
yoleaux 13 May 2018 11:55Z <Zoffix> Xliff: flatmap is slated for removal in 6.e, with deprecation in 6.d, so what it should do is moot. But with other routines, we generally don't add a Whatever or argless candidate unless the default is very clear. We aren't Perl 5.
13 May 2018 12:41Z <Zoffix> Xliff: P.S.: the no-op map would be `{$_}`, not `*.self`, as the latter will blow up any unhandled Failures.
Xliff Zoffix++
I'm bored. Will p6 for cookies. 01:28
01:28 molaf joined
Xliff Figgers. It's FRYday. 01:29
01:50 Kaiepi left 01:52 Kaiepi joined 01:55 dominix joined
dominix hi proficient perl6 gurus 01:56
I would like to be able to use commnd line ARGS the same way as in perl5
01:56 ilbot3 joined, ChanServ sets mode: +v ilbot3
dominix but that does works 01:56
01:56 fascinum joined
dominix perl6 permute.p6 ralu 01:57
arlu
ural
...
echo ralu | perl6 permute.p6
nothing
#! env perl6 -n for @*ARGS -> $a { for $a.comb.permutations { $_.join.say } } 01:58
Juerd Could you share the equivalent Perl 5 construct? Because I can't think of anything that takes either a string (not filename) from @ARGV or STDIN 01:59
There's the magic ARGV filehandle, that's used with <> or readline ARGV, but that takes filenames on the command line, and returns the lines from the file(s) 02:00
The equivalent of 'ARGV' is '$*ARGFILES', the equivalent of '<>' is just 'get' (which is short for get($*ARGFILES) or $*ARGFILES.get) 02:03
Or actually, <<>>, the secure and saner version of <>. 02:04
02:10 llfourn joined 02:14 fascinum left
Xliff Aaand... more minor additions to my SQL parser. 02:20
Xliff drops mic.
dominix does it work even if ARGS are not files ? 02:34
02:40 Zoffix joined
Zoffix dominix: yeah, $*ARGFILES is just an IO::CatHandle and it can work with any collection of IO::Handle or IO::Pipe objects 02:41
So I just built rakudo on Raspberri Pi B+. I was kinda expecting this to take several hours based on descriptions of people saying that it takes ages, but it actually got done in 25 minutes. 02:42
02:45 n0tjack joined
dominix ARGFILE try to open a file on a command line, but I want to just use the name provided on the command line 02:49
Zoffix dominix: use how? 02:50
dominix for @*ARGS -> $a { for $a.comb.permutations { $_.join.say }
Zoffix dominix: OK. So that works, right? 02:51
dominix it works if I call perl6 permute.p6 tru lol
Zoffix dominix: so what's the problem? 02:52
dominix but it doesn't if I cal echo tru lol |perl6 permute.p6
I want both possibility
Zoffix dominix: and what happens in `echo tru lol |perl6 permute.p6 true lol` case? 02:53
dominix I ended with if @*ARGS { ...} else { for $*ARGFILES.lines -> $a ...
but it is not nice
Zoffix You can write it as `for @*ARGS || $*ARGFILES.lines -> $a { ... }` 02:54
geekosaur most things optimize the files-or-stdin case, not the argstrings-or-stdin case
Zoffix You can write it as `for @*ARGS || lines() -> $a { ... }` 02:55
lucs echo tru lol | xargs perl6 permute.p6 # Maybe?
02:55 Sgeo_ left
dominix this doesnt work # echo one two three |perl6 -e 'say $_ for reverse @*ARGS' 02:55
Zoffix dominix: that's because you're confusing STDIN and command line arguments 02:56
dominix this doesnt work # echo one two three |perl6 -e 'say $_ for reverse @*ARGFILES'
Zoffix dominix: that's because it's $*ARGFILES, not @*ARGFILES
dominix perl6 -e '.say for $*ARGFILES.lines;' ral lar arl 02:57
this produce error
Zoffix dominix: that's because you're telling it to open `ral lar arl` as files
dominix Failed to open file /home/dominix/src/perl6/ral: No such file or directory
Zoffix dominix: echo one two three |perl6 -e 'say $_ for reverse @*ARGS || words' 02:58
@*ARGS are command line arguments, $*ARGFILES takes them and opens them as files or uses $*IN if they're not specified.
dominix ok, do do I proceed to get the name provided on command line with both "echo name| perl 6 prog" and "perl6 prog name" 02:59
02:59 Sgeo joined
dominix how 02:59
Zoffix dominix: echo one two three |perl6 -e 'say $_ for reverse @*ARGS || words'
dominix nice 03:00
Zoffix dominix: or `lines` instead of `words` or some more complex parsing, depending on how you want STDIN to be processed
dominix $*ARGFILES was just a wrong use of this
Zoffix Yup
03:01 Khisanth joined 03:18 mcmillhj joined, Sgeo_ joined 03:19 n0tjack left 03:21 Sgeo left 03:25 mcmillhj left, mcmillhj joined
dominix thanks Zoffix: 03:29
03:37 Sgeo joined, Sgeo_ left 03:38 Sgeo_ joined, mcmillhj left
Zoffix Any time. 03:41
03:42 Sgeo left 03:57 Schepeers joined, sauvin joined
Xliff Use of uninitialized value $repo-id of type Any in string context. 04:02
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
??
That was during compile.
04:12 xi- joined
Xliff Why am I getting this when I am trying to use a Grammar => "Too many positionals passed; expected 1 argument but got 2" 04:13
Please note, this is the Grammar, not the Action class.
04:17 araraloren joined
Xliff Hello. Is anyone around? 04:55
05:14 sena_kun joined 05:18 wamba joined 05:20 araraloren left 05:21 araraloren joined 05:25 mcmillhj joined 05:30 Kaiepi left, Kaiepi joined, mcmillhj left 05:40 mcmillhj joined 05:41 kurahaupo joined 05:44 ChoHag joined, mcmillhj left
Summertime is there much mechanism to create your own repl, in the standard library? 05:50
05:51 ChoHag left 06:06 mcmillhj joined 06:07 BenGoldberg joined 06:11 mcmillhj left 06:12 BenGoldberg left 06:19 mcmillhj joined 06:22 wamba left, espadrine_ joined 06:23 jmerelo joined, mcmillhj left
araraloren Xliff hi 06:30
Summertime REPL ? I have a module maybe help you, not in stdlib 06:31
Xliff araraloren: Hi! 06:33
araraloren: Do you have any experience with Grammars?
araraloren yeah, a little
Xliff If not, if you have a problem you want another pair of eyes on, then let me know.
\o/
araraloren: Do you know why I am getting the following error when trying to use a token in a rule? 06:34
"Too many positionals passed; expected 1 argument but got 2
"
jmerelo Xliff: Can we see the code?
araraloren Xliff in my memory, maybe the token name
Xliff Key thing here. I am trying to use one grammar as a subclass of another. 06:35
araraloren Xliff I face that problem serval times
but you better post your code here
or gist
jmerelo Xliff: or post it to StackOverflow _and_ also here.
Xliff jmerelo: github.com/Xliff/perl6-Parser-Sql/....pm6#L1090
The <CREATE> triggers the errors, but it is a method of Tokens, so it should inherit, right? 06:36
araraloren wow, a huage file
jmerelo Xliff: oh, wow
araraloren: I see like 10 different rules/tokens there. Every time you do |, you might want to create a separate token 06:37
Xliff: what's the whole error?
araraloren Can I get the error run your project ? 06:38
jmerelo Xliff: there's also Grammar::Debugger and Grammar::Tracer. It will help you showing what's going on there...
Xliff If you want to check out the error, clone the project.
Then run the following from the cloned directory: 06:39
perl6 -Ilib scripts/grammarTest.pl6
jmerelo: Already ahead of you. See ^^
jmerelo: I am trying not to have too many one-off tokens. 06:40
jmerelo Xliff: that leads to too many difficult to debug errors
Xliff I'm beginning to wonder if that's the problem I am running into. However, that's just a guess.
jmerelo: This is an SQL parser. I am expecting difficult.
What I am not expecting, are misleading errors. 06:41
It is saying it is getting 2 positionals, however... to my knowledge... tokens and rules don't TAKE any unless you specify it in the sig.
So.... token CREATE { 'CREATE' } should just match 'CREATE' 06:42
jmerelo Xliff: token and rules are just routines
Xliff I know
Which is why this is so frustrating. 06:43
I am hoping this is not some under-the-hood thing...
But I am thinking the inherited tokens are breaking.
jmerelo Xliff: I have cloned your repo. However, it does not have a META6.json file so I can't install dependencies easily
Xliff No. It really doesn't have any.
This is NOT ready-to-distribute code in ANY way. 06:44
jmerelo: If you would like to send a PR for a META6.json, I'd really appreciate it.
araraloren Xliff I figure out, it's the token name problem
jmerelo XLiff: It does. Grammar::Tracer. If it's not maybe it's better if you don't tell people to clone it in order to see the error. Just post the error.
araraloren you better change CREATE to something other
the token name 06:45
Xliff *headdesk*
Are you kidding me?
Reserved word conflict?
araraloren yeah, I think it is
I already told you, I face this problem serval times 06:46
Xliff Thank you!
araraloren It's not any syntax error obviously
Xliff bearhugs araraloren!
Now I need to see why the match still fails.
araraloren yeah, good luck
Xliff Yeah. Grammar::Tracer isn't much help, here. 06:47
araraloren I think this trap should documents in `traps` 06:49
jmerelo do you know where I can report this trap ?
jmerelo araraloren: maybe perl6/doc and rakudo/rakudo, both 06:50
perl6/doc for the trap, rakudo/rakudo for issuing a meaningful error
araraloren ok 06:51
Xliff Hmmm... why aren't Grammar::Tracer or Grammar::Debugger working? 06:52
araraloren IDK, not know that module
I am using `use trace` for debug sometimes
Xliff OK. You've been a big help nonetheless. 06:53
06:54 mcmillhj joined
jmerelo Xliff: I'm changing CREATE to CREATE and that fixes the initial error. But there are others... 06:57
Xliff: No such method 'table_ident' for invocant of type 'DDLGrammar'
Xliff: Grammar::Tracer does not work because it does not really start to parse anything. The error prevents it from starting to work. 06:58
Sorry, that above was CREATE → KREATE
06:58 mcmillhj left
Xliff I've fixed the error and Grammar::Trace is never invoked. 07:02
You need to move table_ident to line 638.
That will fix that error.
jmerelo araraloren: thanks 07:07
araraloren welcome :) 07:08
Xliff OK. Got Grammar::Tracer to finally fire. (cursed lexicals) 07:10
Only to get yet another weird error.
I don't want to commit changes because it breaks everything, but....
07:11 parv joined
Xliff OK, I've updated git. If you all can figure out the problem now, I will owe you massive amounts of BEER! 07:15
But for now, I am going to wind it down. Thank you both for your help.
jmerelo Xliff: you should try and create proper tests for every part of the grammar. Unit tests really help debug this kind of problems. 07:18
Xliff *cries* 07:19
Do you know how many tests I would need to write?
*sigh*
jmerelo Xliff: right now it's failing in if_not_exists. It's probably due to backtracking, because the previous token is probably gobbling up what if_not_exists needs 07:20
07:20 mcmillhj joined
Xliff No. That's SUPPOSED to happen. 07:20
jmerelo Xliff: 10 minutes writing a test saves you 10 hours debugging
Xliff (well, that's true. :P)
But it is not failing in if_not_exists.
Look at the create statement being tested. It's not there. That fail is SUPPOSED to happen, but it is not supposed to kill the entire rule. 07:21
Because it is OPTIONAL
What bothers me is the VMNull error.
(But yes, I will start writing unit tests for tokens.)
jmerelo Xliff: that's because it's not doing backtraking 07:22
It does not find if, should backtrack, it's not doing it, it fails...
07:24 mcmillhj left
jmerelo Xliff: you can also use regexes in grammars, which will really backtrack. But also, as said above, using smaller and unit-tested token and rules (and regexes) might help you find those errors. 07:25
07:26 rindolf joined
Xliff jmerelo: So that should be regex and not rule... but that will make everything sllooooow 07:29
jmerelo Xliff: you want it fast or you want it good?
Xliff (and yes, you've won on unit testing... help me write them!!!!)
LOL
jmerelo WINS!
Now. Start with Tokens.pm6! =) 07:30
jmerelo Xliff: tell you want. You help me solve #114 issue and a few more in perl6/doc and I'll help you write those tests...
Xliff "Cannot invoke this object (REPR: Null; VMNull)" <--- but that still bothers me.
jmerelo (I meant tell you what)
Xliff: yep, sometimes error messages are less than awesome... It's telling you there's an object it's using a Null representation, and it's gone all the way down to the virtual machine 07:31
Xliff Yes. I know that. :P :>
It shouldn't be there.
07:32 psychoslave joined
Xliff jmerelo: You don't ask for much, do you. 07:32
#114 is an entire book.
jmerelo Xliff: ;-) 07:33
jmerelo: You might understand why I don't want to get involved in other things. But you start to write tests and I can help you if you bump into problems.
Xliff k
But I am reading. Will see if I can help anywhere. 07:34
Probably tomorrow.
jmerelo Xliff: you might want to create them automatically, from every token, for instance.
Xliff: great. Thanks!
Xliff Xliff needs sleep...badly!
jmerelo Xliff: you do that. Take care :-)
Xliff jmerelo: You read my mind. This means MOP
araraloren :) afternoon here 07:36
Xliff jmerelo: Are you using this as a task list?
github.com/perl6/doc/issues/114#is...-327243953
Structures, Iterating, Data Structures and Hashmaps?
jmerelo Xliff: right, pretty much
I'm now working on hashmaps. The rest has been outlined, but is still TBD. 07:37
Xliff Iterating is going to be interesting.
araraloren great!
07:37 andrzejku joined
Xliff Poke me tomorrow. I will be on later. And let's talk about how Iterators should be described. 07:37
jmerelo Xliff: OK 07:38
Xliff :)
jmerelo araraloren: where are you? It's morning here in sunny Granada, Spain.
araraloren here is China
Xliff jmerelo: Spain. Now I'm jealous.
07:38 mcmillhj joined
araraloren andrzejku what's going on ? 07:38
07:38 Xliff is now known as Xliff_Zzzzzzz__X 07:39 Xliff_Zzzzzzz__X is now known as Xliff_Zzzzzzz___
andrzejku araraloren: fine :) 07:39
07:39 Xliff_Zzzzzzz___ is now known as Xliff_Zzzz___X_X
andrzejku araraloren: what are you doing today? 07:39
araraloren oh, do some working for my customer, fix some issue of my module 07:40
andrzejku araraloren: for Perl6?
:D
araraloren andrzejku you are working the Compile ?
yeah, Perl 6
andrzejku araraloren: not anymore
araraloren andrzejku some spider script 07:41
andrzejku araraloren: nice
araraloren: I am working currently at my work with C and somehow started to dislike C++ :P 07:42
araraloren they use that for grab data from some library
andrzejku araraloren: how they react that you want to do that in Perl6?
07:42 mcmillhj left 07:43 rindolf left
araraloren they not care about what language using in most case 07:43
andrzejku :)
araraloren and they have interest to Perl 6, using Perl 6 would better than Python 07:44
they want learn Perl 6 too
andrzejku araraloren: they really good news
is it China customer?
araraloren yeah
andrzejku nice 07:45
araraloren When using Perl 6 you are learning it
and you would find issue to help them improve the language
It's enough 07:46
andrzejku araraloren: ya I know it
araraloren I think
andrzejku I think in China it is much more easier for work then here
araraloren honest, I am not have much ability to do great things
andrzejku we have only some very popular languages here 07:47
araraloren andrzejku, maybe haha
Java is popular here, I am using C for working, and Perl 6 for my own
andrzejku araraloren: hah thats nearly as me 07:48
araraloren they are like Java/PHP/Go/JavaScript
and also Python
andrzejku araraloren: I have C90 at work, C++ but very few and Perl 6 as a hobby from time to time
07:49 robertle joined
araraloren oh, great! 07:49
andrzejku araraloren: last time I have done some exercises with Rust
araraloren I think Rust is a little suck
andrzejku araraloren: and it looks a little bit easier then C++ and baremetal language
araraloren: it's extremly safety, you have to remmember some rules there like ownership 07:50
but it really looks modern and clear for me
araraloren hmm 07:51
andrzejku comparing to C of course
araraloren I have been learned Rust
andrzejku what about Go
andrzejku araraloren: I am trying to not touch corporate languages as they are too dangerous 07:52
araraloren how popular in your working place
andrzejku araraloren: what do you mean?
araraloren I mean golang, how popular in your working place
city
andrzejku araraloren: at all
araraloren: in my company there are only C/C++,Python(testing),Java and probably Javascript 07:53
araraloren oh
andrzejku but you can find a few Golang jobs
araraloren yeah, here is similar 07:54
andrzejku however here is a complete desert for Perl/Perl6 and Rust
araraloren yeah, here too
Somebody learn Rust, but not any company using it 07:55
andrzejku araraloren: ya I said we should set our own company =D
araraloren yeah 07:56
andrzejku araraloren: I was reading even articles about flat structure in company
so we can save money for managers :D
araraloren haha
andrzejku araraloren: it looks like it is possible
araraloren what ? 07:57
andrzejku company without management
kind of self organized
araraloren haha
andrzejku I am talking here about really large companies 07:58
araraloren oh, that's hard to imagine
andrzejku I read that it already exist somewhere in US 07:59
07:59 mcmillhj joined
araraloren not got it 08:00
08:01 rindolf joined 08:02 dominix left 08:04 mcmillhj left
Geth doc: 08864e4493 | (JJ Merelo)++ | doc/Language/classtut.pod6
Adds indexing for ! as prefix for private methods
08:08
doc: 38b9e761eb | (JJ Merelo)++ | doc/Language/classtut.pod6
Adds indexing for ! as prefix for private methods without errors
synopsebot Link: doc.perl6.org/language/classtut
08:12 shareable6 left 08:25 domidumont joined 08:31 domidumont left 08:32 domidumont joined, psychoslave left 08:45 parv left
Geth doc: 55831467a4 | (JJ Merelo)++ | 2 files
Updates Associative, closes #2062
08:47
08:47 MilkmanDan joined 08:52 mcmillhj joined 08:57 mcmillhj left 08:58 DarthGandalf joined 08:59 espadrine_ left 09:04 mcmillhj joined 09:08 shareable6 joined, mcmillhj left 09:15 HaraldJoerg joined 09:16 mcmillhj joined 09:21 darutoko joined, mcmillhj left 09:28 eliasr joined 09:47 mcmillhj joined 09:51 mcmillhj left 10:16 mcmillhj joined
Geth doc: 162efc4ffe | (JJ Merelo)++ | 2 files
Improves even more Associative refs #2062
10:16
10:20 mcmillhj left
Geth doc: 630ecc724a | (JJ Merelo)++ | doc/Language/hashmap.pod6
Completed hashmap page

This closes #1682. Also advances towards the end of #114, which seems closer and closer.
10:21
synopsebot Link: doc.perl6.org/language/hashmap
10:24 telex joined 10:27 shareable6 left 10:31 kurahaupo left 10:32 kurahaupo joined
El_Che new updated rakudo 2018.05 packages (and repos): nxadm.github.io/rakudo-pkg/ github.com/nxadm/rakudo-pkg/releases 10:34
jmerelo El_Che++
El_Che my ubuntu had it when apt-get update'ing it :) 10:35
10:35 mcmillhj joined
El_Che notable6: weekly new updated rakudo 2018.05 packages (and repos): nxadm.github.io/rakudo-pkg/ github.com/nxadm/rakudo-pkg/releases 10:38
notable6 El_Che, Noted!
10:40 mcmillhj left 10:41 AlexDaniel joined 10:57 espadrine_ joined 11:06 mcmillhj joined 11:11 mcmillhj left
Geth doc: 7c9c259eaf | (JJ Merelo)++ | doc/Language/hashmap.pod6
Clarifies redefinition of hash funcs refs #1682
11:28
synopsebot Link: doc.perl6.org/language/hashmap
tbrowder_ ref unicode code points: is there any way in p6 to get any alias names for them? 11:33
jmerelo tbrowder_: you mean get from the number to the name? Or aliases to the name 11:34
tbrowder_ i can go from number to uniname (the official name) but i would like to see the alias names such as for the :C (control) property chars. 11:36
11:39 jmerelo left
tyil is there an easy way to convert the character "1" to the name of the character, in this case "one"? 11:40
I was thinking there's surely some unicode property that calls it a "one", but I'm not well versed in unicode magic
11:41 mcmillhj joined 11:45 enheh joined
lizmat m: say "1".uniname # tyil 11:46
camelia DIGIT ONE
tyil neat
thanks lizmat
11:47 mcmillhj left
tyil now to make it more interesting, would it be doable with "10" -> "ten" as well? 11:47
m: say "10".uniname
camelia DIGIT ONE
11:48 molaf left 11:51 margeas joined
lizmat m: m: say "10".uninames 11:54
camelia (DIGIT ONE DIGIT ZERO)
lizmat m: dd "10".uninames
camelia ("DIGIT ONE", "DIGIT ZERO").Seq
11:55 Zoffix left 12:08 eliasr left 12:15 mcmillhj joined 12:18 pmurias joined 12:20 mcmillhj left 12:24 markong joined 12:25 margeas left 12:28 Kaiepi left 12:29 Kaiepi joined 12:31 mcmillhj joined 12:35 mcmillhj left 12:47 psychoslave joined 13:04 mcmillhj joined 13:07 benjikun joined 13:08 mcmillhj left
Geth doc: 41da79c870 | (Elizabeth Mattijsen)++ | doc/Language/5to6-perlfunc.pod6
Better/More links to ecosystem modules

  - many of them did not have a link yet
  - some others did not have a reference to the ecosystem at all
  - some minor rewording
13:13
synopsebot Link: doc.perl6.org/language/5to6-perlfunc
13:27 markong left 13:28 margeas joined 13:34 molaf joined, mcmillhj joined 13:38 mcmillhj left 13:43 MasterDuke left 13:47 markong joined 13:48 margeas left
Geth doc: 956dc7f089 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/5to6-perlfunc.pod6
Use HTTPS URLs wherever available
13:53
synopsebot Link: doc.perl6.org/language/5to6-perlfunc
lizmat Zoffix++ 13:54
13:56 markong left 13:57 margeas joined 14:04 margeas left, markong joined 14:11 molaf left 14:12 Luneburg joined 14:20 mcmillhj joined 14:25 mcmillhj left 14:28 kaare_ joined 14:33 mcmillhj joined 14:37 mcmillhj left 14:41 psychoslave left
Luneburg Is there an easy way to replace one letter (e.g. all "A") with another (e.g. "D") in a string? 14:43
I mean all instances of that one letter
timotimo yup, you probably want the .trans method 14:44
or the tr/// operator
14:44 MasterDuke joined, eliasr joined
Luneburg timotimo: Thanks :D 14:45
14:45 mcmillhj joined 14:50 Luneburg left 14:57 n0tjack joined 14:58 n0tjack left 15:07 mcmillhj_ joined 15:14 mcmillhj_ left 15:18 Sgeo_ left, Sgeo_ joined 15:19 mcmillhj_ joined 15:26 mcmillhj_ left 15:30 p6steve joined 15:37 wamba joined 15:42 p6steve left 15:44 natrys joined 15:48 mcmillhj left 16:10 jmerelo joined 16:17 araraloren left
Geth doc: bfbb0c1bde | (JJ Merelo)++ | doc/Language/typesystem.pod6
Minor reorganization of sectioning

Upgraded a level 4 section to level 3, since it was the only one and there was no more text. Refs #2063.
16:24
synopsebot Link: doc.perl6.org/language/typesystem
16:24 skids joined 16:34 Sgeo_ left 16:35 Sgeo_ joined
Geth doc: 9dbf1ef52f | (JJ Merelo)++ | doc/Type/Attribute.pod6
Minor changes and reflow; clarifies example
16:39
synopsebot Link: doc.perl6.org/type/Attribute
16:59 mcmillhj joined 17:01 Zoffix joined
Zoffix ZofBot: did the robot invasion begin? 17:02
Man, this building's alarm system is holding me hostage :}
m: say (DateTime.new("2018-05-28T08:03:18.627107-04:00") - DateTime.now.in-timezone(-4*60))/60/60 17:04
camelia 42.981730015866326
Zoffix I guess I can go on a 42-hour perl 6 hacking marathon until I'm rescued.... 17:05
moritz sound like taustation private shuttle repair times :) 17:10
Geth doc: 32e87c4ac8 | 陈梓立++ (committed using GitHub Web editor) | README.zh.md
Sync
17:13
jmerelo dials for having pizza sent to Zoffix 17:16
timotimo i'm not sure if zoffix can receive pizza if the security system isn't letting him out, though? 17:18
17:19 shareable6 joined
Xliff_Zzzz___X_X \o 17:21
17:21 Xliff_Zzzz___X_X is now known as Xliff
Xliff Is ModuleHOW documented anywhere? 17:21
Zoffix I got rescued :P 17:22
El_Che hi 17:23
timotimo yay
moritz o/
Xliff OK, lets try a different tack. How can I get a list of subs in a module? Is that possible through the metamodel? 17:26
I'm still debating whether this should be a module or a class.
Zoffix m: use Test; say Test::.keys 17:27
camelia (EXPORT &output &todo_output &failure_output)
Zoffix m: use Test; say Test::EXPORT::.keys'
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3use Test; say Test::EXPORT::.keys7⏏5'
expecting any of:
infix
infix stopper
postfix
statement end
Zoffix m: use Test; say Test::EXPORT::.keys
camelia (DEFAULT ALL)
Zoffix m: use Test; say Test::EXPORT::DEFAULT::.keys
camelia (&is &can-ok &is-approx &flunk &fails-like &dies-ok &plan &nok &eval-dies-ok &subtest &does-ok &diag &cmp-ok &skip-rest &skip &lives-ok &is_approx &done-testing &use-ok &ok &like &isa-ok &eval-lives-ok &bail-out &MONKEY-SEE-NO-EVAL &unlike &todo &pass…
Zoffix Xliff: so the first one is the `our` stuff that isn't necessarily exported, but you can use it like `Test::todo_output`. The second one lists available export tags, and last one shows the symboles exported by a tag (the "DEFAULT" one in the eval above) 17:28
timotimo instead of using the metamodel, you just use the package interface, i.o.w. the .WHO of the thing
Xliff Ah. Metamodel is then for classes. 17:29
17:33 mcmillhj left
Geth doc: 7ed2b2fc95 | (JJ Merelo)++ | doc/Language/functions.pod6
Some reflow and example addition
17:34
doc: 8a10fbd34e | (JJ Merelo)++ | 2 files
Adds rule/token/regex name trap closes #2061
synopsebot Link: doc.perl6.org/language/functions
17:38 stmuk joined
Geth doc: 6b90a78600 | (JJ Merelo)++ | doc/Language/traps.pod6
REflow and clarification
17:39
synopsebot Link: doc.perl6.org/language/traps
17:40 stmuk_ left
Xliff m: my token d { \d+ }; say "102342" ~~ /<d>/ 17:41
camelia 「102342」
d => 「102342」
Xliff Is there a way I can make "<d>" dynamic?
m: my token d { \d+ }; my $d = 'd'; say "102342" ~~ /<$d>/ 17:42
camelia Nil
timotimo m: my token d { \d+ }; my $d = 'd'; say "102342" ~~ /<"<$d>">/
camelia 5===SORRY!5===
Unrecognized regex metacharacter < (must be quoted to match literally)
at <tmp>:1
------> 3{ \d+ }; my $d = 'd'; say "102342" ~~ /<7⏏5"<$d>">/
Unrecognized regex metacharacter " (must be quoted to match literally)
at…
timotimo m: my token d { \d+ }; my $d = 'd'; say "102342" ~~ /<{"<$d>"}>/
camelia 「102342」
timotimo there we go
Xliff LOL!
timotimo alternatively 17:43
Xliff But I note that $/<d> isn't there anymore
timotimo m: my token d { \d+ }; my $d = 'd'; say "102342" ~~ ::($d)
camelia False
timotimo m: my token d { \d+ }; my $d = '&d'; say "102342" ~~ ::($d)
camelia 「102342」
timotimo there we go
Xliff OK. I like that better. timotimo++
17:46 shareable6 left
jmerelo Xliff: your question this morning has caused this issue: github.com/perl6/doc/issues/2061, this new next in the documentation docs.perl6.org/language/traps#Usin...en/regexes and now this question in StackOverflow stackoverflow.com/questions/505455...mmar-rules 17:49
Xliff: so thanks, I guess. 17:50
my $d = token { \d+ }; say "102342" ~~ $d 17:52
evalable6 「102342」
jmerelo m: my token d { \d+ }; my $d = &d; say "102342" ~~ $d 17:53
camelia 「102342」
17:58 Zoffix left
Xliff jmerelo: You are really trying to make me feel bad, aren't you? Hey! Look! I'm writing UNIT TESTS! 18:00
And yes. I help vit docs.
18:00 kurahaupo_ joined, kurahaupo_ left 18:01 Kaiepi left
jmerelo Xliff: not really, quite the opposite. Using perl and raising questions is how documentation (and Perl 6 itself) can be improved. 18:01
18:01 kurahaupo_ joined, Kaiepi joined
Xliff m: my token COALESCE { 'COALESCE' }; say "COALESCE" ~~ <COALESCE> 18:01
camelia True
jmerelo Xliff: it's been a bit of work for a sunny spring Saturday, but it's all for the greater good :-)
Xliff Humph!
That didn't work when I was trying to use it before. 18:02
jmerelo Xliff++ to helping with docs :-)
18:03 kurahaupo left
Xliff m: my token CLOSE { 'CLOSE' }; say "CLOSE" ~~ <CLOSE> 18:03
camelia True
Xliff I wonder if that is because I am trying to export token CLOSE
jmerelo Xliff: I really am not sure about what constitutes "the list". That is why I asked the question in SO
Xliff I know.
moritz m: say "CLOSE" ~~ <CLOSE>
camelia True
jmerelo Xliff: it's not the same if you define it independently or inside a grammar
moritz no regex involved 18:04
jmerelo m: grammar g { token TOP { <CLOSE> }; token CLOSE { 'defined' } }; say g.parse('defined')
camelia 「defined」
CLOSE => 「defined」
jmerelo m: grammar g { token TOP { <TWEAK> }; token TWEAK { 'defined' } }; say g.parse('defined')
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot find method 'match': no method cache and no .^find_method
at <tmp>:1
Xliff m: say "COALESCE" ~~ <COALESCE> 18:05
camelia True
Xliff our token COALESCE is export { 'COALESCE' }
jmerelo m: token TWEAK { 'defined' } }; say 'defined' ~~ <TWEAK>
camelia 5===SORRY!5===
Unexpected closing bracket
at <tmp>:1
------> 3token TWEAK { 'defined' } 7⏏5}; say 'defined' ~~ <TWEAK>
Other potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my token…
Xliff ^^ This will break my autogenerated test.
jmerelo m: token TWEAK { 'defined' } ; say 'defined' ~~ <TWEAK>
camelia Potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my token TWEAK'?)
at <tmp>:1
------> 3token 7⏏5TWEAK { 'defined' } ; say 'defined' ~~ <
False
Xliff our token _COALESCE is export { 'COALESCE' }
^^ This won't.
jmerelo m: my token TWEAK { 'defined' } ; say 'defined' ~~ <TWEAK>
camelia False
jmerelo OK, whatever. But no error. 18:06
Xliff So the more I think about it, I might have to make my tokens a class.
jmerelo Xliff: ... or a role.
Xliff: a bit on that I wrote some time ago dev.to/jj/role-ing-on-the-grammars-1bd5 18:07
Xliff jmerelo++ -- Yeah, a role would work too. 18:09
However for Grammar::Tracer, it needs to be lexically scoped for it to show.
But as a mixin, it might work better.
m: "CLOSE" ::("CLOSE") 18:10
camelia 5===SORRY!5=== Error while compiling <tmp>
Confused
at <tmp>:1
------> 3"CLOSE" :7⏏5:("CLOSE")
expecting any of:
colon pair
Xliff m: "CLOSE" ~~ ::("CLOSE")
camelia ( no output )
Xliff m: "CLOSE" ~~ <CLOSE>
camelia ( no output )
Xliff m: say "CLOSE" ~~ <CLOSE>
camelia True
Xliff m: my token COALESCE { 'COALESCE' }; say "COALESCE" ~~ ::(COALESCE)
camelia Too few positionals passed; expected 1 argument but got 0
in regex COALESCE at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: my token COALESCE { 'COALESCE' }; my $c = 'COALESCE'; say "COALESCE" ~~ ::($c) 18:11
camelia False
Xliff m: my token COALESCE { 'COALESCE' }; my $c = 'COALESCE'; say $c ~~ ::($c)
camelia False
Xliff m: my token CLOSE { 'CLOSE' }; my $c = 'CLOSE'; say $c ~~ ::($c) 18:12
camelia False
Xliff m: my token CLOSE { 'CLOSE' }; my $c = '&CLOSE'; "CLOSE" ~~ ::($c) 18:13
camelia ( no output )
Xliff m: my token CLOSE { 'CLOSE' }; my $c = '&CLOSE'; say "CLOSE" ~~ ::($c)
camelia 「CLOSE」
Xliff OK. I think I see what is going on.
jmerelo m: my token CLOSE { 'CLOSE' }; my $c = &CLOSE; say "CLOSE" ~~ $c 18:14
camelia 「CLOSE」
jmerelo m: my $c = token { 'CLOSE' }; say "CLOSE" ~~ $c 18:15
camelia 「CLOSE」
jmerelo Xliff: (see above)
Xliff Yeah. I found it. 18:18
Was forgetting to leave the "&" in front of the token name.
jmerelo: github.com/Xliff/perl6-Parser-Sql/...1-tokens.t 18:19
Checks all the symbols defined in Tokens.pm6
I still have to do the lower case rules by hand.
jmerelo Xliff: great! 18:20
Xliff Now... docs...
18:22 cognominal joined
jmerelo Xliff: greater! :-) 18:25
18:35 molaf joined, darutoko left
cognominal hi, is/how is this possible to dynamically define a new term with is parsed ? 18:39
moritz I don't think "is parsed" is implemented 18:44
what's your use case?
18:46 raschipi joined
cognominal say I want a morphology, that is syntax at the word/term level to create literals, like for a date 18:47
we have that for operators, terms are the logical next step.
I don't see parsed trait indeed. 18:48
Geth doc: c8cedca66c | (JJ Merelo)++ | 3 files
Fixes typos

And improves docs of aspell.t trying to deal with #975
18:51 lucasb joined
Xliff What would be sufficient coverage for "Data Types" in the perl documentation? 18:54
Int, int, IntStr, Rat, FatRat, Num, NumStr, Numeric, String, Cool are givens 18:55
But what about Array, Hash, Iterator, Match and that sort?
Ideally that page would be just an introductory page for each Class, correct? 18:56
El_Che some languages speak of primitives and composites
Xliff So...
El_Che Array and co could be in an composite page 18:57
jmerelo Xliff: That language is about native data types, that is, types that are native to the compiler and architecture
Xliff Int, int, IntStr, Rational, Rat, RatStr, FatRat, Num, NumStr, Numeric, String, Cool, Hash, and Array? 18:58
jmerelo Xliff: there are a few of them referenced in this issue github.com/perl6/doc/issues/1512
Xliff: It's rather about int32, uint8, stuff like that. Most types are docs.perl6.org/language/nativecall...ing_Values , but maybe it's not complete. 18:59
Xliff OK. Well, I will wait until you have a chance to email me, then. 19:00
I need food.
19:01 comborico1611 joined, molaf left 19:03 skids left 19:11 domidumont left
jmerelo Xliff: I don't think I have your email, but you can make any comment on the issue... 19:14
19:16 pilne joined
Geth doc: 6a69c0bb01 | (JJ Merelo)++ | 2 files
Eliminates confusing characters for aspell

This fixes #975. Added some awk code that substitutes \ and |. Also eliminated "ull" and "ffix" from skiplist to test that it effectively works.
19:16
jmerelo And another three-figure, 18 month old issue, biting the dust. Not the easiest ones, these critters... 19:17
Xliff jmerelo: I sent it in a PM 19:18
jmerelo++
raschipi There would be no glory in it if it was easy. 19:21
jmerelo raschipi: :-) Of course. 19:24
There are now only 20ish 3-figure (or ~ 2 year old) issues in the repo... 19:25
And most of them are either NOTSPECCED or External or wishlist. Meaning: well... 19:26
But this one is mainly about web design github.com/perl6/doc/issues/650
Should be easy to fix for those familiar with web design...
jmerelo: Real Madrid just scored (if yells and cries on the top floor don't lie), so I'm AFK and going to the couch. See you tomorrow! 19:29
19:29 jmerelo left 19:33 eliasr left
geekosaur "welp" 19:43
buggable New CPAN upload: Time-localtime-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 19:53
19:56 kaare_ left
Kaiepi i can't reset my PAUSE password 20:08
20:11 ChoHag joined 20:15 DarthGandalf left
buggable New CPAN upload: Time-gmtime-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 20:23
New CPAN upload: P5localtime-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5localtime:...:ELIZABETH
20:25 wamba left 20:28 Zoffix joined
Zoffix Kaiepi: why not? 20:28
Kaiepi: did you use this form with your userid? pause.perl.org/pause/query?ACTION=mailpw And did you get the email with reset instructions? 20:30
Kaiepi: and did you fix the apparently-broken reset URL before visiting it? It shouldn't contain any spaces (the one I got had one and I can't just click it) 20:33
buggable New CPAN upload: Time-gmtime-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/Time::gmtime...:ELIZABETH
New CPAN upload: Time-localtime-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/Time::localt...:ELIZABETH
20:33 natrys left 20:35 andrzejku left
lizmat hears jmerelo yelling on the couch 20:40
20:43 |oLa| joined
Zoffix
.oO( Did you see that ludicrous display last night? )
20:45
Kaiepi: anyway, if you're still having issues after removing space from PAUSE password reset URL in your email, talk to mst. He's listed as one of PAUSE admins and can likely help you reset your PAUSE account password 20:47
20:47 Zoffix left 20:49 rindolf left
tbrowder_ \o 20:59
can anyone think of a need for space chars in pod, other than the newline, that are in the \v character class? 21:01
i want to restrict pod such that you will get an exception (or at least a warning) if such a char is found in pod. 21:03
21:06 DarthGandalf joined 21:08 sena_kun left 21:11 shareable6 joined
raschipi m: (^0x10FFFF)>>.chr.grep(/\v/)>>.uninames.say 21:14
camelia ((<control-000A>) (<control-000B>) (<control-000C>) (<control-000D>) (<control-0085>) (LINE SEPARATOR) (PARAGRAPH SEPARATOR))
raschipi Most of them will be used by operating systems to represent new-lines... 21:16
geekosaur some things are historical… but that means you occasionally find one of us old fuddy-duddies using them out of habit. like form feeds 21:23
(I don't, for the record. never developed that habit) 21:24
21:24 stmuk_ joined 21:26 stmuk left 21:27 cognominal left
lucasb yes, form feed delimited "pages" of text :) 21:30
some tools use this convention 21:31
21:32 |oLa| left
raschipi Yes, but the question is, would they be found in POD6? 21:33
21:33 |oLa| joined 21:34 |oLa| left
raschipi If it's written in Windows, one would expect \r\n as line endings, instead of just \n 21:34
21:37 mst joined
tbrowder_ raschipi: wouldn’t p6 magically read that as \n? 21:41
and your point about pod6 text is spot on. 21:42
21:47 mr_ron joined 21:49 cognominal joined
raschipi What happens if someone tries to execute something that's not UTF-8 as Perl6? 21:49
mr_ron m: say so "1" ~~ /<:ascii-:alpha>/ # nothing to see yet but wait ... 21:50
camelia True
mr_ron m: say so "1" ~~ /<:ascii&:alpha>/ # docs seem to say this should work - scroll up a bit from docs.perl6.org/language/regexes#En...and_Ranges 21:51
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in metachar:sym<assert>; couldn't find final '>' (corresponding starter was at line 1)
at <tmp>:1
------> 3say so "1" ~~ /<:ascii7⏏5&:alpha>/ # docs seem to say this …
mr_ron m: say so "a" ~~ /<:ascii&:alpha>/
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in metachar:sym<assert>; couldn't find final '>' (corresponding starter was at line 1)
at <tmp>:1
------> 3say so "a" ~~ /<:ascii7⏏5&:alpha>/
expecting any of:…
mr_ron anyone have example for character set/property intersection 21:52
timotimo raschipi: it'll complain about invalid utf8, unless they set the --encoding (or something) commandline flag 21:53
raschipi m: say so "a" ~~ /<:ascii>&<:alpha>/ 21:55
camelia True
raschipi tbrowder_: Right, Perl 6 converts everything. I just wasn't sure it would do the same for the text of the program besides the data. 21:56
21:57 |oLa| joined
mr_ron raschipi: that looks like conjunction but I have to think a bit - maybe it gets me to same result 21:57
geekosaur looks like conjunction but I bet something is thinking it sees embedded p6 code 21:58
we've had that kind of confusion pop up before
raschipi The docs show what mr_ron tried... 21:59
mr_ron raschipi: I didn't see char set / property intersection or union with '|" in roast ... just '+' union and '-' difference ... possible doc issue? 22:01
buggable New CPAN upload: DirHandle-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 22:03
mr_ron m: my $latin-chars = [~] chr(0)..chr(0xFF); say $latin-chars.comb(/<alnum>&<:ascii>/).join # sort of - I haven't played with conjunction that much 22:05
camelia 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
22:11 |oLa| left
raschipi Is there a Unicode property that includes all symbols that can be used in identifiers? ID_Continue doesn't include ' or -. 22:15
tbrowder_ raschipi: good point, so we probably need to include \r, or at least allow it in the right context. 22:16
geekosaur raschipi, no because what that means varies too much
and if it's to be perl specific, it probablyu should not pretend to be a *unicode* property
tbrowder_ i guess mac os brings its own baggage...
raschipi geekosaur: I'm asking for the Unicode one, ID_Continue + Annex #31/Table 3/3a 22:19
classic mac os is supported?
22:19 Xliff_ joined
geekosaur raschipi, no, but os x still retains some backward compatibility shims and every so often you run into ported things that still use \r 22:20
and, er, apple events still have a lot of old mac os-isms
because removing them breaks pretty much anything that uses apple events to talk to e.g. finder 22:21
some ways os x has worse backward compatibility baggage than windows does 22:22
especially since mcirosoft ripped a lot of the back compat baggage out in 8.0/8.1
mr_ron m: my token posix_alnum { <+alnum - [_]> &<:ascii> }; my $latin-chars = [~] chr(0)..chr(0xFF); say $latin-chars.comb(/<posix_alnum>/).join 22:23
camelia 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
22:23 Xliff left
mr_ron I was looking for a way to do posix alnum and conjunction didn't occur to me as a solution but it looks like it works. If anyone happens to know of something better I am interested ... 22:24
Xliff_ If I want to match a string with a '.' delimiter and not match strings with anything else, what is the best way to do that.
??
Because "table.field" is fine, but "table:field" is not, but everything I've written will still match "table" 22:25
MasterDuke raschipi: there's no property, but there is the <ident> class
Xliff_ There is a pre-defined <ident> character class?!?
22:26 HaraldJoerg left
MasterDuke docs.perl6.org/language/regexes#Pr...er_Classes 22:26
raschipi m: (^127)>>.chr.grep(/<ident>/).say 22:30
camelia (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z)
raschipi No ' or -
22:35 ChoHag left
geekosaur Xliff_, I think you need to provide more information 22:37
timotimo <ident> isn't a character class
Xliff_ say "identifier.ident" ~~ / <ident>* % ':' /
evalable6 「identifier」
ident => 「identifier」
tbrowder_ it looks to me like, regardless of os environment, because the text could have been generated in another os, we would need to alwas consider at least all three forms of \r, \n, and \r\n. And what about a mangled line ending? my head hurts...
timotimo m: say "hello'you" ~~ /<ident>/
camelia 「hello」
ident => 「hello」
timotimo m: say "hello'you" ~~ /<identifier>/ 22:38
camelia No such method 'identifier' for invocant of type 'Match'
in block <unit> at <tmp> line 1
timotimo mh, fair enough
geekosaur I can think of a number of things that will do what you said, but most of them don't seem to fit in to likely uses of that
timotimo but see, <ident> matches a whole word
Xliff_ Note that still matches even though the delimiter is supposed to be ':'
timotimo m: say "1hello2you3" ~~ /<identifier>/
camelia No such method 'identifier' for invocant of type 'Match'
in block <unit> at <tmp> line 1
timotimo m: say "1hello2you3" ~~ /<ident>/
camelia 「hello2you3」
ident => 「hello2you3」
timotimo also, it matches numbers but not at the start
Xliff_ And that 22:39
is because it will always want to match the first <ident>
Which is correct.
geekosaur you may need to think in larger chunks
Xliff_ But I want that to not match, and I need a more complex regex to detect that, apparently
geekosaur: You may be right. 22:40
geekosaur or, what exactly do you want to do here?
it may be as simple as anchoring the regex
Xliff_ That's what I thought too.
OK.
namespace.table.field
^^ That is the proper way to look at it.
namespace:table:field <-- should throw an error 22:41
Or even namespace,table,field.
Basically any separator that isn't "." should throw an error
geekosaur m: my $x = 'foo.bar:baz'; say $x ~~ /^ <ident>* % '.' $/
camelia Nil
geekosaur m: my $x = 'foo.bar.baz'; say $x ~~ /^ <ident>* % '.' $/ 22:42
camelia 「foo.bar.baz」
ident => 「foo」
ident => 「bar」
ident => 「baz」
geekosaur but I don'tknow if $x is always that or if you mean space delimited things or ???
22:42 BenGoldberg joined
geekosaur in which case you likely want a grammar that word splits and then tests 'words' against that anchored pattern 22:42
Xliff_ Anchoring that way wouldn't work, since that could appear in something like: "2 = foo.bar.baz" 22:43
geekosaur which is what I mean by higher level
you want agrammar, not just a single regex
Xliff_ This is in a grammar.
I want this in a rule, but I am begining to think I need a regex
geekosaur then you stop at the colon and let the caller see the colon and throw if it's invalid there
Xliff_ Or maybe I want a rule instead of a token.\ 22:44
geekosaur er, invoking ruleregex/whatever
Xliff_ geekosaur: How would I do that, can you show me an example where the invoking rule handles something like that? 22:45
geekosaur it's what you get automatically in that case. if it sees foo:bar it parses foo, and returns it; and then the continuation of the invoking rule/regex/whatever starts *at the colon*
and if the colon is invalid there the match fails
this is if you do token fieldname { <ident>* % '.' } 22:46
or equivalent for whatever in place of <ident>
the colon is the next thing whatever invokes <fieldname> will try to match after 22:47
if it's not valid there, the match fails at that point
22:48 espadrine_ left
Geth doc: 9dc9ae4e14 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6
ensure Mac OS is mentioned
22:49
synopsebot Link: doc.perl6.org/language/regexes
22:56 sauvin left
Kaiepi zoffix: i did, and i get an error page when i visit the url sent in the email without spaces 23:06
23:09 |oLa| joined 23:10 |oLa| left
Xliff_ Would "token keywords { <KEY1> | <KEY2>| ... | <KEYn> }" be better written as a rule or a regex? 23:39
timotimo i'd say regex 23:40
or token
not rule because you probably don't want sigspace in there
Xliff_ why token since if <KEY1> fails, won't the whole token fail? 23:46
timotimo that's not how backtracking works :) 23:47
Xliff_ Ah.
timotimo also, if these KEY1 through n are like literal strings (more exactly: declarative) it won't even try to match the ones that won't match
because Longest Token Matching is magic
23:47 stmuk joined 23:48 Zoffix joined
Zoffix Kaiepi: you should contact the admins. 23:48
23:49 stmuk_ left 23:51 aindilis joined
Zoffix Kaiepi: with your KAIEPI username. Like rjbs mst avar BinGOs They're even in this channel. And I'm guessing ether and like more of admins are in #perl Going by this page: pause.perl.org/pause/query?ACTION=who_pumpkin 23:53
And tell them the reset password page gives an error
.oO( PAUSE could use a "Contact us" page )
23:54
timotimo is pause ready for gdpr yet?
Zoffix I don't know, but I'm really getting sick of spam about it. 23:55
s/it/gdpr/;
timotimo: and looks like yes: blogs.perl.org/users/neilb/2018/05/...olicy.html 23:56
"There are some github GDPR issues still open, which we'll be working on over the coming weeks and months."
Kaiepi: oh, found contact email: [email@hidden.address] Just shoot an email there explaining your issues 23:57