pugs_svnbot r17557 | sunnavy++ | supplemented the tests of the first position reserved pseudo-package names 00:02
diff: dev.pugscode.org/changeset/17557
lambdabot Title: Changeset 17557 - Pugs - Trac
00:03 TimToady_ left, ubajas left 00:15 finchely joined 00:32 finchely left 00:35 buetow left 00:37 penk left, TimToady_ joined, ubajas joined 00:47 ubajas3 left 00:49 justatheory left 00:54 scw left 00:57 TimToady left 01:15 tcubp joined, tcubp left, RetroJ joined 01:17 justatheory joined 01:20 weinig left, RetroJ left 01:22 ubajas3 joined 01:23 tcubp joined 01:29 weinig joined 01:31 ubajas left
mncharity Fyi, www.perl.com/download.csp currently says "The developer's release of Perl is currently at version 5.9.4." Which hasn't been true for almost 2 months now. A symptom of O'Reilly switching to ruby? 01:43
lambdabot Title: Downloading the Latest Version of Perl
mncharity Rather interferes with testing for 5.10..
01:59 bjoern_ joined, Limbic_Region left
bjoern_ Hi, I just built pugs on Win32; towards the end of the process, I got: 02:00
Linking pugs.exe.new ...
gcc: unrecognized option `-nologo'
gcc: unrecognized option `-GF'
gcc: unrecognized option `-Zi'
it's trying to use MSVC++ options when calling GCC. I don't know why it would call gcc there, seems a bug to me.
(building from svn with the latest ghc installed, fwiw) 02:01
02:05 ubajas joined 02:15 ubajas3 left 02:48 ubajas3 joined 02:58 ubajas left 03:11 TimToady joined 03:15 jesjkl joined, jesjkl left 03:18 jesjkl joined, jesjkl left 03:30 TimToady_ left 03:32 weinig left 03:34 ubajas joined 03:44 ubajas3 left 03:48 TimToady_ joined 04:03 TimToady left 04:04 weinig joined 04:11 kanru joined 04:14 justatheory left, justatheory joined 04:18 TimToady joined 04:19 ubajas3 joined 04:29 ubajas left 04:32 TimToady1 joined 04:33 agentzh joined 04:34 spinclad joined 04:37 TimToady_ left 04:44 TimToady_ joined 04:47 ZenMasterJG joined 04:52 TimToady left 04:53 ZenMasterJG left 05:04 TimToady1 left 05:08 TimToady joined
sunnavy seems TimToady doesn't have a stable line :-) 05:09
05:11 ubajas joined 05:13 lisppaste3 left 05:14 Casan joined 05:15 agentzh left 05:18 agentzh joined 05:21 ubajas3 left
wolverian mncharity, better to report to them than to us here, probably. 05:26
05:26 sunnavy left 05:27 TimToady_ left 05:35 TimToady_ joined 05:46 ubajas3 joined 05:48 jisom joined 05:49 rgs joined 05:51 TimToady left 05:52 devogon joined, lisppaste3 joined 05:56 rgs left, ubajas left 06:05 kanru left 06:08 TimToady_ is now known as TimToady 06:18 ubajas joined 06:28 ubajas3 left 06:33 jisom left 06:46 TimToady_ joined 06:48 justatheory left 07:02 ubajas3 joined 07:03 TimToady left 07:10 rgs joined 07:11 rgs left, rgs joined 07:12 ubajas left 07:15 TimToady joined
meppl good morning 07:16
07:19 rgs left 07:24 TimToady1 joined 07:28 TimToady_ left 07:38 fridim joined 07:40 hkb_lab is now known as hakobe 07:41 Aankhen`` joined 07:43 TimToady left 07:45 ubajas joined 07:53 TimToady joined, nwc10 joined 07:55 ubajas3 left 08:04 TimToady1 left 08:17 hakobe is now known as hkb_aw 08:18 ubajas3 joined 08:25 weinig left
agentzh morning, meppl 08:26
08:27 ubajas left 08:29 TimToady_ joined 08:31 barney joined 08:41 agentzh left 08:48 TimToady left 08:49 Aankhen`` left 08:59 masak joined 09:02 ubajas joined
masak good morning 09:06
09:06 iblechbot joined 09:11 ubajas3 left
masak I thought today I would do another excursion into pugs 09:12
see if I can satisfy a t/ test and maybe gain some more insight
of course, I won't be able to touch the big-picture stuff 09:13
but I imagine there are some small things which have succumbed to bit rot but which are easy to fix 09:14
09:18 Blwood_ joined
moritz_ probably there are ;) 09:20
09:20 TimToady joined
pugs_svnbot r17558 | moritz++ | t/var/var.t: one more smartlink, more needed 09:24
diff: dev.pugscode.org/changeset/17558
lambdabot Title: Changeset 17558 - Pugs - Trac
moritz_ sunnavy++ recently added a test in t/var/var.t about forbidden module names, that might be easy to whack into pugs
09:25 charsbar left
masak moritz_: thx for the tip 09:26
I'll look into it
masak looks into it
09:29 Blwood[pizza] left 09:31 charsbar_ joined
pugs_svnbot r17559 | moritz++ | t/statements/gather.t: added smartlink 09:36
diff: dev.pugscode.org/changeset/17559
lambdabot Title: Changeset 17559 - Pugs - Trac 09:37
09:37 ubajas3 joined 09:38 nwc10 left 09:39 TimToady_ left, pmurias joined
pmurias morning 09:39
masak pmurias: mornin'
moritz_: do you know what sunnavy++ meant by "out of scope name"? 09:40
I understand that they are taken
but what exactly does "out of scope" connote here?
09:47 ubajas left
moritz_ I don't know either 09:51
masak ok. I'll just treat them as forbidden
but I was a bit confused by the choice of words
09:53 fridim left
moritz_ ?eval 'if {'; say $! 09:53
pugsbot_r17185 OUTPUT[␤] Bool::True
moritz_ #pugs ?eval 'if {'; say $@
exp_evalbot OUTPUT[*** ␤ Unexpected "@"␤ expecting "::"␤ at /tmp/VJzctjqJlR line 1, column 20␤]
moritz_ which variable holds eval() errors in p6? 09:54
09:55 explorer joined
pugs_svnbot r17560 | moritz++ | t/statements/unless.t: no else and elsif allowed in unless 10:01
diff: dev.pugscode.org/changeset/17560
lambdabot Title: Changeset 17560 - Pugs - Trac
10:14 ruoso joined
pugs_svnbot r17561 | ruoso++ | [kp6] (a flight delay never been so productive) new tests and several steps towards kp6 bootstrap 10:16
diff: dev.pugscode.org/changeset/17561
lambdabot Title: Changeset 17561 - Pugs - Trac
10:20 riffraff joined, ubajas joined
pmurias ruoso: hi 10:20
pugs_svnbot r17562 | masak++ | [src/Pugs/Eval.hs] 10:22
r17562 | masak++ | * forbade a few more namespaces
diff: dev.pugscode.org/changeset/17562
lambdabot Title: Changeset 17562 - Pugs - Trac
masak moritz_: you were right, it wasn't overly difficult 10:23
I had to battle the Haskell layout a little, that's all
ruoso pmurias, hi 10:25
pmurias, did you see the last changeset in the commit I made? 10:27
we (me and flavio) had a productive flight delay 10:28
the problem we were working on the hackathon is now solved
and some other nasty bugs too
pmurias yes, i have seen the changeset 10:30
10:30 ubajas3 left 10:32 chris2 joined 10:33 iblechbot left 10:39 timbunce joined
pmurias haircut& 10:40
masak heh, writing Haskell is still a bit scary 10:49
I don't feel like an equal to GHC, as I do to perl or javac
moritz_ I don't even feel equal to perl 10:50
masak moritz_: why not?
moritz_ I don't understand most of typeglob magic for example
but I know enough Perl to achieve what I want most of the time
masak not sure I do either
with ghc, my ignorance is more in my face
all the time
my main question is "will the type checker like this?" 10:51
moritz_ aye
btw pugs still allows 'else' and 'elsif' blocks to 'unless'
masak I'm already on it :) 10:52
moritz_ that might be another thing that is not too hard to fix
ok ;)
timbunce Hi. I'm trying to build pugs for the first time in ages and need a little help.
Does it work with ghc-6.6.1? (I had problems with it: Module `Control.Monad.RWS' does not export `MonadIO(..)')
Which others have encountered bugs.debian.org/cgi-bin/bugreport.cgi?bug=427315
So now I'm trying ghc-6.6. But that's giving me a different problem (related to hsc2hs)
Which ghc would be best for me to work with?
lambdabot Title: #427315 - pugs: FTBFS: Module `Control.Monad.RWS' does not export `MonadIO(. ...
moritz_ ghc-6.6.1 is minimal requirement
masak timbunce: I'm using 6.6.1
timbunce So what's the cause/fix for that Control.Monad.RWS' does not export `MonadIO problem? 10:53
moritz_ I haven't encountered it yet
I patched debian/* a bit and I usually build debian packages without problems 10:54
on etch+self-backported ghc 6.6.1
10:55 ubajas3 joined
timbunce Perhaps it's because I'm using pugs rev 14410, which was the last I fetched. Is the current head reasonably stable? 10:55
moritz_ good question
depends on your notion of "reasonable" ;) 10:56
timbunce :) 10:57
Reasonable relative to the last release? Reasonable to work with the pugs->perl5 interface?
pasteling "masak" at pasted "I've made this patch to src/Pugs/Parser, but it was ineffective. any lambdacamel care to review it for me?" (20 lines, 1K) at sial.org/pbot/27230
timbunce Or perhaps just reasonable as in not broken. 10:58
moritz_ timbunce: I don't use the pugs->perl5 bridge very much, so I can't tell - sorry
timbunce I just need some sense of whether an 'svn update' right now will cause me more pain than gain. 10:59
I've not been following along
I've no sense of current actvity
moritz_ if you have ghc 6.6.1 it should't cause more pain
timbunce Thanks! 11:00
11:04 ubajas left
masak ok, thinking out loud here 11:05
Parser.hs seems to be the file I should change
11:06 devogon_ joined
masak it contains grammar stuff 11:06
if and unless are treated very similarly
which makes it a bit harder to distinguish them
I guess I could reshape the whole grammar to distinguish them 11:07
11:07 devogon left
masak but I'm not sure I want that right now 11:07
instead, I want to detect the combination of an "unless" symbol and an "else" symbol" and fail on that 11:08
(oh, and "elsif" too)
seems that right now I'm not succeeding because I don't know enought about the parser and about matching in Haskell 11:16
moritz_ lunch etc. & 11:17
masak: good luck ;)
masak moritz_: danke :) 11:19
pugs_svnbot r17563 | ruoso++ | [kp6/t/kp6/grammar/03] new failing test. token compilation. 11:22
diff: dev.pugscode.org/changeset/17563
lambdabot Title: Changeset 17563 - Pugs - Trac
pugs_svnbot r17564 | ruoso++ | [kp6] a new test, now isolated what is broken. 11:28
diff: dev.pugscode.org/changeset/17564
lambdabot Title: Changeset 17564 - Pugs - Trac
masak src/Pugs/Parser.hs is a great read, btw 11:30
no worse than EBNF
timbunce r16464 built fine with ghc 6.6.1. Thanks.
masak timbunce: great 11:31
timbunce make -n install shows it wants to install into my perl installation, but the INSTALL file said "Do not set PREFIX to your Perl 5 installation dir, as that would overwrite some of the files there with their Pugs counterparts", so I'm puzzled. 11:32
I'm happy not to install if pugs is happy to work from the build dir.
masak it usually is 11:33
timbunce ok, thanks
masak and I agree that you should not set PREFIX to your Perl 5 installation 11:34
that sounds very dangerous for your Perl 5 installation
timbunce I didn't set PREFIX at all. Maybe that's the problem.
masak perhaps
usually I just go "make install" 11:35
but it's been a while, since I don't use pugs for production work right now
11:35 renormalist joined
timbunce Do you usually set PREFIX? 11:35
11:35 ubajas joined
pugs_svnbot r17565 | ruoso++ | [kp6] fixed a bug in Token. t/kp6/grammar/04 now passes. 03 still fails 11:41
diff: dev.pugscode.org/changeset/17565
lambdabot Title: Changeset 17565 - Pugs - Trac
11:45 ubajas3 left
masak timbunce: no, I've never done that 11:48
timbunce ok
11:50 Aankhen`` joined
pugs_svnbot r17566 | ruoso++ | [kp6] going a little further... now testing backtracking. 11:50
diff: dev.pugscode.org/changeset/17566
lambdabot Title: Changeset 17566 - Pugs - Trac 11:51
11:53 iblechbot joined
timbunce Should the pugs perl5:DBI example on wikipedia (en.wikipedia.org/wiki/Pugs#Perl_5_compatibility) still work? 11:53
I get an error:
*** Odd number of elements found where hash expected: VV 0x020933a4
at dbi.pl line 16, column 5-48
masak hm 11:57
timbunce: would you care to verify the error?
i.e. look at that place in the source code to see if it looks wrong 11:58
masak is doing other coding right now
timbunce I copy-n-pasted it. The line is trivial: say "Just another $res<Audrey><Project> hacker";
how can I pretty-print $res? 11:59
masak all of it?
maybe `$res.perl.say` 12:00
timbunce Says: 0x02093398
not good
masak masak raises eyebrows
that's strange
pmurias renormalist: hi 12:01
timbunce Can you point me to some tools that would help me dig deeper? 12:02
Like tracing pugs execution.
and where in the source code the perl5 glue is implemented 12:03
12:03 Casan left
pmurias ruoso: it's not really backtracking 12:03
renormalist: did you get by messages? 12:05
ruoso pmurias, take a look at tests 03 and 04 inside grammar 12:06
pugs_svnbot r17567 | ruoso++ | trying to catch <before asdf> and <!before asdf> 12:09
diff: dev.pugscode.org/changeset/17567
lambdabot Title: Changeset 17567 - Pugs - Trac
12:09 fglock joined
fglock hi 12:09
lambdabot fglock: You have 1 new message. '/msg lambdabot @messages' to read it.
fglock renormalist: Num looks fine :) 12:10
ruoso fglock, hi
pmurias fglock: hi
ruoso fglock, take a look at teste 03 and 04 from grammar 12:11
fglock ok
ruoso I'm trying to catch the <before \d> 12:12
which doesn't seems to be implemented...
just saw it
but it isn't working... 12:13
wait 12:15
it works ;)
it was mistyping
all tests pass again 12:16
pugs_svnbot r17568 | ruoso++ | [kp6] "before" assertion tests now pass
diff: dev.pugscode.org/changeset/17568
lambdabot Title: Changeset 17568 - Pugs - Trac
12:18 Schwern joined
pugs_svnbot r17569 | fglock++ | [kp6] added 'make test_grammar' option 12:18
diff: dev.pugscode.org/changeset/17569
lambdabot Title: Changeset 17569 - Pugs - Trac
DarkWolf84 :continue modifer don't work :( in pugs
fglock run_tests.pl needs some fixing - it doesn't work with the 'section' option
i'm trying to understand it
ruoso fglock, hmm 12:20
probably my fault
in the commit I made
12:20 polettix joined, ubajas3 joined
ruoso i had a conflict in that file 12:20
fglock, fixed 12:22
pugs_svnbot r17570 | ruoso++ | [kp6] fixing bad conflict resolution
diff: dev.pugscode.org/changeset/17570
lambdabot Title: Changeset 17570 - Pugs - Trac
ruoso fglock, better now 12:23
pugs_svnbot r17571 | ruoso++ | [kp6] $section works again in run_tests
diff: dev.pugscode.org/changeset/17571
lambdabot Title: Changeset 17571 - Pugs - Trac
12:24 araujo left
pmurias all test pass here ;) 12:25
* tests
fglock ruoso: thanks 12:27
ruoso pmurias, not anymore... ;)
pugs_svnbot r17572 | ruoso++ | [kp6] new failing test... code inside rule
diff: dev.pugscode.org/changeset/17572
lambdabot Title: Changeset 17572 - Pugs - Trac
renormalist re 12:29
lambdabot renormalist: You have 3 new messages. '/msg lambdabot @messages' to read them.
pugs_svnbot r17573 | pmurias++ | [kp6] run_tests --section=foo dosn't run TESTS 12:30
diff: dev.pugscode.org/changeset/17573
lambdabot Title: Changeset 17573 - Pugs - Trac
12:30 ubajas left
ruoso hmmm... somebody forgot to add something :) 12:31
pmurias fixing
i forgot i had that modification in my working copy ;) 12:32
pugs_svnbot r17574 | pmurias++ | kp6: added files i didn't commit last time
diff: dev.pugscode.org/changeset/17574
lambdabot Title: Changeset 17574 - Pugs - Trac
renormalist pmurias: ok, I got your msgs. 12:34
fglock brb & buy food & 12:35
renormalist pmurias: The build problems seemed like as the the generated runtime under lib5 seems to be used also during compile time.
pmurias: can this be possible?
pmurias it is it the sad reality 12:36
renormalist pmurias: and is this wanted?
pmurias: or is it a bug?
pmurias it's a feature but i'm thinking how to make it work differently 12:37
renormalist pmurias: I didn't find the spot where it is included. Can you say me a file/line or where an accorind -Ilib5 appears. Then I might understand that better. 12:38
fglock mp6 allowed you to build to another place, test it and then copy to lib5
pmurias renormalist: looking 12:39
fglock renormalist: kp6-perl5.pl has a 'use lib' that makes the -Ilib5 thing
pmurias renormalist: kp6 has to load the compiled p6 files to have them accesible in BEGIN blocks 12:41
it's done from MOP.pm included in term from Runtime.pm
ruoso lunch & 12:42
renormalist fglock: ah, I now see the use lib lib5 12:43
pmurias: Ok, so I think what I did in MOP to dynamicall require the available runtime classes only fixes the immediate problem of not beeing able to load MOP to compile again. 12:44
pmurias: maybe it would be better to have some kind of a "make revert_to_ok_state" to re-initialize once things went wrong 12:45
pmurias: I sometimes used svn revert of the lib5 subdir, but it didn't work for my newly created classes. and was annoying anyway. 12:46
timbunce Does kp6 support "use perl5:DBI;", or something similar? 12:47
pmurias renormalist: you think rightly
timbunce: it does
use DBI:from<perl5>
see examples/sdl
timbunce how does it compare with pugs?
(for the perl5 interface, I mean) 12:48
12:49 penk joined
pmurias the kp6 version only handles oo oriented modules right know 12:49
timbunce I want to access the perl5 JDBC module and extend java2perl6 to automatically create the glue between the two, so the perl6 will have a working (albeit slow) JDBC API. 12:51
pmurias i see
i haven't used the pugs api at all, and only tested the kp6 one with SDL after writing, so i don't know how to compare them 12:52
*writing it
timbunce I need to choose to work with pugs or kp6.
Since pugs is failing to run even the demo code on the wikipedia page I guess I'll give kp6 a whirl...
pmurias the API should be enough if you can get past kp6 limitations 12:53
s/API/p5 interface/ 12:54
i can extend it if you need anything in particular
timbunce Thanks. is there some handy doc or presentation to get me started with kp6?
masak timbunce: if you ask me, it's fairly serious that the wikipedia demo code doesn't run. I thank you for bringing this to our attention, and I hope to be able to look into it shortly 12:55
timbunce May just be a local problem. Can you reproduce it? 12:56
12:56 fglock_ joined