Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2006-02-04

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:52 justatheory joined perl6
01:46 justatheory joined perl6
01:49 putter joined perl6
01:49 putter stevan: http://tunes.org/wiki/Methods_of_Reflection
01:53 putter audreyt: a parser using D: http://languagemachine.sourceforge.net/  (not quite as nifty as it might seem at first glance - its backtracking is a bit weak - no memory of failed rules - backtracked to some state, if nothing has changed, it will retry the same rule that just failed)
01:54 dduncan I just saw the news ... apparently ActiveState is free as a bird again
01:55 dduncan probably good for anyone that uses their stuff
01:57 Cryptic_K joined perl6
02:26 Limbic_Region joined perl6
02:39 scook0 audreyt: I'm getting immediate segfaults on a newly-nuked-and-rebuilt pugs
02:40 scook0 Ubuntu/x86, with default config.yml (except for -O0)
02:42 p5evalbot joined perl6
02:50 _SamB_ joined perl6
02:52 _SamB_ is now known as SamB
03:00 vel joined perl6
03:06 putter joined perl6
03:06 putter scook0: ping?
03:07 putter ?eval 3
03:07 evalbot_8948 is now known as evalbot_8949
03:07 evalbot_8949 3
03:07 putter ?eval5 3
03:07 evalbot_8949 Error:  unexpected "3" expecting operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input
03:08 * putter wonders how to talk with the newly joined "p5evalbot"
03:09 putter scook0: suggest either upgrading to 6.4.1 or editing Makefile.PL to disable readline.
03:09 putter
03:14 kanru joined perl6
03:21 xinming joined perl6
03:28 xinming audreyt: ping
03:32 xinming ?eval rule ha { <[a..z]+> }; my $s = "test"; $s ~~ s/<ha>//; $s.say
03:32 evalbot_8949 *** Cannot parse PGE: <ha> *** Error: end of file OUTPUT[test ] bool::true
03:43 xern joined perl6
04:04 stevan_ joined perl6
04:04 elmex_ joined perl6
04:13 KingDiamond joined perl6
04:15 justatheory joined perl6
04:25 putter joined perl6
04:26 putter ?eval rule ha { <[a..z]>+ }; my $s = "test"; $s ~~ s/<ha>//; $s.say
04:26 evalbot_8949 OUTPUT[ ] bool::true
04:26 weinig joined perl6
04:27 putter ?eval rule ha { <[a..z]>**{2} }; my $s = "test"; $s ~~ s/<ha>//; $s.say
04:27 evalbot_8949 OUTPUT[test ] bool::true
04:28 putter ?eval rule ha { <[a..z]>**{2} }; my $s = "test"; $s ~~ s/<ha>//; $s.say
04:28 evalbot_8949 OUTPUT[test ] bool::true
04:29 putter hmm.  well, that last is working on r8944.  but not evalbot_8949.  curious.
04:31 putter xinming: but your example fails because of the <[a..z]+> typo.  a better error message would be good.  but... we probably need better rules infrastructure to do that.
04:47 putter &
04:52 txg joined perl6
04:55 txg Hello, I've heard that in Perl6's regexes $0 will be the first match, but in Perl5 $0 returns your program's name. How do I get my own program's name in Perl 6, then?
04:57 txg anybody?
04:58 elmex joined perl6
05:11 _SamB_ joined perl6
05:13 stevan joined perl6
05:15 audreyt txg: $*PROGRAM_NAME
05:16 audreyt txg: basically, pretend that English.pm is in scope at all times ;)
05:16 * audreyt is on a 28.8k dialup -- the situation should improve in a couple hours
05:16 txg audreyt, thanks!!!
05:17 audreyt np :) see docs/quickref/var
05:17 * audreyt reminds herself again that p6doc should include docs/quickref in a saner manner
05:18 audreyt putter: re the language machine, looks attractive even just as an excuse to delve into D
05:19 * audreyt goes find 1)food 2)better network coverage
05:19 txg audreyt, btw, is there a more consise "what's new in Perl 6 REGEXES" than the Synopsis #5 ?
05:20 audreyt txg: sure, as usual
05:20 audreyt docs/quickref/rules
05:20 stevan hey audreyt
05:20 audreyt stevan: yo
05:20 audreyt how goes?
05:20 stevan failry well,.. and you?
05:21 audreyt pretty well... been making good use of my acm.org account
05:21 stevan :)
05:21 _SamB_ is now known as SamB
05:21 * stevan has been reading and re-reading his metaclass books mostly
05:21 txg audreyt, thanks! hmm..err... where exactly is "docs/quickref/rules" ?
05:21 audreyt how's your timeslices looking in the upcoming weeks?
05:21 chihchun joined perl6
05:21 audreyt txg: in the pugs tree
05:22 stevan audreyt: have you seen Class::MOP?
05:22 txg audreyt, oh, got it. I'll download pugs ;)
05:22 audreyt txg: http://svn.openfoundry.org​/pugs/docs/quickref/rules/
05:22 audreyt no, looking
05:22 txg or....I'll get this link ;)
05:22 txg thanks again, audreyt !
05:22 stevan well, we have one project at $work, with the threat of possible others,..
05:22 audreyt np :)
05:22 audreyt stevan: we, wow, amazing
05:22 stevan so as long as things stay quiet I will have time
05:22 audreyt s/we/er/
05:23 audreyt cool
05:23 audreyt I'll have timeslice about 5 days from now
05:23 audreyt have tofinish $job before I go to israel
05:24 audreyt I'll definitely check C::MOP out. it looks very versatile
05:24 stevan ok,.. that will work out well
05:24 audreyt cool
05:24 audreyt I'll go find food then :)
05:24 * audreyt waves... bbiab &
05:24 stevan adiois
05:25 * stevan resumes wandering off to sleep &
05:34 txg joined perl6
05:35 txg audreyt, Hi! Sorry to bug you again, I just realized that, like $0 and $*PROGRAM_NAME, if $/ is now used to store returned matches, where is the $/ from Perl 5? Gone?
05:53 alexe_home joined perl6
05:55 Cryptic_K joined perl6
06:17 kulp joined perl6
06:56 KingDiamond joined perl6
07:07 kulp left perl6
07:53 meppl guten morgen
07:54 DesreveR joined perl6
07:54 Cryptic_K joined perl6
07:55 Alex24NJ joined perl6
08:34 GeJ joined perl6
08:34 txg joined perl6
08:34 txg Hi! Anybody home?
08:36 txg I just found out that in perl 6 regexp's the [...] will not define a group of characters anymore. How can I do this (i.e.: define a group of chars to be matched) in Perl 6?
08:37 KingDiamond joined perl6
08:37 txg <[...]>
08:37 txg got it
08:50 gaal re: var export. first, I think we shouldn't be using a Perl-accessible node on %*INC to store stuff, because most of the time the stuff we are storing there isn't meaningful to the P6 code.
08:50 gaal second, I don't know what to put there for variables, unless it's the TVar itself
08:51 gaal in which case point A is strengthened (this is not something P6land should see)
08:52 gaal but also, the way we arrange for varibles to be created must change, because we need to reduce part of the creation -- enough to call newTVar -- immediately upon parsing
08:53 gaal What is the correct set of possible export providers?
08:53 gaal That is, if I request an import from X, what can X be?
08:54 gaal The global (ugh) store of exportables must be keyed by Xs
08:57 drbean joined perl6
09:03 KingDiamond joined perl6
09:21 iblechbot joined perl6
09:31 Aankhen`` joined perl6
09:34 feng joined perl6
09:39 nothingmuch joined perl6
09:40 nothingmuch audreyt: ping
09:44 kane_ joined perl6
10:04 KingDiamond joined perl6
10:07 kakos joined perl6
10:24 KingDiamond joined perl6
11:02 chris2 joined perl6
11:03 masak ingy: ping
11:03 drbean joined perl6
11:28 elmex joined perl6
11:59 masak ingy, I think there is a spelling error in the synopsis of http://search.cpan.org/~ingy/Perld​oc-0.20/lib/Perldoc/Parser/Kwid.pm
11:59 masak I got it working by changing "stringref => $html" to "stringref => \$html"
12:00 masak this is completely the wrong forum, sorry
12:00 masak &
12:31 DesreveR is now known as r0nny
12:32 DaGo joined perl6
12:37 gaal there's no way to say "next twice", is there? that is, skip not just this iteration in a (say) for, but also the next one?
12:40 gaal and: we don't have sub arg pattern matching in pugs yet, do we?
12:54 gaal what holds all the matches? eg, I want the p6 equiv of
12:55 gaal my @animals = $text =~ /(moose|elk|wapiti)/g
12:56 gaal   ^^^^^^^^^^^^^^^^ <- part I'm intereseted in
13:03 rantanplan_ joined perl6
13:08 gaal urp, that's supposed to work in p6 according to http://feather.perl6.nl/~eric256​/t_index/t/rules/rx_perl5_g.html (with minor syntactic updates) but it doesn't on my machine
13:09 gaal ?eval my $text = "a moose and a wapiti"; my @animals = $text ~~ rx:P5:g/(moose|elk|wapiti)/; @animals
13:09 evalbot_8949 [Match.new(   ok => bool::true,    from => 2,    to => 7,    str => "moose",    sub_pos => (),    sub_named => {} ), Match.new(   ok => bool::true,    from => 7,    to => 13,    str => "wapiti",    sub_pos => (),    sub_named => {} )]
13:10 iblechbot joined perl6
13:10 gaal eep. on my machine that dies; in any case i
13:10 gaal 'm not sure this is the right behavior either.
13:24 rantanplan_ joined perl6
13:49 bsb joined perl6
13:49 meppl is something like    my $object = Foo::$variable.new(...);    possible?
14:02 nothingmuch audreyt: ping
14:32 chris2 joined perl6
14:40 DaGo joined perl6
14:41 kane_ joined perl6
14:49 DaGo joined perl6
15:13 elmex joined perl6
15:25 gaal bsb: ping
15:25 gaal audreyt: ping
15:36 bsb gaal: pong
15:37 bsb just got a network connection again
15:38 nothingmuch uueahfaegta
15:38 * nothingmuch still has to write all the talks
15:38 nothingmuch *sigh*
15:44 cm joined perl6
16:00 f12m3p4 joined perl6
16:06 f12m3p4 left perl6
16:19 rantanplan_ joined perl6
16:25 feng123 joined perl6
16:27 DaGo joined perl6
16:35 The_new_one joined perl6
16:50 justatheory joined perl6
17:01 Cryptic_K joined perl6
17:22 justatheory joined perl6
17:55 Aankhen`` joined perl6
18:12 robkinyon joined perl6
18:12 Amnesiac joined perl6
18:18 Shachaf joined perl6
18:24 kane_ joined perl6
19:06 kane_ joined perl6
19:07 frederico joined perl6
19:42 larsen joined perl6
19:52 efunneko joined perl6
19:54 gaal well, somebody had to do it
19:54 svnbot6 r8950 | gaal++ | Getopt::Std - simple command-line parsing library
19:55 efunneko Having problems building pugs - 6.2.11
19:56 efunneko Preprocessing library Pugs-6.2.11...
19:56 efunneko Setup: got error code while preprocessing: Pugs.Embed.Parrot
19:56 efunneko Build failed: 256 at util/build_pugs.pl line 87.
19:56 efunneko make: *** [pugs] Error 2
19:56 efunneko Has anyone seen this?
19:56 xern joined perl6
19:58 gaal efunneko: can you give some more lines of the output?
19:58 gaal if anything looks relevant
19:58 efunneko Not much else looks relevant.
19:59 efunneko I will grab some more ...
19:59 gaal well, in a pinch, try turning off parrot embedding.
19:59 efunneko I tried with and without parrot.
19:59 efunneko I did see this problem reported in some #perl6 logs from a week ago
20:00 efunneko Unfortunately, Audrey just logged into the guys box and it worked for him.  Perhaps something with my shell?
20:00 efunneko I did have 6.2.9 running previously.
20:00 gaal what parrot version do you have?
20:01 efunneko parrot 0.4.1
20:01 gaal though, come to think of it, it sounds like a problem in the .hsc file, not anything in parrot
20:02 efunneko Seems that way.  I tried to manually run hsc2hs and it didn't seem to have a problem, but this just caused a problem later.
20:04 gaal cpan tarball or head?
20:04 efunneko I actually tried both with the same result
20:04 gaal hmm. sorry, worksforme and I can't think of anything :(
20:04 efunneko Separate directories - the svn one had previously built in the 6.2.10 timeframe.
20:05 efunneko Would "ghc-pkg: cannot find package plugins"  mean anything (prints this when `perl Makefile.PL`)
20:11 gaal nothing relevant, no.
20:11 efunneko oh well.  Thanks for your time.  
20:12 gaal np, ask again later
20:12 efunneko Will do.  I will do some reading to try to understand what is failing.
20:13 cognominal hum, what is pil-n exactly?
20:13 gaal thanks for the repory
20:13 cognominal it is an intermediate representation?
20:13 gaal s/y$/t/
20:13 gaal cognominal: stevan was explaining it here in detail yesterday I think
20:14 cognominal ok, I will watch my logs
20:14 cognominal thx
20:14 cognominal gaal++
20:14 revdiabl1 joined perl6
20:45 buu joined perl6
20:45 svnbot6 r8951 | gaal++ | Getopt::Std - skip things that aren't options
20:58 p5evalbot joined perl6
21:12 efunn joined perl6
21:16 vanjuggler joined perl6
21:17 vanjuggler left perl6
21:22 revdiablo joined perl6
21:24 dduncan joined perl6
21:30 revdiabl1 joined perl6
21:36 ayrnieu joined perl6
21:44 Alias_ joined perl6
21:44 Alias_ seen audreyt
21:44 jabbot Alias_: audreyt was seen 16 hours 20 minutes 19 seconds ago
21:44 Alias_ darn
21:45 Alias_ left perl6
22:11 revdiablo joined perl6
22:14 iblechbot joined perl6
22:18 revdiabl1 joined perl6
22:42 macli joined perl6
22:44 Limbic_Region joined perl6
22:47 Alex24NJ joined perl6
22:51 gaal how is s///e spelled now? should s:e/// work in pugs? (it doesn't)
22:52 szbalint I tried, but atm it doesn't work atm
22:53 szbalint /e is spelled as s/something/{ code() }/ afaik
22:53 gaal indeed. should it?
22:53 szbalint according to dev.perl.org
22:53 gaal ah, right!
22:54 gaal thanks :)
22:54 svnbot6 r8952 | gaal++ | PPT cat - add options. -v and those that imply it don't currently work.
22:55 szbalint s/atm$//
22:56 gaal eep! PCRE doesn't grok unicode :-)
22:56 gaal /./ bytifies, it seems.
22:57 svnbot6 r8953 | gaal++ | PPT cat - fix -v somewhat, though PCRE seems to force byte mode :(
22:57 svnbot6 r8952 | gaal++ | PPT cat - add options. -v and those that imply it don't currently work.
22:57 drbean joined perl6
22:57 gaal zzZ &
23:01 szbalint hm
23:01 szbalint Is it my bad eyes or why did r8952 appear twice? :)
23:06 pmccann joined perl6
23:10 Alex24NJ left perl6
23:17 xinming szbalint: where it appears twice?
23:17 szbalint 23:54:22 < svnbot6> r8952 | gaal++ | PPT cat - add options. -v and those that imply it don't currently work.
23:17 szbalint 23:57:26 < svnbot6> r8952 | gaal++ | PPT cat - add options. -v and those that imply it don't currently work.
23:19 xinming szbalint: maybe your ISP is broken. :-)
23:19 xinming szbalint: I don't see this here.
23:20 szbalint weird.
23:22 comet^ I see that too and I'm in a different country.
23:23 * xinming doesn't know why then. :-/
23:26 szbalint Probably just freenode servers playing. :)
23:27 bsb szbalint: I see it twice
23:43 pmccann_ joined perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo