svn switch --relocate svn.openfoundry.org/pugs svn.pugscode.org/pugs/ | run.pugscode.org | spec.pugscode.org | paste: sial.org/pbot/perl6 | pugs.blogs.com
Set by avar on 16 November 2006.
00:00 rafl joined 00:12 explorer joined
TimToady audreyt: thanks! I have to have my -Ofun too, ya know. :) 00:13
00:14 SamB joined 00:20 weinig is now known as weinig|food 00:40 diotalevi joined 00:45 mah` joined 00:54 nipotaway is now known as nipotan 01:08 _Jack_ joined 01:22 hexmode joined 01:49 b00t joined
dduncan I am also happy with that overhaul of file-test operators ... I never liked their -foo form 01:55
02:16 mdiep_ joined 02:27 putter joined
putter didn't *mean* to start a long thread about Inf... 02:29
audreyt TimToady: one of the tests had 02:30
02:30 weinig|food is now known as weinig|bbl
audreyt $file ~~ :s > 42 02:30
unfortunately, that is now chaincomp 02:31
and eval as
$file ~~ :s and :s > 42
which is false
unintended consequence?
allbery_b saw that go by and is somewhat glad the stupid parser issues are hopefully history now 02:32
frustrating
putter re Inf, spec is IEEE. and customization is needed because IEEE has had slosh, and because not everything has been IEEE.
(but I was just asking a question about perl 5 existing implementation pragmatics) 02:33
gaal: pong.
gaal: replied. no problem.
ashleyb: see svn.pugscode.org/pugs/misc/pX/Commo...ex_engine/ especially README. 02:36
lambdabot Title: Revision 15164: /misc/pX/Common/yet_another_regex_engine, tinyurl.com/2d96yh
putter Code is buried down in svn.pugscode.org/pugs/misc/pX/Commo...ModuleA.pm as is p5 current (unfortunate imho) practice.
lambdabot tinyurl.com/2fyhqj
ashleyb putter: thank you 02:39
putter goals: create a usuable p6 regex engine - we need one; create the first non-pugs parser - the pace of pugs's parser development is holding us up a bit; ideally have something which could be transliterated from p5 to p6 to get the parser part of a p6 implemented in p6.
support parser development. 02:40
I think that's about it.
Written in p5. I try to keep a "ways one can help" at the top of the README.
There is also the main pugs "ways you can help" in svn.pugscode.org/pugs/project_planning/TASKS 02:41
ashleyb looking... 02:43
putter history: the code is basically just the regex engine from the... Jan '06(?) regexp_engine_and_parser_spike, which got cleaned up slightly in... Fall '06? in the hope of making it more usable/attractive, and then overhauled with a new ast (instead of japhy's Regexp::Parser) starting a few days ago. 02:45
02:45 dmq joined
ashleyb what's wrong with fglocks Pugs::Compiler::Regex? 02:45
putter slow. 02:46
ashleyb I've been using that in production for a few months now (though I've got a few bugs I've been working around)
k
putter neat! it would be interesting to hear of your experiences.
The cleanup was done in the hope that PCR might switch backends, but no one had the tuits or interest or something. 02:47
ashleyb my needs are more for ease of implementation and of maintainability over speed 02:48
so I chose P::C::R over regular perl 5 regexs
(all my code is in perl 5)
but yes I do find it slow, but tolerable for what I want. 02:49
02:49 pjcj joined
ashleyb the funny bug with it is, is that instead of crashing (or throwing an error) it always hangs. 02:50
putter good. i imagine at some point it will simply start running faster.
ashleyb which makes debugging interesting, but once you get the knack you can figure it out
putter ah. :/ hopefully that will improve too. 02:51
audreyt TimToady: I'm going to assume that :d>10 will eventually raise a warning somehow and goahead committing the implementation.
ashleyb putter: so how does P::C::Regex and yet_another_regex_engine go together? is there something different of value in each? 02:53
putter: that they can be combined at one point?
putter ashleyb: if you were interested in helping out this evening, I'm curious where the computes are going, but I think I'll spend tonight nudging the % test coverage up a bit. If you wanted to run a profile...
PCR runs p6 regex, yare only knows about p5 so far. 02:54
ashleyb a profile of PCR?
putter PCR's emitters could be changed to use the yare engine core (backtracking protocol, anonymous subs, and their factories) 02:55
a profile off yet_another 02:56
re combined, perhaps. p6 is largely a bootstrapping game. given n parts sort of working, how can we puzzle them together to make progress. 02:57
re profile, eg dprofpp or whatever on perl lib/Regexp/Module.pm --test 02:59
ashleyb how do I get the yet_another code? 03:01
putter eg, pwd misc/pX/Common/yet_another_regex_engine; perl -d:DProf lib/Regexp/ModuleA.pm --test > deleteme; dprofpp ...
do you have a copy of pugs?
ashleyb nope. 03:02
putter have you used svn or cvs?
ashleyb cvs a long time ago.
p4 mostly now
no svn/svk
03:03 svnbot6 joined
putter basically just $ svn co svn.pugscode.org/pugs/ 03:03
lambdabot Title: Revision 15164: /
putter (someone check me on that)
ashleyb hmmm that seems to be working :D 03:05
tene you're right.
putter then if you express even the slightest interest, someone give you a commit bit (to write back to the repository)
tene Just as a warning, any response to that statement might be considered interest in having a commit bit. 03:06
putter lol :)
so true
ashleyb I think I had one once -- but I'll ask again as soon as I have something to check in.
tene Accidentally using an anagram of "commit" or "patch" can get a commit bit in your inbox.
ashleyb haha
03:07 mdiep joined
allbery_b looking at the word "commit" or "patch" can land you a commit bit around here... 03:07
SamB heh
but, you can't get a commit bit in your inbox without someone at least knowing your email address, can you? 03:08
SamB is safe because he already has one
ashleyb the password is another matter...
:)
putter from the top of README: prove ... tests and provides a nice summary; --test lets you watch the individual tests go by; and --repl lets you interactively play. 03:11
svnbot6 r15165 | audreyt++ | * Filetest operators are now removed; use smartmatch against Pairs instead:
r15165 | audreyt++ | -e 'README'
r15165 | audreyt++ | !-e 'README'
r15165 | audreyt++ | becomes:
r15165 | audreyt++ | 'README'~~:e
r15165 | audreyt++ | 'README'~~:!e
03:15 fglock joined
ashleyb ok done check out. 03:16
fglock hi
putter oo, wow. -e gone away. it's been a lot of years. a moment of quiet contemplation.
ashleyb hi :D
putter hi fglock :)
ashleyb putter:ok so how do I run the profiler? 03:17
\
putter man dprofpp? 03:18
ashleyb where is lib/Regexp/Module.pm 03:19
putter if you haven't looked at profiler output before, it can be rather a learning curve.
ashleyb do I need to do a make?
putter don't need make. just cd misc/pX/Common/yet_another_regex_engine 03:20
03:27 justatheory joined
fglock update on kp6: lexical subs, metaclass, and env work; I'm now trying some possible container implementations 03:31
03:33 mdiep joined
putter :) 03:34
pasteling "ashleyb" at 66.201.51.66 pasted "bug in yet_another_regex_engine --test" (3 lines, 338B) at sial.org/pbot/22774 03:35
putter a month can't have passed already... are you still on vacation, but typing... (like audreyt's sleeping but committing;) 03:36
oh, there are a whole lot of bugs in --test, that's the current exercise... :) 03:37
fglock putter: I came back to the city for a wedding - I'm travelling again tomorrow :)
ashleyb ah -- so fix the bugs and get the profile...? 03:38
03:38 REPLeffect joined
putter fglock: ah. enjoy. 03:39
ashleyb: probably most efficient for me to fix stuff. though feel free. warn me and I'll sync more often than once an evening. if you wanted to profile it now, it's running slower than I expected, and am curious where the time is going. 03:41
though for a first task (and a commit bit:), you might look at the project_planning/TASKS list. some of those have much lower barriers to entry than doing a profiling exercise of code you haven't seen before. 03:43
ashleyb what's svn for sync?
(i.e. how do I sync in svn?)
tene svn up
to send changes back, use 'commit' 03:44
'up' is short for 'update'
putter re bugs, thanks for reminding me, i meant to edit README to mention the objective is 100%, or no worse than the underlying p5 implementation version. older versions, more re_tests failures. as we'll keep updating re_tests from the most recent p5.
there's something about s/\\([\\\'])/\\\\$1/g I just find humorous. 03:47
re 'commit', neat, didn't know that. I always use svn ci 03:49
ashleyb putter: it's about 8PM here. and I've gotta decommute, so maybe I'll catch you tomorrow. I've got revesion 15165 -- but it doesn't seem to give me any changes to misc/pX/Common/yet_another...
(when I svn up)
& 03:51
putter goodnight 03:52
err, s/\\([\\\'])/\\\\\\$1/g; sigh 03:57
wolverian audreyt++ # hacking in absentia 04:06
04:08 REPLeffect_ joined 04:11 araujo_ joined 04:12 araujo joined
putter oh, fussbucket. I'd forgotten you don't know what \10 is without nonlocal info. 10 preceding captures, it's a backref, else, a char. sigh. 04:25
04:29 mako132_ joined 04:40 nipra joined
dduncan fyi, while I 'make' new pugs versions semi-daily, I haven't smoked for months, so I started one now ... 04:59
allbery_b thinks that backref thing is a serious wart 05:00
putter p5
a very old and wrinkled wart 05:01
allbery_b yeh
putter with a reason for being too
dduncan hm, I notice that a lot of tests are spitting out "# Actual: undef" but no "Expected" lines
allbery_b that's been true ever since I started with pugs 05:02
putter ok() vs is() perhaps?
05:06 amnesiac joined 05:08 Daveman joined
svnbot6 r15166 | putter++ | misc/pX/Common/yet_another_regex_engine - very minor progress. p5 re_tests at 82% ok (only a few % up from yesterday). Even slower. As always, see README. 05:08
putter good night all & 05:20
05:21 shay joined 06:13 spo0nman joined 06:14 BooK_ joined 06:25 jamhed joined 06:34 justatheory joined, ProperNoun joined 06:42 rfordinal joined
TimToady audreyt: I'm wondering whether the base form is not .TEST(:X) but just .:X and we simply allow a type to define methods starting with : 06:43
alternately, just make .:X a shorthand for .TEST(:X)
then we don't have a precedence problem with $x.:s > 1024 06:44
or maybe there's some other way to map a pair test to methodname space. 06:46
the .TEST(:X) approach would tend to encourage people to use switch statements.
the method :X approach would of course encourage method defs instead 06:47
the latter would require a CANDO thing if you wanted to handle arbitrary pairs, while .TEST could handle that more easily.
another possibility is :s(1_000_000..*) selectors, but that doesn't work so well for <=> comparisons 06:50
06:53 CardinalNumber joined 07:05 ayrnieu joined
dduncan the smoke of r15165, repository snapshot / darwin is now done, taking about 117 minutes using 4 threads on 2 CPUs ... result is 98.27% ... 17717 test cases: 17411 ok, 306 failed, 4498 todo, 706 skipped and 0 unexpectedly succeeded 07:24
er, that's the default Haskell backend, I believe 07:25
07:32 iblechbot joined 07:53 leed joined 08:01 mncharity joined
mncharity @tell fglock People have been asking for ways they can help. Any suggestions? 08:02
lambdabot Consider it noted.
08:08 nipra joined 08:26 lisppaste3 joined 08:35 DebolazY joined 08:36 buetow joined 08:43 devogon joined 08:55 marmic joined 09:08 Grrrr joined 09:10 Grrrr joined
svnbot6 r15167 | lwall++ | More ~~. 09:21
r15167 | lwall++ | More whitespace around ~~.
r15167 | lwall++ | Several eval'd tests of .:X syntax
09:22 drrho joined 09:50 BooK joined 09:51 ofer0 joined 10:06 chris2 joined 10:21 ruoso joined 10:26 drupek12167 joined 10:50 kisu joined 10:54 dduncan left 11:07 ProperNoun joined 11:08 elmex joined 11:09 explorer joined 11:14 nipra joined 11:22 nipotan is now known as nipotaway 11:32 chris2 joined 11:40 IllvilJa joined 11:52 iblechbot joined 11:57 DHGE joined 12:14 CardinalNumber joined 12:42 ProperNoun joined 12:49 elmex joined 12:56 takanori joined 13:32 orafu joined
IllvilJa Hello, I know that Perl6 is under development but what is the situation of processing XML docs under Perl 6? Are there any XML modules available in, say, Pugs? 13:37
wolverian you can use perl5 modules from pugs - 'use perl5:XML::LibXML;' for an example. 13:39
IllvilJa Oh! That sounds delicious!
I'll give it a try then.
Thanks for the help!
wolverian you're welcome :)
13:56 foo\ joined 14:11 bonesss joined 14:12 bonesss joined 14:42 [particle] joined 14:58 coke joined
coke waves. 14:58
14:59 coke is now known as Coke
ayrnieu coke waves? Only on Planet Coca-Cola! 14:59
15:15 CardinalNumber joined
Coke So, how close is @larry to finalizing the spec? =-) 15:20
cognominal babel easel 15:24
oops
15:24 rindolf joined
rindolf Aloha everyone. 15:24
I mistakenly thought that the NL hackathon is today, rather than a month from now.
But the good guys on #parrot corrected me.
BooK rindolf: yes, it's march 2-4 15:28
rindolf BooK: yes, I know now.
We might have another hackathon in Israel sometime as well.
BooK do you plan to come?
rindolf BooK: to the NL hackathon? 15:29
BooK oh, yes, isreal may be a bit far :)
rindolf BooK: not for me, I live here.
BooK I meant, Israel is a bit far from NL for you to come
rindolf BooK: yes. 15:30
15:30 GabrielVieira2 joined
BooK not much people registered yet, for the NL hackathon 15:30
rindolf BooK: well, I just started a new job, so I'm not sure if they'll be fond of me taking a trip for a few days so soon. 15:32
15:36 kanru joined
BooK yeah, if there are plans for one in israel, it's certainly simpler to go to that one 15:38
I also start a new job, but it's in Amsterdam :-)
rindolf BooK: doing Perl? 15:41
BooK yep 15:42
15:47 GabrielVieira2 is now known as GabrielVieira 15:49 bonesss joined
rindolf BooK: nice. 15:50
15:52 hexmode joined 15:57 Coke joined 15:58 mdiep joined 16:02 vel joined, Coke_ joined 16:07 ProperNoun joined 16:30 nipra joined 16:38 IllvilJa left 16:43 bones_ joined 16:45 bones_ joined 16:53 explorer joined 16:55 ashleyb joined
gaal @tell putter we moosed a connection and all's well, expect 1.02 up soon, and 2.0 RSN 17:00
lambdabot Consider it noted.
17:01 mako132 joined 17:05 thepler joined 17:23 bernhard joined 17:42 vel joined 17:43 justatheory joined 17:57 xinming joined 18:03 penk joined 18:07 amnesiac joined 18:22 elmex joined 18:48 PartclCoke joined 19:03 bones_ is now known as bonesss 19:07 buetow joined 19:12 bonesss is now known as bonesss`away 19:16 IllvilJa joined 19:26 ruoso joined 19:33 Caelum joined 19:38 polettix joined 19:43 jisom joined, Ringo joined 19:44 Ringo left 19:47 jisom joined 19:48 justatheory joined 20:05 neonse joined 20:17 weinig|bbl is now known as weinig 20:40 rashakil_ joined 21:03 GabrielVieira2 joined 21:07 weinig is now known as weinig|bbl 21:09 Aankhen`` joined 21:27 GabrielVieira2 is now known as GabrielVieira 21:28 devogon joined 21:32 Schwern joined 21:39 buubot joined 21:40 explorer joined 21:54 justatheory joined 22:12 eden_c joined 22:16 thepler joined 22:21 dduncan joined 22:23 eden_c left 22:41 whitesuit joined 22:42 whitesuit left 22:52 bonesss joined 22:53 prism joined 23:01 nipra joined 23:14 CardinalNumber joined 23:15 Psyche^ joined 23:23 Psyche^ is now known as Patterner 23:26 justatheory joined 23:29 mr_ank joined 23:30 shay joined 23:45 Psyche^ joined 23:53 jferrero joined, explorer joined 23:56 Aankhen`` joined