pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by TimToady on 25 January 2008.
00:03 Jamtech left 00:10 simcop2387 joined 00:48 ikeda joined 00:49 ikeda left 00:52 jiing joined 00:54 aindilis joined 00:55 devogon left 01:05 nipotaway is now known as nipotan 01:09 Quaver left 01:16 cnhackTNT joined 01:24 ikeda joined, ikeda left 01:28 araujo joined 01:31 jferrero left 01:35 lyokato joined 01:38 lisppaste3 left 01:47 literal joined
literal hi 01:47
is this book still up-to-date? www.amazon.com/Perl-6-Parrot-Essent...amp;sr=1-2
lambdabot tinyurl.com/2mc43c
01:47 lisppaste3 joined 01:51 Psyche^ joined 01:53 ikeda joined 01:54 ikeda left, eternaleye joined 01:59 ikeda joined 02:01 ikeda left 02:02 IllvilJa left
mugwump literal: that book is good, and much of what is in there is still current 02:05
literal ok
mugwump the parrot stuff in there is getting out of date, but should still mostly work
just not current practice
literal do you know anything about this one? www.amazon.com/exec/obidos/tg/detai...p;v=glance
mugwump there have been some design decisions; another edition is probably due once STD-6.0 finalizes IMHO
lambdabot tinyurl.com/2kk7cq
mugwump no idea 02:06
wow, published this yes
year, even
literal yeah
mugwump I don't know the authors though 02:07
literal one other thing
mugwump maybe someone else here does ... I'm quite out of touch comparatively :)
literal are you still maintaining Lingua::Translate?
02:08 Patterner left, Psyche^ is now known as Patterner
literal hasn't had a release in 3 years, I was wondering of writing a few patches for it 02:08
s/wondering/thinking/ 02:11
mugwump Oh, sure
Someone asked for co-maint on it once, but nothing came of it 02:12
If you can make a new release I'll be happy to give you co-maint on it
literal awesome
mugwump you can clone git://utsl.gen.nz/Lingua-Translate if you like 02:13
literal ok
mugwump not exactly the tidiest history mind ;)
02:14 Limbic_Region left
literal heh 02:14
mugwump I don't have a copy of the SysTrans software any more to test that part of it
literal would you consider this eligible for inclusion? search.cpan.org/~hinrik/Lingua-Tran...terTran.pm 02:15
lambdabot Title: Lingua::Translate::InterTran - A Lingua::Translate backend for InterTran. - sear ..., tinyurl.com/2ysps3
literal <-- hinrik
02:16 ikeda joined
mugwump oh, nice 02:16
that'll do, have co-maint and try not to break anything ;) 02:18
literal will do
02:18 ikeda left 02:29 cmarcelo joined 02:34 ikeda joined 02:35 ikeda left 02:36 IllvilJa joined 02:41 ikeda joined 02:43 ikeda left 02:44 alc joined 02:50 BinGOs left 02:51 kanru joined 02:56 ikeda joined, ikeda left, BinGOs joined 02:58 ikeda joined 02:59 ikeda left 03:01 Southen joined 03:12 [particle] left 03:14 ikeda joined 03:15 ikeda left 03:30 ikeda joined 03:31 ikeda left 03:34 Southen left 03:39 BinGOs left 03:46 ikeda joined 03:47 ikeda left 04:04 ikeda joined 04:05 ikeda left 04:18 hcchien_ joined, RayMagini left 04:20 hcchien left 04:21 RayMagini joined 04:23 justatheory left 04:24 mncharity left 04:28 cmarcelo left, ikeda joined, ikeda left 04:36 ikeda joined 04:37 ikeda left 04:40 alester_ joined 04:45 diakopter joined 04:47 diakopter left, diakopter joined 05:27 ikeda joined 05:28 ikeda left 05:31 [particle] joined 05:32 ikeda joined 05:33 [particle] left 05:35 [particle] joined 05:37 ikeda left 05:52 ikeda joined 05:53 ikeda left 06:00 diakopter left, cnhackTNT left, jiing left, Caelum left, bockmabe left, rakudo_svn left, pmichaud left, baest_ left, buubot left, nipotan left, diakopter joined, cnhackTNT joined, jiing joined, Caelum joined, bockmabe joined, baest_ joined, nipotan joined, rakudo_svn joined, buubot joined, pmichaud joined 06:03 zblaxell is now known as Zygo 06:05 BinGOs joined 06:08 ikeda joined 06:09 zamolxes left, ikeda left 06:18 Daveman left 06:20 Daveman joined 06:24 ikeda joined 06:25 ikeda left 06:26 ikeda joined, ikeda left 06:33 wknight-away left, revdiablo joined 06:40 ikeda joined 06:41 ikeda left 06:56 ikeda joined 06:57 ikeda left 07:11 ruz joined 07:12 ikeda joined 07:13 ikeda left 07:28 ikeda joined 07:29 ikeda left 07:32 ikeda joined, ikeda left 07:34 ikeda joined 07:35 Auzon joined 07:48 demq left, demq joined 07:52 Aankhen`` joined 07:53 FurnaceBoy left 07:54 alester_ left, DarkWolf84 left 08:28 iblechbot joined 08:32 masak joined 08:33 devogon joined 08:37 ikeda left, chacha_chaudhry joined 08:40 ikeda joined 08:57 kst joined 09:17 katie_d left 09:26 chacha_chaudhry left 09:29 jferrero joined 09:48 jferrero left 09:49 jferrero joined 09:52 IllvilJa left, zamolxes joined 10:12 hcchien_ is now known as hcchien 10:19 drbean left, drbean joined 10:23 ebassi joined 10:24 cathya joined 10:32 wknight-away joined 10:35 alc left 10:38 cnhackTNT left 10:41 ruoso joined 10:52 chris2 joined 11:26 jferrero left 11:37 demq left, demq joined 11:39 lambdabot left 11:43 cathya left 11:49 wknight-away left 11:53 nipotan is now known as nipotaway 12:03 demq is now known as dmq 12:04 rdice joined 12:18 bockmabe left, bockmabe joined 12:21 meppl joined 12:22 devogon_ joined 12:23 devogon left 12:25 cognominal_ left 12:26 lyokato left 12:30 cognominal_ joined 12:35 xinming_ joined 12:40 cognominal_ left 12:48 xinming left 12:50 ebassi is now known as ebassi|lunch 13:00 hcchien left 13:17 blindfish joined 13:27 jferrero joined 13:48 hcchien joined 13:56 cognominal_ joined 13:59 ebassi|lunch is now known as ebassi 14:03 wknight-away joined 14:12 zamolxes left 14:14 dmq left 14:15 ikeda left 14:17 cmarcelo joined 14:21 ikeda joined 14:23 Southen joined 14:30 IllvilJa joined 14:36 drbean left 14:37 ikeda_ joined 14:40 simcop2387 left, ikeda left, drbean joined 14:42 simcop2387 joined 14:43 FurnaceBoy joined 14:44 alester_ joined
pugs_svnbot r20077 | putter++ | [redsix]: redsix is now the code, and redsix.rb a symlink 'hack to make emacs happier'. Rather than the other way around. 14:47
diff: dev.pugscode.org/changeset/20077
14:47 alester_ left 14:48 ikeda joined, ikeda_ left 14:52 ikeda_ joined 14:53 mncharity joined, ikeda_ left, ikeda left
mncharity Sigh. Fyi, r20077 has made svn unhappy. Attempting cleanup. 14:53
WARNING - do not svn up to r20077 ! 14:56
PerlJam unhappy how? 14:58
cognominal_ mncharity, found how to hook the yaml dumper. but apparently I need to tweak it 14:59
all I get so far is rakudo --target=parse t.p6 15:00
---
{
"VAR1" : !Perl6::Grammar { ... },
}
apparently I need a specail libsyck 15:04
15:09 ikeda_ joined 15:10 ikeda_ left
pugs_svnbot r20078 | putter++ | Yet another attempt at repairing svn after r20077. 15:14
diff: dev.pugscode.org/changeset/20078
15:16 Daveman left
pugs_svnbot r20079 | putter++ | Continuing r20077 cleanup: redsix is gone, now deleting redsix.rb. 15:16
diff: dev.pugscode.org/changeset/20079
mncharity Ok, if you svn'ed up after r20077 but before r20079, to unwedge you svn, do: rm -rf misc/pX/Common/redsix; svn cleanup; svn up 15:18
*your
Anyone know what svn reflectors are running? darcs, whatever? Or by whom? They may be wedged now. 15:20
Every once in a while, I have a flash of wondering if I'm being excessively paranoid - a moment of, well, not trusting, but of giving my tools the benefit of the doubt. This error in judgment usually self corrects quite rapidly. :/ 15:24
Sorry folks. 15:25
15:25 ikeda joined
mncharity cognominal_: hi. sorry, distracted. 15:25
15:26 ikeda left, pmurias joined
mncharity re rakudo, you saw misc/winter_jig/ast_rakudo ? 15:27
oh, if you got that far, nevermind. 15:28
PerlJam: svn up -r20077 both fails, and leaves the local svn copy broken - can't svn cleanup, and can't svn rm --force the symlink file it's broken on. The workaround is to svn delete URL/path-to-file , bypassing the local copy entirely. 15:32
15:33 panpot joined
mncharity *The workaround to fix the svn repository. 15:33
To fix the svn local filesystem if it's become thus wedged: rm -rf misc/pX/Common/redsix; svn cleanup; svn up . 15:34
pmurias mncharity: hi 15:35
15:35 mattz_ joined, mattz left
pmurias what do the "fates" in STD5.pm refere to? 15:35
moritz_ re 15:37
mncharity cognominal_: I ran rakudo --target=parse (non-yaml) against pugs's t/spec/. Using misc/winter_jig/ast_rakudo/parse_t_spec.t. There more failures than I expected. Which leaves me wondering,
avar yes the parser fails on all sorts of strange stuff 15:39
[particle] what does it leave you wondering? rakudo is far from complete 15:40
mncharity pmurias: re fates, my understanding is fuzzy, since STD_red skipped that part, but I believe it is how TimToady's "longest matching DFA engine" (for some reason the name keeps not sticking with me), after a successful matching path is found, tells all the regex parts which way to go (no search required - already done), as they are rerun for sideeffects. or something like that.
[particle] and the pugs tests are not designed for partial implementations of perl 6
moritz_ avar: you're free to wonder why it fails once STD.pm runs 15:41
15:41 ikeda joined
mncharity re wondering, sorry, "interleave quick reply" wasn't, let's see... 15:41
15:42 ikeda left
mncharity there are several (well, lots) of rakudo tasks which might be interesting: () getting a feel for why the parses are failing, () fixing them, () getting yaml ast dumping working, () getting yaml dumping of pge match results working. 15:43
without having a feel for why the parses are failing (I haven't looked yet), I'm unclear on whether getting an ast dump of them working will be of immediate use or not. 15:44
I basically have no idea how much/little rakudo is parsing, compared with say kp6.
[particle] i'm not sure of that, either
i guess you could try running kp6 on t/spec 15:45
pmurias mncharity: kp6 dosn't parse expressions correctly
mncharity err, rephrase, I'm unsure whether the dialect rakudo parses is currently large enough, or includes the "right things", to permit throwing kp6-style "restricted dialect but still usable code" at it. 15:48
[particle] in many of the spec tests, there are directives to skip lines that rakudo can't parse 15:50
#?rakudo skip "parsefail"
mncharity eg, yes, I expect its operator precedence parser gives it much more real expressions than kp6 has. but if, for silly example instance, it can't parse "class" of a class definition, then you couldn't use it to parse "class A {...}", and it wouldn't yet be of help as a frontend.
[particle] timtoady++ created t/spec/fudge* to handle this preprocessing 15:51
so far, kp6 hasn't taken advantage of fudge
rakudo works very well with classes
mncharity I've no idea whether the parse failures are of the (very common) form of "wierd little thing one really doesn't need in practice, but is used in the test file, blows out the test". Or whether, to be silly again, scalars don't parse. 15:52
[particle] iirc named parameter support isn't all there yet 15:53
otherwise, most common things are parsed
mncharity If the latter, yaml ast dumping isn't of immediate use. If the former, one simply "just don't *do* that"'s.
re "most common things are parsed", yay :) 15:54
An interesting test could be to run rakudo against the p6 files kp6 can parse. Eg, it's test cases. And see if any parsefail for reasons which are worrying. 15:55
15:55 panpot left
mncharity v6/v6-KindaPerl6/t/kp6/*.t 15:56
15:57 ikeda joined
cognominal_ mncharity, I have submitted a patch that support part of the pair syntax 15:57
15:58 ikeda left
pasteling "[particle]" at 24.19.3.148 pasted "rakudo run against kp6 tests" (2091 lines, 100K) at sial.org/pbot/30459 15:58
[particle] everything fails to parse 15:59
mncharity looking...
[particle] however, most failures are likely related to a few root causes
mncharity cognominal_: progress :)
re few root causes, indeed. 16:00
cognominal_ I woud really like to use a grammr derived from rakudo to template a small web site. 16:01
mncharity :) 16:02
moritz_ cognominal_: actually I thought about a PGE based template system as well ;-) 16:03
I'm currently updating dev.perl.org/perl6/ - any thoughts what's most urgent? 16:04
avar [particle]: I did that a few months ago and some of it parsed
16:04 masak left
avar [particle]: A lot of those are due to anonymous =begin/=end blocks. I submitted a patch to fix that but it was rejected 16:04
[particle] 1) i've been working on a pod6 grammar, kp6 could steal that 16:05
2) i've been changing t/spec tests to pod6 16:06
16:06 ikeda joined
[particle] so, i think kp6 should migrate from pod5 to pod6, and it's definitely possible now 16:06
mncharity cognominal_: so I'm wondering if () get rakudo to parse the kp6 tests (or to only not parse for reasons which can be workaround when using it as a frontend), () add yaml match dumping to pge, to give the world access to pge, might be "more useful in themselves" short term goals than the ast yaml dump? thoughts?
16:06 ikeda left
mncharity the first seem at least something vaguely like a prerequisite for then actually using ast yaml dumps as a frontend. 16:07
[particle] pod6 grammar: svn.perl.org/parrot/trunk/languages...grammar.pg
cognominal_ mncharity, I just mailed the author of the yaml dumper to make availaible his libsyck library tuned for parrot
[particle] what yaml dumper?
why modify libsyck? 16:08
i wrote a yaml dumper written in pir
it's just not finished yet
mncharity goes to finish cleanup up from svn mess.
cognominal_ I am speaking of library/YAML/Dumper.pir which used a modified libsyck library 16:10
[particle] ok. i wrote that. 16:11
i copied it from parrot's Dumper.pir
never modified the author info
cognominal_ so what's the story about the modified libsyck? 16:12
[particle] i don't know what you're talking about 16:13
16:13 c9s_ joined, ikeda joined
pugs_svnbot r20080 | putter++ | Continuing r20077 cleanup: recover r20076's redsix.rb as redsix. 16:13
diff: dev.pugscode.org/changeset/20080
16:13 iblechbot left, ikeda left
cognominal_ [particle], maybe you wrote yaml_dumper.pir 16:15
mncharity sigh. and no time for actual work now. ah well.
cognominal_ there may be two yaml parrot libraries
[particle] i wrote yaml_dumper.pir, YAML/Dumper.pir, YAML/Dumper/Default.pir and YAML/Dumper/Base.pir
all of which are compiled down to yaml_dumper.pbc 16:16
cognominal_ the library I used call libsyck
or so it says
ho, that the parser... 16:17
I am confused
mncharity To recap, svn co from r20077 until r20079, would leave a broken local svn filesystem. Folks running, or knowing of, svn mirrors for pugs, please try to "svn up", to see if they got wedged. Sorry for the hassle. Thank you. 16:18
cognominal_ it gets confusing when navigating too much sources
mncharity It's sufficient to "svn up"(or whatever) in misc/pX/Common, if you don't want to affect the rest of your world. 16:19
bbl &
16:19 peeps[work] joined, mncharity left
[particle] yes, the parser may use libsyck 16:20
cognominal_ www.yamli.com/ # oops
16:23 cosimo_ joined, cosimo left 16:28 Auzon left 16:29 ikeda joined, ikeda left 16:30 jferrero left
pugs_svnbot r20081 | moritz++ | [STD.pm] more perlhints 16:31
diff: dev.pugscode.org/changeset/20081
16:41 pmurias left 16:42 kanru left 16:45 ikeda joined 16:46 ikeda left 16:50 lambdabot joined, mncharity joined 16:53 sordith left 16:54 sordith joined, cjfields joined 17:01 ikeda joined, kanru joined, ikeda left
mncharity two unexpected hours for hacking! :) 17:12
17:16 panpot joined 17:17 ikeda joined, ikeda left 17:22 Aankhen`` left
pugs_svnbot r20082 | putter++ | redsix/redsix: now emacs modes and syntax highlighting "just work". 17:31
diff: dev.pugscode.org/changeset/20082
lambdabot Title: Changeset 20082 - Pugs - Trac
17:33 ikeda joined, cjfields left 17:34 ikeda left 17:36 iblechbot joined 17:50 ikeda joined, ikeda left
pmichaud perl6: say True.perl(); 17:52
exp_evalbot kp6: OUTPUT[DISPATCH: calling perl on invalid object:$VAR1 = undef;ā¤ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 128ā¤ main::DISPATCH('undef', 'perl') called at - line 11ā¤] 17:53
..pugs: OUTPUT[Bool::Trueā¤]
..rakudo: OUTPUT[Null PMC access in find_method()ā¤current instr.: '_block10' pc 25 (EVAL_10:14)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 785 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1059 (src/PCT/HLLCompiler.pir:585)ā¤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1238 (src/PCT/HLLCompiler.pir...
18:00 RayMagini left
cognominal_ what is the perl6 equivalent of perl5 prefix << (here-document) 18:03
[particle] q:to:END 18:05
iirc
18:06 ikeda joined
[particle] nqp supports this syntax 18:06
cognominal_ yes, described in S02. tried to match here-document but it is described as here-doc :(
18:06 ikeda left
cognominal_ it supports it using PIR inlining 18:15
18:15 Psyche^ joined 18:20 ebassi left 18:21 Lorn joined 18:22 ikeda joined 18:24 justatheory joined 18:25 ikeda left 18:26 ikeda joined
cognominal_ I wonder what S02 means by "identifier extension", it does not grep in any other synopsis 18:27
pugs_svnbot r20083 | ruoso++ | [smop] implementing low-level scalar... not working yet... I am commiting in the hope that someone tries to understand why test/11_lowlevel_scalar.sm0p is not being match by sm0p/KP6sm0p.pl
diff: dev.pugscode.org/changeset/20083
lambdabot Title: Changeset 20083 - Pugs - Trac
18:29 ikeda left
ruoso mncharity, I'm using a KP6 grammar in sm0p, but it's failing to match a file and I can't see why... if you have some time, could you please take a look at the files referred above and see if you can see what I am missing? 18:29
18:29 RayMagini joined 18:31 Patterner left, Psyche^ is now known as Patterner 18:34 ikeda joined
ruoso home & 18:35
18:37 ruoso left
cognominal_ how can a capture refers to its parent? 18:47
18:48 ikeda left
pugs_svnbot r20084 | putter++ | [redsix] Blowing dust off redsix. t/01-sanity almost passes. 18:48
diff: dev.pugscode.org/changeset/20084
lambdabot Title: Changeset 20084 - Pugs - Trac
mncharity ruoso: certainly, will do. but i'm afraid it will be this now+8ish hours, or tomorrow. 18:49
cognominal_: parent? 18:50
18:50 ikeda joined 18:51 ikeda left 18:52 RayMagini left
mncharity rides here. bbl & 18:52
18:52 mncharity left
cognominal_ in a rakudo grammar, 2<3> matches I would like in the postcircumfix action to test if the expression in the left is not a scalar litteral to rule out that case 18:57
hum 18:58
18:59 ikeda joined
cognominal_ well I could do it in the action that corresponds to the parent rule 18:59
19:21 rindolf joined 19:28 ikeda left 19:30 rindolf left 19:40 ikeda joined 19:41 ikeda left 19:42 rindolf joined 19:44 wknight-away is now known as wknight8111 19:46 Auzon joined 19:48 pmurias joined 19:49 DarkWolf84 joined 19:50 aindilis left 19:52 literal left 19:56 ikeda joined 20:00 buchetc joined
TimToady cognominal_: that should be driven by the role/class system, not the compiler 20:02
20:03 rindolf left 20:04 ikeda left
cognominal_ you mean it's ok to whine at execution versus compilation? 20:05
TimToady you can always whine at compilation if you can prove something will whine at run time
cognominal_ here, I can't? 20:06
TimToady or if you pragmatically ask for it to assume that certain things won't change
such as adding the Hash role to integers :)
cognominal_ ho boy
ok, obviously, I am still in a compiled language mindset 20:07
with better errors messages I can live with that. 20:08
20:13 ikeda joined 20:14 ikeda left 20:20 RayMagini joined 20:21 RayMagini left 20:29 ikeda joined 20:30 rindolf joined 20:31 RayMagini joined, ikeda left 20:32 RayMagini left 20:44 rdice left 20:53 literal joined 21:03 ikeda joined 21:04 Auzo1 joined 21:05 ikeda left 21:06 ikeda joined, rindolf left 21:07 ikeda left, Jamtech joined 21:09 Auzon left 21:12 hanekomu joined 21:13 hanekomu left 21:14 ikeda joined 21:17 _SamB_ joined, _SamB_ left 21:19 SamB left, SamB joined 21:21 ikeda left 21:22 ikeda joined 21:23 thoughtpolice joined 21:30 pmurias left 21:36 Daveman joined 21:42 DarkWolf84 left 21:47 Auzo1 left 21:56 RayMagini joined 21:59 RayMagini left 22:06 RayMagini joined 22:16 RayMagini left 22:17 ikeda left 22:20 RayMagini joined 22:28 justatheory left 22:29 justatheory joined 22:39 rimad left 22:44 justatheory left, justatheory joined 22:46 justatheory left, justatheory joined 22:48 chris2 left 22:58 Jamtech left 23:04 justatheory left 23:07 alester_ joined 23:12 peeps[work] left, Alias_ left
pugs_svnbot r20085 | buchetc++ | [t/spec] document coroutines 23:20
diff: dev.pugscode.org/changeset/20085
lambdabot Title: Changeset 20085 - Pugs - Trac
23:29 cmarcelo left
pugs_svnbot r20086 | gwern++ | Update HsJudy to build against the system's installation of Judy and not the version taking up space in thirdparty/ 23:32
diff: dev.pugscode.org/changeset/20086
lambdabot Title: Changeset 20086 - Pugs - Trac
23:32 justatheory joined 23:33 iblechbot left
pugs_svnbot r20087 | gwern++ | Mv all the Judy modules to Data.Array.Judy to better fit in the hierarchical modules. 23:38
diff: dev.pugscode.org/changeset/20087
lambdabot Title: Changeset 20087 - Pugs - Trac
23:42 ikeda joined 23:43 FurnaceBoy left 23:47 buchetc left, Auzon joined, alester_ left, Auzon left 23:51 jferrero joined