pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:05 theorb joined 00:18 theorbtwo left 00:33 nipotaway is now known as nipotan 00:39 Limbic_Region joined 00:58 lyokato joined 01:01 devogon left 01:08 kanru left 01:21 polettix left 01:31 hcchien joined 01:41 jjore-m joined 01:44 zakame joined 01:49 justatheory left 02:06 agentzh left 02:16 Limbic_Region left 02:19 kanru joined, jrockway left 02:20 fayland joined, fayland left 02:21 fayland joined 02:32 agentzh joined 02:38 drupek12 left 02:39 weinig left 02:40 cmarcelo left 02:44 AzureBOT joined 02:50 jrockway joined 03:02 jrockway_ joined, jrockway left 03:10 thoughtpolice joined 03:12 jrockway_ left 03:13 fayland left 03:14 jrockway joined 03:18 HiTech69 joined 03:20 kanru left 03:21 kanru joined 03:27 weinig joined 03:28 weinig left, weinig joined 03:41 kanru left 04:03 jrockway left, jrockway joined 04:12 kanru joined 04:17 agentzh left 04:21 justatheory joined 04:24 r0bby__ joined 04:25 r0bby__ left 04:27 agentzh joined 04:32 drupek12 joined 05:03 amnesiac joined 05:07 HiTech69 left 05:19 justatheory left 05:28 justatheory joined 05:34 zakame left 05:55 Ashizawa joined 05:57 araujo left 06:32 jjore-m left 06:43 justatheory left, justatheory joined 07:10 rfordinal_ joined 07:11 pantteri joined 07:12 BinGOs_ joined 07:17 BinGOs left 07:22 BinGOs_ is now known as BinGOs, devogon joined
pantteri Hello! Could somebody help me with building pugs? Build with ghc 6.8.1 and svn version of pugs on intel OS X 10.5 fails with: 07:24
Preprocessing library pugs-HsSyck-0.2... 07:25
Building pugs-HsSyck-0.2...
Data/Yaml/Syck.hsc:27:7:
Could not find module `Data.ByteString.Char8':
it is a member of package bytestring-0.9.0.1, which is hidden
07:26 kanru left
moritz_ is that the only error message? 07:33
07:35 alc joined
pantteri It is the first one. 07:36
Setup: Error: Could not find module: Data.Yaml.Syck with any suffix: ["hi"] 07:37
RRegex.hs:44:7:
Could not find module `Data.Array':
it is a member of package array-0.1.0.0, which is hidden
moritz_ do you have the perl module YAML::Syck installed? 07:38
07:39 kanru joined 07:42 SinDoc joined
agentzh ls 07:42
moritz_ hi agentzh ;)
07:42 diakopter left, amnesiac left
agentzh hey, moritz_ 07:42
"ls" is a mistake :P
moritz_ I thought so ;)
agentzh heh
just given a talk to my department on XUL::App :) 07:43
moritz_ no tuits for the PCR tracer CGI yet - the script works, but the file permissions need fiddling :/
cool
agentzh moritz_: i'm going to write a FF extension for it :) 07:44
let extensions call user's local perl
and local PCR
moritz_ YaY
agentzh so no permission fiddling is needed :)
with XUL::App, one can write a FF ext using Perl :) 07:45
agentzh.org/misc/slides/xulapp/xulapp.xul
XUL::App will soon be on CPAN :)
moritz_ that slide's killing my firefox :/ 07:46
agentzh ......... 07:47
maybe some of your FF extensions hate it ;)
one of my friends have similar problems too :)
try running your Firefox in safe mode ;)
firefox -safe-mode agentzh.org/misc/slides/xulapp/xulapp.xul 07:48
07:48 veek joined
agentzh *has 07:48
07:50 BinGOs left, Aankhen`` joined
agentzh some FF ext hate ingy's XUL :P 07:51
moritz_ it could be my theme as well 07:54
agentzh heh 07:55
does safemode work for you?
moritz_ yes 07:56
though it's not that "safe" because the noscript add on is disabled ;) 07:57
07:57 BinGOs joined
pantteri moritz_, I do have YAML::Syck installed 07:57
agentzh moritz_: heh
07:58 justatheory left
pantteri What does " it is a member of package bytestring-0.9.0.1, which is hidden" mean - sorry I know almost nothing about Haskell... 07:58
How can I make that package visible? 07:59
allbery_b add it to the .cabal file 08:00
I imagine a bunch of stuff is broken by the recent spinning off of large chunks of base
pantteri Hey, I'm newbie here! :) Which .cabal file? 08:01
allbery_b cannot chck quickly, the drive with his pugs setup on it is offline atm 08:02
pantteri Or which version of pugs could I try to build? I'm right now just interested to experiment with perl6. 08:03
allbery_b (I will be honest, I haven't been able to build pugs in months, but I've been using various ghc prereleases. before the big base split, even.) 08:05
I *think*, i fyou're using ghc 6.8.1, you will need to edit Pugs.cabal.in and add to the build-depends line, before the __DEPENDS__ token: collections -any, parallel -any, bytestring -any 08:07
at minimum
might be easier to try it with ghc 6.6.1
08:08 Aankhen`` left, Aankhen`` joined
pantteri Thanks, I'll try first the .cabal magic. 08:09
allbery_b hm, also: old-locale -any 08:10
and possibly change time -any to old-time -any
the base split broke pretty much every haskell-based package in existence :/
pantteri What was the base split? 08:11
allbery_b shortly before ghc 6.8.1 was released, a lot of stuff that was in the "base" library collection was separated 08:12
so for example lists used t be part of base, but are now in collections (along with sets and seq); arrays are in their own package; bytestring, which had only just been added to base for 6.6, is its own package again 08:13
basically if you compile and get a "is in package <foo>, which is hidden", add ", foo -any" to Pugs.cabal.in and start over at perl Makefile.PL 08:15
moritz_ ... and commit your changes to the pugs repository ;) 08:16
allbery_b yeh, that too :)
pantteri OK, I added the packages to Pugs.cabal.in and they even appear in Pugs.cabal but packages are still hidden... 08:17
I'm sure you will get at least a patch file if I manage to build pugs. 08:18
moritz_ pantteri: do you want access to the pugs svn repository?
a.k.a. "commit bit"
pantteri readonly
hmm.
Not sure :)
moritz_ just /msg me your email address and desired nick name 08:19
pantteri OK. I'll do that if I manage to do anything useful.
moritz_ alright 08:20
allbery_b like I said, if you get new hidden packages, add them to Pugs.cabal.in and start over
moritz_ gotta go, bye #perl6
allbery_b of you get the *same* packages, then we have something deeper
pantteri allbery_b: The same packages are still problematic 08:21
allbery_b I wonder if you need to "make distclean" or something 08:22
unfortunately I can't check (and should try to go back to bed again...) 08:23
pantteri Distclean did not help either. Thank you for help anyway! 08:28
08:30 kane_ joined, drrho joined
funktio pantteri: you can also try pugs online here: feather.perl6.nl:8080/runpugs/ 08:32
08:33 franck___ joined 08:35 weinig left 08:37 jisom joined 08:40 araujo joined 08:46 lyokato left, lyokato joined
pantteri Hmm. ghc-pkg list tells that bytestring is exposed, not hidden. 08:49
08:50 bheekling joined 09:07 lyokato left 09:10 ting left 09:11 ting joined 09:24 lyokato joined 09:26 drrho left 09:29 drrho joined 09:34 Terefang joined, pantteri left 09:35 Terefang left, nirmo joined 09:42 drrho left 09:43 chris2 joined 09:55 agentzh left 09:56 agentzh joined 10:00 ruoso joined 10:03 nirmo left 10:07 jisom left 10:21 lyokato left 11:02 drbean joined 11:06 fglock joined 11:08 schlicht joined
schlicht hi 11:08
11:11 Ashizawa left 11:12 DarkWolf84 left 11:33 nipotan is now known as nipotaway
wolverian hm, run.pugscode.org doesn't work 11:40
11:55 bheekling left 12:03 alc left 12:11 SinDoc left 12:19 masak joined 12:25 kyrbe joined 12:28 kyrbe left
spinclad what, again? 12:29
oh, still, i guess. Zaba mentioned that yesterday. 12:30
12:35 HiTech69 joined 13:12 cmarcelo joined
spinclad [kp6]: MANIFEST is out of date. is there a best way to regenerate it? 13:24
13:24 ebassi joined 13:31 Lorn joined
spinclad ans: well, 'make manifest' if i had a Makefile already; otherwise see ExtUtils::Manifest. 13:31
13:38 ggoebel joined 13:56 chris2 left
ggoebel How do I update www.pugscode.org/kp6.html? I'd like to add a link to dev.pugscode.org/wiki/v6... 14:01
sorry dev.pugscode.org/wiki/v6 14:06
14:14 lichtkind joined 14:25 iblechbot joined 14:29 rindolf joined 14:46 zakame joined 14:53 rindolf left 14:57 turrepurre joined 15:04 wilx left, wilx joined 15:06 alc joined 15:09 polettix joined 15:13 kanru left 15:15 amnesiac joined, zakame left 15:16 zakame joined 15:18 jrosental joined
jrosental when will perl6 come true? 15:18
spinclad by christmas 15:21
some christmas 15:22
15:22 agentzh left
spinclad when it's ready, every day will be christmas 15:22
jrosental LOL 15:27
i ask because i have been hearing it since SOME years ago.. and still nothing :S 15:28
15:41 amnesiac left
spinclad oh, hardly nothing... we have three implementations in progress, the specs are about 80% nailed down (with 80% to go...) 15:41
some people are using them for production work 15:42
15:43 rindolf joined 15:47 amnesiac joined 15:48 kanru joined 15:50 zakame left, zakame joined, idiotmax left 15:51 rfordinal_ left 15:53 zakame left, zakame joined 15:57 jeffreykegler joined 15:59 schlicht left 16:00 ofer left, ofer joined
jeffreykegler I read in the synopses that a multi-line comment cannot start a line 16:01
That is, #[ at the beginning of a line is a syntax error
Why is this? 16:02
I'm writing a parser intended as part of the PGE, and want to imitate Perl 6 comments in its specification files
16:15 pmurias joined
pmurias jeffreykegler: not allowing multiline comments at the start of the line allows commenting code with :s/^/#/ 16:15
jeffreykegler Duh. Of course. 16:17
thanks
pmurias jeffreykegler: you are writing a parser for grammars? 16:21
jeffreykegler Yes, a variant of Earley's with LR(0) precomputation 16:22
16:26 dlocaus joined 16:34 jeffreykegler left 16:41 justatheory joined 16:42 jeffreykegler joined, jeffreykegler left
ggoebel How do I update www.pugscode.org/kp6.html? I'd like to add a link to dev.pugscode.org/wiki/v6... 16:44
16:50 lambdabot left, jrosental left, lambdabot joined
dlocaus ggoebel: do you have a commit bit? 16:50
ggoebel: ping 16:51
Juerd And if not, do you want a commit bit? :) 16:56
16:56 Psyche^ joined 16:58 devogon_ joined 16:59 devogon left 17:02 rindolf left
ggoebel yes 17:06
masak yes, as in "I have a commit bit" or yes, as in "I want one"? 17:07
ggoebel yes I have one
masak :)
ggoebel ...so how do we edit the pages on www.pugscode.org? 17:10
masak ggoebel: hold on
checking
17:10 IllvilJa left 17:12 Patterner left, Psyche^ is now known as Patterner
masak docs/feather/pugscode.org/kp6.html 17:12
pugs_svn r18865 | dlo++ | [kp6] Extracted $meta_Value and all its "children" from KindaPerl6/Runtime/Perl5/MOP.pm into Runtime/Perl5/Value.pm 17:15
r18865 | dlo++ |
r18865 | dlo++ | This also included $::Code, $::List, $::Subset, and $::Mutli. The above classes have $meta_Value as a parent which
r18865 | dlo++ | is why they were also included in this move
r18865 | dlo++ |
r18865 | dlo++ | I did a "make forcerecompile" and "make test", and all passed.
ggoebel thanks 17:18
dlocaus fglock: the MOP.pm $::Value & $meta_Value extraction into => Value.pm is complete and passed all tests.
fglock dlocaus: yay!
dlocaus fglock: What else do you need done? (Something simple, preferably, simple refactoring :) 17:19
fglock: I still haven't gotten a handle on how kp6 works.
fglock dlocaus: I've been discussing with nferraz, how to better explain how it works 17:20
dlocaus :) 17:21
17:21 barney joined, ludan joined
dlocaus I think what would help me the most is a sample "run" though (high level view), that shows what files are responisble for what. 17:21
masak fglock: I, too, would likely benefit from such an explanation
ludan hi
masak hi ludan 17:22
dlocaus ludan: hiya
I saw some possible clean up in MOP.pm
fglock dlocaus: I'll try to start writing out a sample compilation session 17:23
dlocaus Now that we have a nice clean testing process (make test, yields NO errors), I'll see about refactoring some of the code.
cosmetic refactoring of the code.. so to speak.
fglock I'm refactoring Perl5::Container/Array/Hash 17:24
dlocaus fglock: ok, I'll only be working in MOP.pm for a bit. 17:25
fglock dlocaus: ok! 17:26
pugs_svn r18866 | dlo++ | [kp6] accidently included some personal notes in the commit, I have removed them 17:28
17:30 masak left, franck___ left 17:31 IllvilJa joined, justatheory left 17:34 TJCRI joined 17:39 justatheory joined 17:42 devogon_ left
pugs_svn r18867 | ggoebel++ | re-write to move developer level info to dev.pugscode.org add reference to it 17:55
r18868 | dlo++ | [kp6] minor documentation changes 17:57
ggoebel please check out and fix any errors you find in: svn.pugscode.org/pugs/docs/feather/...g/kp6.html
pugs_svn r18869 | fglock++ | [kp6] t/kp6/65-autovivify-deep.t resolved, but '.exists' is broken 17:59
18:02 ebassi left 18:07 turrepurre left
fglock & 18:07
18:08 rindolf joined 18:10 ruoso left 18:11 turrepurre joined 18:13 ludan left
pugs_svn r18870 | dlo++ | [kp6] I moved $::Role to near the bottom of the file, because it "interrupted" the reading of $::Object (it just 18:21
r18870 | dlo++ | kinda of appeared in the middle of it).
r18870 | dlo++ |
r18870 | dlo++ | I also converted sub meta_isa into "my $meta_isa". This removes sub meta_isa from the global namespace. There are
r18870 | dlo++ | other subroutines created this way, so I have made this one similar.
r18870 | dlo++ | Note: I could not find "meta_isa" being used anywhere else, and the tests work after this.
dlocaus fglock: ping? 18:25
18:26 thoughtpolice left
dlocaus moritz_: ping? 18:26
I'm thinking that $::Signature, $::Signature::Item, $::Array, $::Hash do not belong in Runtime::Perl5::MOP, but belong in another Runtime::Perl5::(Misc???). Should I move them out? 18:28
This would remove the last usage of make_class in MOP.pm (which probably should be moved to the end of Runtime::Perl5::Mop
or should make_class be put in another file?
18:31 fglock left 18:32 kane_ left
dlocaus pmurias: ping? 18:33
18:34 justatheory left 18:36 rindolf left
pmurias dlocaus: pong 18:37
dlocaus did you see the above discussion?
well, the question I had, but everyone seams to be away? 18:38
pmurias looking into it
18:41 weinig joined
pmurias dlocaus: the main definitions of those classes live in appropriate Runtime::Perl5::* 18:42
dlocaus right, I am not sure that $::Signature, $::Signature::Item, $::Array, $::Hash 18:43
belong in MOP.pm
so, I am thinking about moving them out. I -believe- that MOP.pm should only consist of $::Object & $::Class.
pmurias you could try deleting them and check if things work
dlocaus I am fairly sure that my changes would work, I don't know if they are philoshophically correct. 18:44
which is why I am inquring here.
pugs_svn r18871 | dlo++ | [kp6] minor documentation change 18:46
pmurias i don't think moving them to Misc is a good idea
dlocaus ok 18:47
pmurias remove them 18:48
dlocaus remove them? 18:49
18:49 schlicht joined, drrho joined
pmurias they are only predeclarations 18:49
dlocaus humm ok
pmurias if they are at the end of the file what's the point of having them?
dlocaus TODO, reference for future usage... 18:50
and they are also required for KP6. 18:51
I removed them, and a lot of tests failed.
ggoebel fyi: I've updated dev.pugscode.org/wiki/v6 folded fglock's notes in and cleaned it up a bit. Next step is a "Getting Started" section...
lambdabot Title: v6 - Pugs - Trac
18:52 justatheory joined
pmurias re TODO, reference for future usage... - they are defined in a different file all such stuff can live there 18:52
you could at least move the docs to the appropriate files 18:53
with a short note on which prototypes are precreated left in MOP
dlocaus oh, do you mean document the code in other files in Runtime::Perl5::* that use make_class? 18:54
18:55 andrewns joined
pmurias i mean document Array in Array.pm rather then in MOP 18:55
dlocaus I see what you mean.. humm 18:56
18:57 cmarcelo left
pmurias i get 18:57
Unknown arguments to TAP::Harness::new (verbosity) at script/run_tests.pl line 162
when i run script/run_tests.pl
dlocaus pmurias: ok, I'll check ito that.
pmurias updating TAP::Harness 18:58
18:58 andrewns left
dlocaus 3.02 is out... 19:00
how are you invoking the verbose argument? 19:01
pmurias perl script/run_tests.pl --backend=perl5
the error didn't disapear
dlocaus cool :) 19:02
pmurias: I'm updating the documentation 19:03
19:03 cmarcelo joined
pugs_svn r18872 | pmurias++ | [kp6] TAP::Parser now uses verbose instead of verbosity 19:09
19:09 devogon joined
pmurias TAP::Harness has inconsitent documentation 19:10
pmurias has inconsistent spelling ;) 19:14
19:15 BinGOs_ joined
dlocaus They get to it pretty fast, I made a comment about new ( { exec => [] } ) and they got it. 19:15
19:17 devogon left
pmurias that's good 19:18
pugs_svn r18873 | dlo++ | [kp6] Runtime::Perl5::(IO/Gather/List/Array/Hash/Kp6Security/Math/Pair) all called make class with ( parent => [ ...
r18873 | dlo++ | ] ), when it should have been ( parents => [ ... ] ). Note the 's' on parents.
r18873 | dlo++ |
r18873 | dlo++ | After this change, all tests still passed. I have put in a check in MOP.pm that should any arguments come in that
r18873 | dlo++ | are unrecognized it will drop a warning.
jMCg Any chance that any of those commits will fix my compile sooner or later ;) 19:19
19:19 BinGOs left
pmurias jMCg: i doubt it? 19:20
s/?//
19:20 BinGOs joined
pmurias jMCg: you mean your pugs compile 19:20
dlocaus @tell fglock I have updated Runtime::Perl5::(many). FYI.
lambdabot Consider it noted.
jMCg pmurias: yes.
pmurias kp6 is a seperate implementation in perl5
in perl6 19:21
which compiles to perl5
kp6 should work fine even if you don't have haskell at all 19:23
you can try your luck with kp6 if pugs dosn't work for you 19:26
dlocaus en.wikipedia.org/wiki/Arity
lambdabot Title: Arity - Wikipedia, the free encyclopedia
dlocaus The things I learn from reading KP6 code
Tene Perl 6 has a .arity method on code blocks, as I recall. 19:28
dlocaus yeah, but I never heard of that word before 19:29
PerlJam We invent our own vocabulary around here, so it's good to look up stuff you've never heard before :-) 19:30
19:31 BinGOs__ joined
pugs_svn r18874 | dlo++ | [kp6] Moved the $::Array documentation from Runtime::Perl5::MOP to Runtime::Perl5::Array 19:32
r18874 | dlo++ | I also updated the documentation
19:34 BinGOs_ left 19:36 justatheory left, devogon joined 19:37 idiotmax joined
dlocaus pmurias: ? 19:39
19:39 BinGOs left
dlocaus pmurias: ping? 19:40
pmurias pong looking
dlocaus Hurmm... "someone" (not naming names here), didn't define parents for a lot of classes
or at least the parent isn't defined as of invocation of make_class 19:41
so, I put in a check for make_class, but now when I do a "make" test, it scrambles the "output" by the volume of warning messages.
I think the warning is worth while... but Adding an extra 13 lines to every test case is a bit "ouch" 19:42
I believe I should commit the code, but this is going to be a lot of messages.
do you have any thoughts?
Do you want me to commit and then you can see for yourself? 19:43
pmurias you ask too hard questions ;)
dlocaus snickers 19:44
pmurias: is that yes?
its an extra 1092 lines...
of "make test" output
moritz_: ping?
pmurias dlocaus: i'm not even sure every class needs a parent 19:45
dlocaus A parent was defined for this class, and it doesn't exist
parents => [$::meta_Hash], 19:46
ah wait
nope, that doesn't exist
pmurias a warning for undef parent is ok (or even a die) 19:47
dlocaus if someone said that $::meta_Hash is going to be a parent, I think its reasonable to make sure that parent actually is defiend.
I'll do a warning then.
19:48 justatheory joined, jisom joined 19:49 justatheory left, justatheory joined 19:50 justatheory left
pugs_svn r18875 | dlo++ | [kp6] I have moved the documentation for $::Hash from Runtime::Perl5::MOP into Hash.pm. I have also updated the 19:50
r18875 | dlo++ | Runtime::Perl5::MOP make_class to raise a warning if a parent is passed, but is undefined. I am sorry about the
r18875 | dlo++ | error messages, but this is worthy of a warning.
pmurias dlocaus: you could fix some of the warnings by changind $meta_something into ::DISPATCH($::something,"HOW") 19:53
dlocaus pmurias: sorry, I had to move my car (street cleaning) 19:58
ok
I want to document the other "make_class" items.. then I'll fix the warnings
20:01 BinGOs__ left 20:13 devogon left
pugs_svn r18876 | dlo++ | [kp6] documented a number of files, all tests pass 20:18
20:22 devogon joined 20:23 justatheory joined 20:24 Lorn left 20:28 devogon left 20:30 devogon joined
pugs_svn r18877 | dlo++ | [kp6] 20:34
dlocaus pmurias: I've used your suggestion to remove all warnings.
pugs_svn r18877 | dlo++ | With pmurias's suggestion, ( irclog.perlgeek.de/perl6/2007-11-16#i_145763 )
r18877 | dlo++ | I fixed the parent(s) being undefined and also did minor touch ups on the
r18877 | dlo++ | documentation.
r18877 | dlo++ |
lambdabot Title: IRC log for #perl6, 2007-11-16
pugs_svn r18877 | dlo++ | All tests pass and no more warnings are generated.
dlocaus I'm going to work on another project for a bit.
@karma dlo
lambdabot dlo has a karma of 179
pmurias fine
dlocaus waves 20:35
20:35 dlocaus left 20:40 jisom left, apple-gunkies joined 20:49 ofer left, ofer joined 21:04 jferrero joined 21:07 drrho left 21:20 apple-gunkies left 21:25 Aankhen`` left 21:28 barney left 21:33 pmurias left 21:37 vel joined 21:39 lichtkind left 21:49 rindolf joined 22:01 rindolf left 22:03 TJCRI left, weinig_ joined 22:08 schlicht left 22:16 weinig__ joined 22:17 weinig left 22:19 devogon left 22:25 buubot left 22:33 Limbic_Region joined 22:34 weinig_ left 22:45 buubot joined 22:53 buubot left 22:59 weinig__ left 23:00 buubot joined, weinig joined 23:11 wilx left 23:26 devogon joined 23:32 riffraff joined 23:36 QtPlatyp1s is now known as QtPlatypus 23:55 thoughtpolice joined 23:56 vel_ joined