pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] Set by diakopter on 25 June 2007. |
|||
00:08
diakopter_afk is now known as diakopter
|
|||
Limbic_Region | salutations diakopter | 00:10 | |
diakopter | thanks :) u2 | 00:12 | |
00:12
bonesss joined
|
|||
diakopter experiences a UTF8 bug in the bash/ssh/bash/screen/irssi combo | 00:14 | ||
00:19
buetow joined
|
|||
diakopter | Limbic_Region: in what browser/OS were you seeing the 500s on cgiirc? | 00:23 | |
Limbic_Region | WinXP home with FireFox | 00:24 | |
WinXP profession with IE | |||
still getting them btw | 00:25 | ||
diakopter | can you PM me the url you're trying? I'm not seeing the 500s | 00:28 | |
curious - are you using https? | |||
00:29
diakopter6 joined
|
|||
diakopter6 | from cgiirc. hi | 00:29 | |
00:30
weinig joined
|
|||
diakopter6 | EWORKSFORME | 00:30 | |
Limbic_Region | sorry | ||
was AFK | |||
feather.perl6.nl/irc/ | |||
diakopter | ah :) | ||
00:31
cognominal_ joined
|
|||
diakopter | well I guess it would help if we were using the same URLs. :) | 00:31 | |
Limbic_Region | that IS the url that is advertised | ||
diakopter | heh; :) | ||
Limbic_Region | if you are using a different URL then the front page should be updated | ||
feather.perl6.nl/ -> see the link for IRC chat | |||
lambdabot | Title: Perl6 Community Development Server | ||
diakopter | k | ||
I found the url by looking for irc.cgi on the filesystem and cetera | 00:32 | ||
an url, I mean | |||
Limbic_Region | *shrug* - it did stop working all of a sudden on Friday | 00:34 | |
diakopter | yeah | 00:37 | |
my fault I'm sure, since I scrapped the PAM auth | |||
Limbic_Region | when I first reported the problem to Juerd some time ago, he told me there were two issues, one with HTTPS and the other with PAM | ||
one was fixed relatively quickly (the HTTPS) | 00:38 | ||
avar found a use for p5 subs.pm | |||
Limbic_Region | the second was fixed in a day | ||
and it worked for a few days | |||
then on Friday, it just stopped working | |||
diakopter | yeah, cuz while it appeared to be working it was still throwing lots of errors | 00:39 | |
00:43
jedai joined
|
|||
Limbic_Region | well I don't know how many folks here use it other than me so it might not be much of a big deal | 00:43 | |
diakopter | please try feather.perl6.nl/cgi-bin/cgiirc/irc.cgi | 00:49 | |
just to confirm it works there for you as well | |||
Limbic_Region | in a sec | 00:50 | |
00:51
LimbicRegion joined,
LimbicRegion is now known as Limbic_Region
|
|||
Limbic_Region | daughter turned off the wireless card | 00:52 | |
but yes, it works | |||
01:05
LimbicRegion joined
01:11
_iShock joined
01:26
vel joined
01:30
daxim_ joined
01:46
ChanServ sets mode: +o diakopter,
diakopter sets mode: -o diakopter
01:57
ProperNoun joined
01:58
rlb3 joined
02:05
Limbic_Region joined
|
|||
dduncan | so my smoke all worked with the clean pugs checkout plus clean perl 5.9.5 ... and the change I made re smoker.yml caused no problems that I'm aware of | 02:24 | |
02:26
diakopter is now known as diakopter_afk
02:35
fglock joined
03:08
teratoma left
03:23
agentzh joined
|
|||
agentzh | audreyt++ # did what i wanted to do :) | 03:23 | |
lambdabot | agentzh: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
agentzh | avar said "tell @agentzh " yesterday and it certainly didn't work ;) | 03:25 | |
@messages | |||
lambdabot | avar said 5h 55s ago: You need to check in PCR inc/Test/* stuff into svn, or all the inc/ stuff | ||
agentzh | avar: already checked in as pugs' inc/ | ||
avar | that's moved into pcr's? | 03:26 | |
agentzh | avar: i'm guessing you only checked out PCR | ||
without checking out the whole pugs tree | |||
avar: it's something like "use Module::Install '../../inc'" in PCR's Makefile.PL | 03:27 | ||
avar: re compile_p6grammar.pl | 03:28 | ||
it currently treats regex {...} and rule {...} as token {...} and i'm going to change that. | |||
sigh...slept too late last night...still quite sleepy... | 03:30 | ||
pugs_svnbot | r16893 | Aankhen++ | trunk: | ||
: * [irclog] couple more abbreviations. | |||
diff: dev.pugscode.org/changeset/16893 | |||
lambdabot | Title: Changeset 16893 - Pugs - Trac | ||
agentzh | dduncan: so you have changed .smoker.yml to smoker.yml? okay, i'll update it on feather for auto-smoke... | 03:31 | |
dduncan | yes | ||
agentzh | k | 03:32 | |
personally i quite like this change | |||
since "ls" hides .smoker.yml... | |||
03:32
pifuruan joined
|
|||
dduncan | assuming your Pugs is up to date, all the files save that one wouldn't need changing | 03:32 | |
my own smoke worked after the committed changes, and that 1 file rename | 03:33 | ||
pifuruan | hi | ||
agentzh | dduncan: my pugs tree on feather is aways up-to-date ;) | ||
dduncan | atta | ||
agentzh | pifuruan: hi | ||
pifuruan | what is pubs? | 03:34 | |
pugs | 03:35 | ||
lidden | pugscode.org/ | ||
lambdabot | Title: Pugs - pugscode | ||
agentzh | dduncan: smoker.yml can be confused by smoke.yml, btw | ||
dduncan: we're already using smoke.yml for storing smoke results | 03:36 | ||
dduncan | I considered that ... perhaps it should be renamed to smoker_config.yml then? | ||
agentzh | dduncan: maybe smoker.conf.yml? | ||
heh | |||
dduncan | I considered that earlier, but for now went for the smaller delta | ||
question is, is smoker_config or config_smoker better? | |||
the former would sort next to config.yml | |||
alternately, can't those files be merged? | 03:37 | ||
config.yml already has smoke config in it | |||
agentzh | reasonable | ||
dduncan | smoke_concurrent | ||
agentzh | yeah, why not? | ||
dduncan | that would probably work best ... but it would be more onerous to get right, so I don't want to be the one to attempt that | ||
agentzh | dduncan: commits welcome :) | ||
pifuruan | Pugs is an implementation of Perl 6, written in Haskell. It aims to implement the full Perl6 specification, as detailed in the Synopses. For more information, please see the overview and this interview. | ||
agentzh | pifuruan: right | 03:38 | |
dduncan | that is, I can rename the smoke file again, but doing the merge I would have concerns about | ||
agentzh | dduncan: understood | ||
pifuruan | so where can i get "the full specification | ||
of perl6 | |||
agentzh | pifuruan: perlcabal.org/syn | ||
lambdabot | Title: Official Perl 6 Documentation | ||
pifuruan | tks | ||
agentzh | pifuruan: you're welcome | ||
pifuruan | thank u very much,man, | 03:39 | |
agentzh | pifuruan: let us know if you do like a commit bit | ||
dduncan: smoker.yml is not that terribly bad. i'll stay with it for now | |||
pugs_svnbot | r16894 | Aankhen++ | trunk: | ||
: * [irclog] took a shot at preserving whitespace. | |||
diff: dev.pugscode.org/changeset/16894 | |||
lambdabot | Title: Changeset 16894 - Pugs - Trac | 03:40 | |
dduncan | okay | ||
pifuruan | i am so sorry, i am chinese ,forgive my poor English,so what is commit bit | ||
agentzh | pifuruan: are you? me too :) | ||
pifuruan | ōæ½xD0ōæ½xD2ōæ½xBBōæ½xE1 | ||
agentzh | pifuruan: the commit bit allows you to update the pugs subversion repository | 03:41 | |
pifuruan | i like it | ||
agentzh | ( svn.pugscode.org/pugs ) | ||
lambdabot | Title: Revision 16894: / | ||
agentzh | pifuruan: /msg me your email address, and i'll try to send one to you | ||
pifuruan | [email@hidden.address] | 03:42 | |
agentzh | k, a sec | ||
pifuruan | thks | ||
dduncan | pifuruan, try setting your irc client to utf8 text encoding if you can, for better compatibility when sending non-ascii characters | ||
for that matter, all Pugs repo files are utf8 | |||
the text ones anyway | 03:43 | ||
pifuruan | ok,i will try | ||
agentzh | pifuruan: what user name would you like for your commit bit? | ||
pifuruan: hanson? | 03:44 | ||
pifuruan | ok | ||
agentzh | k | ||
sending | |||
pifuruan | i will check now | ||
agentzh | commitbit is not so fast though... | 03:45 | |
my page is still loading...sigh... | |||
pifuruan: please let me know if you already get the mail | 03:46 | ||
pifuruan | i am afraid not yet | ||
agentzh | commitbit-- | 03:48 | |
pifuruan | i havn't got ur mail | ||
agentzh | could anyone here send one to him? | ||
agentzh gives up. | 03:49 | ||
TimToady | I will try. | ||
agentzh | wow | ||
pifuruan | I love all guys here | ||
agentzh | TimToady++ | ||
pifuruan | [email@hidden.address] | 03:50 | |
TimToady | it thinks it has sent you an invitation | 03:54 | |
pifuruan | ok,i received mail from audrey | ||
agentzh | pifuruan: actually you've received a mail from lwall | 03:56 | |
or his bot | 03:57 | ||
;) | |||
TimToady | ę¬¢čæļ¼ | ||
dduncan | pifuruan, so it is customary to add your name to the AUTHORS file as your first commit ... and it is a utf8 file | ||
I saw that encoded correctly! | |||
agentzh 2 | |||
pifuruan | hh | ||
TimToady | assuming simplified is correct here, and not ę”čæ | 03:58 | |
dduncan | well, I just mean it didn't look like garbage | 03:59 | |
plus 'incompatible encoding' notice | |||
agentzh | TimToady++ # a Chinese guy | ||
TimToady | I don't suppose "huan1 ying2" would do you any better... | ||
agentzh | PinYin is very hard to read for even native CN speakers. | 04:00 | |
like "huan1 ying2" | |||
TimToady | but dduncan has a slightly better chance of knowing how to pronounce it. | ||
agentzh | TimToady: *nod* | 04:01 | |
TimToady | though you'd have to know the tones to really do it right | ||
agentzh | exactly | ||
TimToady | dduncan: tone 1 is high, then drop a bit on tone 2 | ||
agentzh | lol | ||
TimToady | I mean, other way | ||
dduncan | I don't actually know much about this | ||
if anything, TimToady should know a lot more about it than dduncan does | 04:02 | ||
agentzh | tone 2 is like "huh?" while tone 1 is like "yayyyyyyyyyy" | 04:03 | |
TimToady | mostly don't know much yet except some of the characters; mostly coming at it from the direction of japanese kanji | ||
agentzh | TimToady: it's already good enough :) | 04:04 | |
TimToady | 儽čÆ“ć | 04:05 | |
agentzh | ...... | ||
pifuruan slaps agentzh around a bit with a large trout | 04:06 | ||
TimToady | or maybe äøę¢å½ is more appropriate | ||
agentzh | heh | ||
it's amazing... | |||
TimToady | yep, grep is pretty amazing... :) | ||
pifuruan | timTOady, where are u now | 04:07 | |
TimToady | Mountain View, California. | ||
pifuruan | o | ||
clkao | TimToady: do you know "ēäŗŗ" ? | ||
TimToady | cow person? | 04:08 | |
clkao | ya | ||
pifuruan | ōæ½xB9ōæ½xFEōæ½xB9ōæ½xFE | ||
TimToady | not in my dictionary, alas | ||
clkao | i shall let the chinese folks explain, the phrase is getting popular in taiwan too | ||
and i should go to bed | |||
agentzh | TimToady is a ēäŗŗ | ||
clkao | agree | 04:09 | |
agentzh | clkao: go to bed *now*? | ||
clkao | it's 5am here | ||
agentzh | clkao: okay, you're not in .tw... | ||
TimToady | yow, and thought I was late for supper... | ||
agentzh | ēäŗŗ == a smart person with amazing skills | 04:10 | |
TimToady | so ēé¼ also works | 04:11 | |
(when grep fails, there's google...) | |||
agentzh | LOL | ||
TimToady | that character doesn't occur much in japanese. "walk" and "fulljar" in my radical naming system. | 04:12 | |
actually, Xwalk, since it only has one tick on top | |||
agentzh | TimToady: is that system open-sourced? | ||
TimToady | vaguely, but I'm still refining it, and need to refactor the whole thing | 04:14 | |
agentzh | i heard it was originally written in Perl 6 :) | ||
(iirc) | 04:15 | ||
TimToady | I tried translating to p6 once a long time ago, but unicode was really slow back then | ||
been kinda waiting for things to speed up before I try again | |||
agentzh | hopefully fglock's kp6 will get that point before you decide to try again ;) | 04:16 | |
TimToady | also need to get a font that supports all the extra character in plane 1 and annotate them like I did all the CJK area... | ||
all 20900 characters... | 04:17 | ||
agentzh | oh, so coooooool | ||
TimToady | that...took a while... | ||
turns out there's about 3000 different radicalish things, if you count anything that's either repeated more than 5 times or is used as a partial character but is a complete character elsewhere | 04:18 | ||
agentzh | that's interesting :) | 04:19 | |
agentzh decides to make a CPAN release for PCR. | 04:25 | ||
avar | agentzh: what namespace do you think generated grammar stuff should be in? | 04:29 | |
Pugs::Grammar::*? | |||
agentzh | no | ||
avar | like just some random parser.. | ||
agentzh | grammar Foo; just generates package Foo | 04:30 | |
each package is derived from Pugs::Grammar::Base | |||
avar | I mean practically, as a upload-to-cpan thing | ||
agentzh | but it's not necessary if the user doesn't want <ident> or some such | ||
avar: upload to cpan for other cpan modules | |||
? | |||
avar: or a component in PCR itself? | 04:31 | ||
avar | I mean uploading modules generated with PCR | ||
agentzh | avar: i think it's arbitrary | ||
avar: in fact i'm going to regenerate my Makefile::Document::Gmake with compiler_p6grammar.pl | 04:32 | ||
no namespace standard is needed here, i think. | |||
Pugs::Grammar::* are for PCR only | |||
lunch & | 04:33 | ||
avar | aw forget it | ||
04:34
rashakil left
|
|||
pugs_svnbot | r16895 | Darren_Duncan++ | trunk: | 04:58 | |
: ext/Muldis-DB/ : fleshed out Grammar.pod, updated Core.pod, other minor edits | |||
diff: dev.pugscode.org/changeset/16895 | |||
lambdabot | Title: Changeset 16895 - Pugs - Trac | ||
pugs_svnbot | r16896 | Darren_Duncan++ | trunk: | 05:04 | |
: ext/Muldis-DB/ : minor bug fix in Grammar.pod | |||
diff: dev.pugscode.org/changeset/16896 | |||
lambdabot | Title: Changeset 16896 - Pugs - Trac | ||
05:10
diotalevi joined
05:12
hakobe is now known as hkb_aw
|
|||
diotalevi | so this is neat. If you teach File::Next that things readable by Archive::Extract are directories, you can use ack on CPAN. | 05:13 | |
05:13
diotalevi is now known as jjore,
justatheory joined
|
|||
dduncan | izzatso? | 05:18 | |
the joys of abstraction | 05:20 | ||
pasteling | "agentzh" at 222.45.13.33 pasted "Why this p6 grammar is looping?" (16 lines, 321B) at sial.org/pbot/26105 | 05:50 | |
agentzh | avar, fglock: any clue? | 05:53 | |
05:54
weinig joined
|
|||
agentzh | sigh. it takes forever to commit... | 05:56 | |
& | 05:57 | ||
05:57
agentzh left
06:01
xinming joined
06:03
agentzh joined
|
|||
TimToady | agentzh: why do you have curlies around the "our"? | 06:09 | |
agentzh | TimToady: because...because...it's a syntax | 06:10 | |
i just want to make the grammar parser simpler to implement | |||
those blocks are considered "global actions" | 06:11 | ||
or "global code blocks that are directly passed to the generated file" | |||
TimToady | but $Count won't be visible as a lexical name | 06:12 | |
if it's inside {...} | |||
if it works at all, it's because it's a package var and strict is off | |||
agentzh | TimToady: the curlies are removed by the emitter :) | ||
TimToady: i know that is a big confusing... | |||
*bit | 06:13 | ||
TimToady | well, it's just not Perl 6, is all... | ||
agentzh | TimToady: it's a mix of Perl 6 and Perl 5 | ||
just an odd grammar syntax designed specific for PCR | |||
*specifically | 06:14 | ||
;) | |||
TimToady | yeah, but you called a "p6 grammar" when you nopasted it, which led me to believe in was Perl 6... :/ | ||
*it | |||
agentzh | sorry for the confusion | ||
i should have called it "pcr grammar" or something like that :) | 06:15 | ||
hmm...can't commit any more today...it seems... | 06:16 | ||
TimToady | maybe you could make it a P5( our ... ) macro to avoid confusing other people later... | ||
agentzh | TimToady: great idea! | ||
06:21
agentz1 joined,
agentz1 is now known as agentzh_
|
|||
agentzh_ | or simply borrow yacc's syntax: "%{ ... %}" | 06:21 | |
TimToady | that would work, especially since p6 doesn't use %{ | 06:23 | |
agentzh_ | :) | 06:24 | |
06:25
Alias_ joined
|
|||
pugs_svnbot | r16897 | agentz++ | trunk: | 06:25 | |
: [PCR] | |||
: * added token "digit" to P::G::Rule2.pm and updated Rule.pmc accordingly | |||
: (one more test is passing now :)) | |||
: * Pugs::Emitter::Grammar::Perl5 - appended "1;" to each generated | |||
: package | |||
diff: dev.pugscode.org/changeset/16897 | |||
agentzh_ | i'd expect compile_p6grammar.pl be much faster than v6.pm for compiling p6 grammars (or PCR grammars) | ||
since it doesn't bother parsing perl 6 in actions (or closures) | |||
after chaning my IPs 3 or 4 times, svn ci finally works :) | 06:26 | ||
*changing | |||
yay | 06:27 | ||
06:27
Jameswf joined
|
|||
agentzh_ | the sadest thing for me is that i'm prevented from committing :) | 06:28 | |
Jameswf | I was committed once | 06:29 | |
agentzh_ | Jameswf: commits welcome!!! | ||
*saddest | |||
Jameswf | sometimea I code quick and dirty, I will do something and my IT guy is like WTF. cleans it up and breaks it. I say it wa oogily but it worked | 06:31 | |
i think my s is messed up | 06:32 | ||
pugs_svnbot | r16898 | agentz++ | trunk: | ||
: PCR - added examples/digits.grammar which doesn't work yet; it's looping...sigh | |||
diff: dev.pugscode.org/changeset/16898 | |||
lambdabot | Title: Changeset 16898 - Pugs - Trac | ||
agentzh_ | will change the syntax to %{ ... %} ... | ||
Jameswf: i like to code quickly too (but not the dirty part...) | 06:33 | ||
06:55
agentzh_ is now known as agentzh
|
|||
agentzh | changing {...} to %{...%} breaks the parser...will do later... | 06:56 | |
06:57
toshinor_ joined
|
|||
agentzh | heh, it finally works: token verbatim { '%{' ( [ <!before '%}'> . ]* ) '%}' } | 07:02 | |
07:04
hkb_aw is now known as hakobe
|
|||
agentzh | is anyone working on the parsec emitter for pcr? | 07:04 | |
if not, i'll skip t/11-parsec.t's tests by default | 07:05 | ||
it's annoying to see the errors everytime running 'make test' | |||
pugs_svnbot | r16899 | Aankhen++ | trunk: | 07:21 | |
: * [irclog] I am a lean, mean, abbreviation expanding machine. Or something. | |||
diff: dev.pugscode.org/changeset/16899 | |||
lambdabot | Title: Changeset 16899 - Pugs - Trac | ||
07:24
devogon joined
07:26
iblechbot joined
|
|||
agentzh | Aankhen++ | 07:29 | |
07:36
dduncan left
|
|||
pugs_svnbot | r16900 | agentz++ | trunk: | 07:43 | |
: [PCR] | |||
: * skipped the failing tests in t/11-parsec.t, t/14-mini_perl6.t, | |||
: and t/12-plain_regex.t | |||
: * added examples/digits.grammar which is looping...sigh... | |||
: * Rule2.pm: changed the global code blocks to %{ ... %} per TimToady++ | |||
diff: dev.pugscode.org/changeset/16900 | |||
r16901 | agentz++ | trunk: | 07:46 | ||
: PCR - added t/16-examples.t to test examples/*.grammar | |||
diff: dev.pugscode.org/changeset/16901 | |||
lambdabot | Title: Changeset 16901 - Pugs - Trac | ||
08:06
ashelyb_ joined
08:22
rho joined
08:27
elmex joined
08:30
elmex joined
|
|||
Jameswf | I wande if pizza_party can be addapted to papajohns | 08:31 | |
08:35
ashleyb joined
08:36
monomorph joined
08:37
elmex joined
08:46
elmex joined
09:11
iblechbot joined,
lixinso joined
09:24
chris2 joined
09:25
jedai joined
09:28
toshinori joined
09:35
toshinori joined
|
|||
pugs_svnbot | r16902 | agentz++ | trunk: | 09:43 | |
: [PCR] | |||
: - t/16-examples.t: generated .pm files within tmp/. | |||
: - added $VERSION to front-end modules like Pugs::Compiler::Regex, | |||
: and Pugs::Compiler::Grammar and raised it to 0.24. | |||
: - renamed ChangeLog to Changes. | |||
: - now developers should invoke 'Makefile.PL' as follows: | |||
: perl Makefile.PL releng | |||
: in releng mode, pugs' inc/ will not be reused. | |||
: - updated Changes to reflect recent changes. | |||
: - Makeile.PL - removed tmp/ and *.pm in 'make clean'. | |||
: - updated README with my 'releng' script. | |||
diff: dev.pugscode.org/changeset/16902 | |||
lambdabot | Title: Changeset 16902 - Pugs - Trac | 09:44 | |
pasteling | "evalbot_r16901" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26108 | 09:45 | |
agentzh | Pugs::Compiler::Rule 0.24 has been uploaded to CPAN :) | 09:46 | |
09:52
unobe joined
|
|||
agentzh | @tell fglock the old failing tests in t/11-parsec.t, t/12-plain_regex.t, and t/14-mini_perl6.t are skipped and 0.24 are released to CPAN :) | 09:54 | |
lambdabot | Consider it noted. | ||
meppl | good morning | 09:55 | |
agentzh | good afternoon! | ||
meppl | good afternoon agentzh | 09:56 | |
agentzh | :) | ||
unobe | good night :-) | 09:57 | |
agentzh | supper & | 09:59 | |
pugs_svnbot | r16903 | agentz++ | trunk: | ||
: PCR - CPAN release 0.24 | |||
diff: dev.pugscode.org/changeset/16903 | |||
lambdabot | Title: Changeset 16903 - Pugs - Trac | ||
10:10
unobe is now known as unobe_away
|
|||
devbot6 | dev: WikiStart edited by aharoni <dev.pugscode.org/wiki/WikiStart> | 10:20 | |
10:28
buetow joined
|
|||
pugs_svnbot | r16904 | agentz++ | trunk: | 11:06 | |
: PCR - added examples/langs.grammar (this file contains two grammars and the latter calls the subrules of the former and it works\!) | |||
diff: dev.pugscode.org/changeset/16904 | |||
lambdabot | Title: Changeset 16904 - Pugs - Trac | ||
pasteling | "evalbot_r16903" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26109 | 11:09 | |
pugs_svnbot | r16905 | agentz++ | trunk: | 11:18 | |
: PCR - prepends 'use strict; use warnings' to the .pm file generated | |||
diff: dev.pugscode.org/changeset/16905 | |||
lambdabot | Title: Changeset 16905 - Pugs - Trac | ||
11:20
franck__ joined
11:27
integral joined
|
|||
pugs_svnbot | r16906 | agentz++ | trunk: | 11:33 | |
: PCR - updates version number to 0.25 | |||
diff: dev.pugscode.org/changeset/16906 | |||
lambdabot | Title: Changeset 16906 - Pugs - Trac | ||
11:36
masak joined
|
|||
pugs_svnbot | r16907 | masak++ | trunk: | 11:54 | |
: [t/syntax/numbers/misc.t] | |||
: * corrected copy/paste bug | |||
: [t/builtins/arrays/slice.t] | |||
: * unbroke mid-testfile crash with a try block | |||
diff: dev.pugscode.org/changeset/16907 | |||
lambdabot | Title: Changeset 16907 - Pugs - Trac | ||
masak | I must say I was positively surprised by the last line in t/syntax/numbers/hexadecimal.t | 11:59 | |
see if somebody sees what I mean | |||
it says "is :16<DEAD_BEEF>, 0xDEADBEEF" | |||
I thought the old 0x syntax was dead, bereft of all life, pushing up the daisies | 12:00 | ||
if so, what's it doing in a test file? | |||
if not, why isn't it exercised more in the test file? :) | 12:01 | ||
12:04
rafl joined
|
|||
agentzh | yay! "rule foo { ... }" works now | 12:08 | |
masak | agentzh++ | 12:09 | |
agentzh | :) | ||
masak | how far are we really from 6.28.0? | 12:10 | |
masak longs for christmas :) | |||
Alias_ | Thursday | 12:12 | |
Of course, I'm not saying WHICH Thursday | |||
Really, I have no idea at all | |||
masak | seems 6.28's been around the corner for ages | ||
agentzh | for 6.28.x, we need audreyt ;) | 12:15 | |
masak | yes | 12:16 | |
Alias_ | And where's she lately? | ||
pugs_svnbot | r16908 | agentz++ | trunk: | ||
: [PCR] | |||
: - Pugs::Emitter::Grammar::Perl5 : set sigspace for "rule XXX {...}" | |||
: and calls the backtracking rule emitter for "regex XXX {...}". | |||
: - added tests to t/04-compiler-grammar.t for this. | |||
: - the ratchet rule emitter : saved the emitter params as special | |||
: comments in the generated code to help debugging. | |||
: - added some remaining issues to the TODO file. | |||
diff: dev.pugscode.org/changeset/16908 | |||
lambdabot | Title: Changeset 16908 - Pugs - Trac | ||
masak | Alias_: exactly... | ||
agentzh | she's been resting at home mostly. | ||
Alias_ | burned out? | ||
agentzh | Alias_: sort of | ||
Alias_ | I did real something about some sort of health thing | 12:17 | |
masak | yes | ||
hepatitis | |||
Alias_ | ouch | ||
which one? | |||
masak | don't remember | 12:18 | |
prolly not fun either way | |||
Alias_ | ya, but I think it might matter | ||
masak | might have been A | ||
?eval my @a = ^5; say @a[*-1]; | |||
12:18
evalbot_r16866 is now known as evalbot_r16908
|
|||
evalbot_r16908 | OUTPUT[0ā¤] Bool::True | 12:18 | |
masak | evalbot_r16908: nope | 12:19 | |
masak needs to stop the bad habit of saying 'say' to evalbot | |||
Alias_ | I really wish I had gotten cvsmonitor working on svn | ||
Would have made this whole "who's doing what" thing so much easier | |||
masak | Alias_: what does cvsmonitor do? | 12:20 | |
Alias_ | Let me see if I can find a working one | ||
In short though, it monitors cvs repositories | |||
masak | ya :) | ||
Alias_ | ali.as/cgi-bin/demo/stable/cvsmonit...OpenSource | 12:21 | |
There's a good example | |||
lambdabot | Title: CVS Monitor - Browsing Alias.OpenSource, tinyurl.com/258vby | ||
Alias_ | My open source coding, until I migrated it to svn | ||
Actually, that's boring | |||
Let me find you an interesting one | |||
ali.as/cgi-bin/demo/stable/cvsmonit...dule=E.e17 | |||
masak | nifty | 12:22 | |
Alias_ | Enlightenment :) | ||
lambdabot | Title: CVS Monitor - Browsing E.e17, tinyurl.com/chbtn | ||
Alias_ | That's a better idea of the interesting stuff that results | ||
masak | I wish I'd had that for my projects | ||
you were saying it doesn't work for svn? | |||
Alias_ | Nah, I never ported it | ||
masak | that's a shame | ||
Alias_ | It's a priorities thing | ||
masak | 'course | 12:23 | |
Alias_ | Someone else could, fairly likely | ||
I ended up working on PPI and PITA and CPAN upgrades and a 100 bazillion modules instead | |||
Neatest part though | |||
It worked as a CVS client | |||
So it doesn't have to run on the server, you can point it at anything you have anonymous read rights to | |||
masak | cool | ||
sounds like the Right Thing | |||
should be able to do the same thing with svn | 12:24 | ||
Alias_ | That second URL is "So WTF even happened to the Enlightenment Window Manager Anyways?" | ||
I already broken the repository back-end code up into a driver API | |||
I've | |||
So it's mostly a case of someone filling out the svn stubs | |||
And negotiating my horrible old-style CGI code | 12:25 | ||
I was asked to write a Perforce backend at one point | |||
But they never came through with the money | |||
Otherwise we could point it at the Perl 5 source :) | |||
masak | & # afk | 12:26 | |
agentzh | Alias_: neat | ||
Alias_ | Someone later wrote a commercial clone in Java that I believe supports SVN | 12:27 | |
Dunno if it does the "point it at other people's code" thing though | |||
agentzh | heh | ||
pointing it at pugs' code... | |||
Alias_ | which was always the killer feature for me :) | ||
pugs is in CVS? | |||
agentzh | svn | ||
Alias_ | meh | ||
If there's a svn2cvs around you can spit it into, I can do it though | |||
agentzh | GNU make's repos is in CVS though | 12:28 | |
Alias_ | Where's that? | ||
I'll add it now :) | |||
agentzh | @google GNU make | ||
lambdabot | www.gnu.org/software/make/ | ||
Title: GNU Make - GNU Project - Free Software Foundation (FSF) | |||
Alias_ | hmm | 12:29 | |
ok, adding it :) | |||
agentzh | Alias++ | ||
Alias_ | Man, it's old, but I love CVSMonitor still | ||
One of my favourite orphans | |||
agentzh | understood :) | ||
Alias_ | heh, I still remember the admin password too | 12:30 | |
agentzh | Alias_: your server is kinda slow on my side... | ||
Alias_ | CVSMonitor is kind of a resource hog | 12:31 | |
12:31
obvio171 joined
|
|||
Alias_ | REALLY | 12:31 | |
Like 200meg for those enlightenment pages | |||
agentzh | wow | ||
Alias_ | (ram) | ||
It's my test case for farging enormous repositories | |||
Takes over an hour to pull all the metadata | |||
agentzh | *impressed* | 12:32 | |
Alias_ | <-- kicks ass when he finds a good idea | ||
ok, repository self-tests ok and added | |||
Let me find out what module names they use | |||
agentzh | Alias_: i've also something with pugs's repos using svk | ||
Alias_: i'll show you the page... | |||
Alias_ | hang a sec, adding gnu :) | 12:33 | |
BTW, because it's such a heavy app, look at the bottom of the cvsmon page :) | |||
I actually had to add that warning | |||
agentzh | Alias_: perlcabal.org/agent/stats/report.html | ||
lambdabot | Title: report - ę°ę®ęęę„å | ||
Alias_ | My server got melted at one point | ||
agentzh | Alias_: you can ignore the chinese chars in it :) | ||
Alias_: it's a static page rather than a cgi | 12:34 | ||
Alias_ | ya | ||
Mine is sorta split | |||
agentzh | Alias_: "Please do not SlashDot this application" ? | ||
Alias_ | There's an admin backgrounded process that does metadata pulling and analysis | ||
And it generates a giant Storable structure | 12:35 | ||
And saves it | |||
agentzh | Alias_: *nod* | ||
it indeed costs a lot of resource... | |||
Alias_ | Storable is 95% of my process time :) | ||
Or something rediculous | |||
agentzh | Alias_: why not use RMDB? | 12:36 | |
Alias_ | RMDB? | ||
agentzh | sorry, i mean relational data base | ||
Alias_ | ah | ||
Because 1) Probably slower | |||
2) SQLite didn't exist at the time | |||
3) Circular and complex data structures | 12:37 | ||
agentzh | fair enough | ||
Alias_ | It just turned out the only easy way to do it was generate the huge object tree and storable it | ||
hmm | |||
the source browser is dead | |||
So I don't know what modules exist in the make cvs | |||
agentzh | ah | 12:38 | |
Alias_ | That was always one of the problems with cvs | ||
agentzh | modules? | ||
Alias_ | The fact you have to know the name of the modules in the repository | 12:39 | |
agentzh | it's odd | ||
Alias_ | There's not really an easy way to see them | ||
It's a legacy of it's design by accretion | |||
agentzh | hehe | ||
is svn suffering from the same problem? | |||
Alias_ | nah | ||
agentzh | good | 12:40 | |
Alias_ | svn fixes most of cvs' problems | ||
agentzh | svn++ | ||
Alias_ | Adds a few new problems, but fixes most of them | ||
Well | |||
not really :) | |||
There's no such thing as a branch or a tag in svn | |||
Which complicates things a lot | |||
Means writing svn port for cvsmonitor is supremely hard | |||
agentzh | we have to add branches explicitly in svn? | ||
Alias_ | branches are implemented as policy | 12:41 | |
They only exist in wetware | |||
The software has no idea what a "branch" is | |||
It just sees copies | |||
agentzh | aye | ||
Alias_ | Making a Tag: svn copy foo bar | ||
Making a Branch: svn copy foo bar | |||
Making a Copy: svn copy foo bar | |||
:) | |||
agentzh | *nod* | 12:42 | |
that's what i've been doing ;) | |||
Alias_ | CVS Monitor has a bunch of smarts to be able to tell added and removed lines | ||
It's what the karma scores are derived from | |||
And it's branch-aware, mostly | |||
agentzh | hmm | ||
Alias_ | Making a branch should be considered adding lines :) | ||
agentzh | that's cool | ||
Alias_ | yeah, it was :) | ||
er | 12:43 | ||
making a branch should NOT be considered adding lines | |||
12:43
toshinori joined
|
|||
Alias_ | I'm going to guess there's a module called "src" in the make repository | 12:43 | |
agentzh | heh | ||
Alias_: btw, for a separate issue...PPI has problems parsing heredocs like <<\EOF | 12:44 | ||
Alias_ | WTF is <<\EOF? | ||
Man, _I_ have a problem parsing that | |||
No wonder PPI does | |||
agentzh | Alias_: an old p4 syntax | ||
still supported by p5 | |||
Alias_ | ugh | ||
agentzh | like <<'EOF' | ||
make's test suite makes heavy use of this odd syntax. | |||
Alias_ | hmm | 12:45 | |
You are welcome to add support :) | |||
agentzh | i was using PPI to convert make's test suite (in p4) to Test::Base and found the problem... | ||
heh | |||
Alias_ | The heredoc area of PPI is _relatively_ self-contained | ||
12:45
toshinori joined
|
|||
agentzh | Alias_: and heredoc gives problem to regen p5 code from PDOM trees | 12:46 | |
Alias_ | hmm? | ||
It should be mostly ok | |||
If you are using ->serialize | |||
agentzh | Alias_: i can't use ->content directly | ||
Alias_ | No, you can't | ||
agentzh | is there a serialize method? | ||
sorry, i'm not aware of that. | |||
Alias_ | Because ->content ignores "rolled up" lines | ||
agentzh | Alias_: yes, i know | ||
Alias_ | heredoc content is not considered part of the content | ||
It's sort of "rolled up" | 12:47 | ||
Because it's line-oriented | |||
So it exists in a special location in the tree | |||
And when you write to a file it gets "unrolled" to the line stream | |||
agentzh | yes, i've read this from the PPI docs :) | ||
Alias_ | Sp ->serialize is the method you use to serialize the Perl code :) | ||
->content is mostly a convenience | |||
So | 12:48 | ||
agentzh | serialize must be new method? | ||
Alias_ | No, been there since 1.00 | ||
"rollups" are also where stuff inside of "use v6" sections will go | |||
agentzh | weird...which class? | ||
Alias_ | PPI::Document | ||
agentzh | thanks | ||
Alias_ | Because you can't serialize fragments of perl | ||
The concept is illogical | 12:49 | ||
12:49
baest joined
|
|||
Alias_ | Well, not arbitrary trees anyways | 12:49 | |
agentzh | k | 12:50 | |
Alias_: PPI makes a lot of apps possible :) | 12:51 | ||
Alias_ | blame heredocs :) | ||
heh | |||
Yes, yes it does | |||
agentzh | yup | ||
Alias_ | The supreme irony is that, having written it, I do almost nothing with it :) | ||
ppi_version is my main usage | |||
Well, perlver too I guess | |||
So I use it here and there | |||
But not to the extent I probably could be | |||
agentzh | lol | 12:52 | |
Alias_ | I don't trust it yet | ||
For some reason there's a half dozen files in CPAN that explode it's memory usage | |||
agentzh | for example? | ||
Alias_ | When you are running all of CPAN, knowing which one is exploding your memory usage is hard | ||
Because it takes 6 hours of processing to get to that point :) | 12:53 | ||
I've never actually worked out which one it is | |||
agentzh | okay | ||
Alias_ | When I get back to working on CPAN::Metric I'll work it out | ||
agentzh | i wonder if you have a $day_job ;) | ||
Alias_ | ya | ||
I do | |||
agentzh | you seem to have done so much work | ||
Alias_ | Well, my general policy is to make the two align | 12:54 | |
If I need something for work, I stall a bit and do it as a CPAN module | |||
agentzh | good point | ||
Alias_ | And I've been careful to insist on the right to do that when I get jobs | ||
agentzh will do this too! | |||
Alias_ | And really, it's not THAT much code | ||
Yaakov | Hello, Alias_. | ||
Alias_ | sloccount says my entire repository for CPAN is only 66,000 lines of code | 12:55 | |
I reuse a lot of code | |||
And most of my CPAN stuff is small | |||
agentzh reuses Alias's code | |||
my UML::Class::Simple is also small | |||
because your Class::Inspector does most of the stuff for me :) | |||
Alias_ | :) | ||
Alias_ was really proud to see the PPI tree model get stolen btw | 12:56 | ||
agentzh | it's a reuse chain...hehe | ||
Alias_ | Was that you? | ||
For JavaScript or something... | |||
agentzh | Alias_: yup | ||
Alias_ | ya | ||
Was really excited to see it :) | |||
agentzh | Alias_: 50% of the GNU make test suite is passing for my makefile library | ||
Alias_ | ah right | ||
Make syntax, that's right | |||
agentzh | which has a PPI-like tree | ||
Alias_ | Now I remember | ||
Wasn't exactly sure which language | 12:57 | ||
agentzh | i haven't got cycles to upload the stuff to cpan | ||
Alias_ | See, that's another reason I get a lot done | ||
ruthless release automation | |||
agentzh | ah | ||
a script? | |||
Alias_ | perl build_cpan.pl --install --commit Module::Name | ||
agentzh | awesome | 12:58 | |
i'll write one for myself ;) | |||
Alias_ | Runs QA on it, adds needed files automagically, adds author tests, cleans up newlines and stuff, runs the tests, checks it, reruns them, make tardists, adds the dist to the svn repository, commits, then gives me the URL for the location of the tarball in the repository | ||
And I have a firefox bookmark to upload a URI to pause | 12:59 | ||
agentzh | omg | ||
Alias_ | So "copy" from putty, and in firefox "release (paste URI)" | ||
And PAUSE pulls the distribution tarball straight out of SVN :) | |||
agentzh | that's so cool | ||
moritz | Alias_: you're a geek ;-) | 13:00 | |
Alias_ | svn.ali.as/cpan/tools/build_cpan.pl | ||
moritz: It's entirely practical, I swear. :) | |||
Do you have any idea how many releases I've done :) | |||
Shiteloads | |||
moritz | Alias_: that's no contradiction | ||
Alias_ | svn.ali.as/cpan/releases/ | ||
lambdabot | Title: Revision 1902: /releases | ||
Alias_ | That's just since I moved to svn | 13:01 | |
So yeah, without the slowly evolving automation, I could never manage it | |||
I'm working on my own equivalent of Insurrection or CommitBit so I can add maintainers more easily :) | |||
svn.ali.as/why.jpg | |||
wolverian | does it work well with opera mini? :) | 13:02 | |
Alias_ | Probably | ||
wolverian | (opera mini)++ # much better than the horrible browser your mobile comes with | ||
(opera mini)-- # goodbye privacy | |||
Alias_ | wolverian: I also tested svn.ali.as today with the EVE Online in-game browser :) | 13:03 | |
wolverian | heh | ||
Alias_ | So I can both fly space ships and add maintainers :) | ||
I'll add a screen shot later :) | |||
wolverian | I assume the wii browser works too | ||
Alias_ | I want to start a collection | ||
13:03
mncharity joined
|
|||
Alias_ | Probably :) | 13:03 | |
Got a wii and a camera? | |||
wolverian | no camera :/ | ||
agentzh goes to work on a p5 version of Pugs::Grammar::Rule2.pm. | 13:05 | ||
Alias_ | agentzh, anyways, can you please submit a bug report on PPI for that heredoc feature you need? | 13:09 | |
They generally get done | |||
agentzh | Alias_: will do later :) | ||
Alias_ | ok | ||
Cause I have a PPI timeslice coming up soonish | |||
agentzh | Alias_: i was just a bit lazy but will do, anyway :) | ||
Alias_ | And if you miss it, it will likely be a while till the next one | 13:10 | |
agentzh | cute | ||
Alias_ | Audrey terminology | ||
agentzh | doing now | ||
13:12
fglock joined
|
|||
agentzh | Alias_: done :) | 13:13 | |
Alias_ | thanks | ||
agentzh | Alias_: thank *you* :) | ||
Alias_ | nah, no problem | 13:14 | |
small syntax bugs are relatively easy | |||
And it's ironing out the nigglies that make it so much more useful day by day | |||
And keep people excited, when it handles even the stuff they think isn't possible | |||
Gotta maintain the illusion :) | |||
agentzh | yeah | 13:15 | |
exactly | |||
Alias_ | when I went to OSCON to release it, I made especially sure I had added support for all the cases I knew merlyn was gunna throw at me as things that perl parsers couldn't possibly handle :) | 13:16 | |
And I was right :) | |||
I did a demo at pdx.pm and he started giving me examples, all the ones I expected :) | |||
First time I ever wiped the smirk right off him :) | |||
agentzh | *g* | 13:17 | |
Alias_ | Actually, one of the highlights of my Perl career I think | ||
in retrospect | |||
wolverian | I hope he appreciated it as much as you did :) | ||
Alias_ | oh sure | ||
Spent a great night getting sloshed with him at a martini bar in Melbourne last YAPC::AU | 13:18 | ||
And he's one of the few people that actually understand why PPI works at the zen level :) | |||
13:18
rindolf joined
|
|||
Alias_ | I think it's like maybe 6 people | 13:18 | |
me, merlyn, audrey, and a few others | 13:19 | ||
wolverian | there are bars just for martinis? | ||
Alias_ | wolverian: sure is :) | ||
In Melbourne at least | |||
wolverian | insane world | ||
Alias_ | hidden down an alley somewhere | ||
amazing place, really funky | |||
like out of another time | |||
wolverian | and then you google 'em and find out they're really popular and have a really web2.0 site | 13:20 | |
Alias_ | oh sure | ||
But it still felt like another world | |||
moritz | why should a bar have a web2.0ish site? | 13:21 | |
wolverian | meh, now my summer feels so dull :) | ||
Alias_ | heh | 13:22 | |
moritz: Because that's the the generic design company sold them, using Frontpage.NET default Web 2.0 automation | |||
or something in that general situation | |||
13:22
xdemondogx joined
|
|||
moritz | omfg | 13:24 | |
xdemondogx | ? | ||
13:24
cerridwen joined
13:25
kanru joined
|
|||
moritz | ! | 13:25 | |
13:26
perlMa joined
|
|||
Alias_ | ? | 13:27 | |
xdemondogx | ? | ||
moritz | !!? | ||
devbot6 | moritz: Error: "!?" is not a valid command. | ||
xdemondogx | ?? | 13:28 | |
moritz | devbot6: and ! is? | ||
devbot6 | moritz: Error: "and" is not a valid command. | ||
moritz | devbot6: help | ||
devbot6 | moritz: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | ||
moritz | wow, that was helpful | ||
wolverian | devbot6, list | 13:29 | |
devbot6 | wolverian: Admin, Channel, Config, Misc, Owner, RSS, Services, TracBot, User, and Web | ||
13:29
svnbot6 joined
|
|||
moritz | devbot6: help User | 13:29 | |
devbot6 | moritz: Error: There is no command "user". | ||
moritz | that would have been too easy | ||
wolverian | devbot6, list User | 13:30 | |
devbot6 | wolverian: capabilities, changename, hostmask, hostmask add, hostmask list, hostmask remove, identify, list, register, set password, set secure, stats, unidentify, unregister, username, and whoami | ||
moritz | !RSS | ||
devbot6 | moritz: (rss <url> [<number of headlines>]) -- Gets the title components of the given RSS feed. If <number of headlines> is given, return only that many headlines. | ||
wolverian | see, it's logical, if you know the logic | ||
(; | |||
moritz | devbot6: help help | 13:33 | |
devbot6 | moritz: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | ||
13:38
thorat joined
|
|||
svnbot6 | r16909 | agentz++ | trunk: | 13:40 | |
: [PCR] | |||
: - added examples/langs2.grammar to demonstrate the use of | |||
: the "rule foo { ... }" syntax. | |||
: - added a test to 16-examples.t for langs2.grammar. | |||
: - fixed emitter/00-ratchet.t | |||
pugs_svnbot | r16909 | agentz++ | trunk: | ||
: [PCR] | |||
: - added examples/langs2.grammar to demonstrate the use of | |||
: the "rule foo { ... }" syntax. | |||
: - added a test to 16-examples.t for langs2.grammar. | |||
: - fixed emitter/00-ratchet.t | |||
diff: dev.pugscode.org/changeset/16909 | |||
lambdabot | Title: Changeset 16909 - Pugs - Trac | ||
agentzh | weird... | ||
two bots are reporting the same commit? | |||
well, anyway, my karma has doubled :) | 13:41 | ||
fglock | agentzh: I found the bug in your paste; there is an error in the parameter order for calling subrules | 13:42 | |
lambdabot | fglock: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
agentzh | fglock: you mean the adder sample? | 13:43 | |
fglock | agentzh: re release: congrats :) | ||
agentzh | fglock: thanks :) | ||
13:43
drupek12 joined
|
|||
fglock | the digit counter example; I'll try to fix it | 13:44 | |
agentzh | fglock: yay! | ||
fglock | I wonder why I didn't notice that before | ||
agentzh | fglock: because there's not enough tests! haha! | 13:45 | |
moritz | maybe audreyt restartet svnbot6 assuming it was down? | 13:46 | |
agentzh | audreyt++ | 13:47 | |
moritz | diakopter++ # managing bots, cleaning up irc logs | 13:48 | |
agentzh | fglock: will try to do another CPAN release for PCR tonight :) | 13:49 | |
moritz | 1771 lines are marked as spam atm | ||
agentzh | moritz: maybe it's your cute log site attracts those spammers? | ||
*g* | 13:50 | ||
*that attracts | |||
fglock: the counter example is examples/digits.grammar | 13:53 | ||
fglock | yes | ||
agentzh | fglock: and the corresponding test is in t/16-examples.t | 13:54 | |
fglock: currently it's skipped. | |||
but it's looping... | |||
hehe | |||
*because | |||
fglock: currently PCR's regex parser doesn't do any error handling. i'll look into v6.pm's parser since it seems to have some diagnostics for invalid inputs | 13:56 | ||
Alias_ | You are lost in a twisty series of grammars, all of them alike | 13:57 | |
moritz | where do you want to turn (NWSE)? | ||
Alias_ read NSFW for a sec there | |||
13:59
iblechbot joined
|
|||
rindolf | Hi Alias_ | 14:01 | |
Alias_ | heya | ||
How's things | |||
rindolf | Alias_: what's up? | ||
Alias_: I'm fine. | |||
Alias_: worked on XML::SemanticDiff. | |||
Alias_ | Hey, were you looking for maint on something? Did it ever get done? | ||
rindolf | Alias_: and then Kip Hamton (its author) re-surfaced. | ||
Alias_ | So did he set maint for you ok? | 14:02 | |
All happy? | |||
rindolf | Alias_: you mean co-maint for X-SD? | ||
Alias_: well, actually, someone else did. | |||
Alias_: from the CPAN Cabal. | |||
Alias_ | I am the CPAN Cabal :) | ||
well, not really | |||
But if there's nothing I need to do, that's fine | 14:03 | ||
svnbot6 | r16910 | fglock++ | trunk: | 14:04 | |
: [PCR] fixed a bug in the parameter ordering - agentzh++ | |||
pugs_svnbot | r16910 | fglock++ | trunk: | ||
: [PCR] fixed a bug in the parameter ordering - agentzh++ | |||
diff: dev.pugscode.org/changeset/16910 | |||
lambdabot | Title: Changeset 16910 - Pugs - Trac | ||
agentzh | fglock++ | ||
rindolf | Alias_: what time is it there? | ||
agentzh | wow, bots are racing.. | ||
Alias_ | rindolf: midnight'ish | 14:05 | |
rindolf | Alias_: I see. | ||
pasteling | "evalbot_r16909" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26113 | 14:08 | |
fglock | agentzh: did it work? I'm switching back to kp6... :) | 14:19 | |
agentzh | fglock: it works :) | ||
fglock: could you document the subrule calling protocol somewhere when you have spare time? | 14:20 | ||
fglock: such as parameter list and return values... | |||
fglock: i'm having problems in understanding it | |||
svnbot6 | r16911 | agentz++ | trunk: | 14:25 | |
: [PCR] | |||
: - updated examples/digits since fglock++ has already fixed it. | |||
: - unSKIP'd the test in 16-examples.t for examples/digits. | |||
: - updated emitter/00-ratchet.t since the emitter template has changed. | |||
pugs_svnbot | r16911 | agentz++ | trunk: | ||
: [PCR] | |||
: - updated examples/digits since fglock++ has already fixed it. | |||
: - unSKIP'd the test in 16-examples.t for examples/digits. | |||
: - updated emitter/00-ratchet.t since the emitter template has changed. | |||
diff: dev.pugscode.org/changeset/16911 | |||
lambdabot | Title: Changeset 16911 - Pugs - Trac | ||
fglock | agentzh: the calling protocol changed 2 times already - at Compiler::Regex near lines 143 and 150 there are some backward-compatibility hacks and a little documentation | 14:41 | |
it needs a cleanup | |||
agentzh | fglock: *nod* | ||
14:47
masak joined
|
|||
masak | ok, correct me if I'm wrong, but... | 14:47 | |
t/data_types/array.t, test 53, "negative index [-1]" | |||
that's got to be out-of-date, no? | |||
it does this | 14:49 | ||
?eval my @a = <a b c e>; @a[-1] | |||
14:49
evalbot_r16908 is now known as evalbot_r16911
|
|||
evalbot_r16911 | \"e" | 14:49 | |
masak | ...which I'm pretty sure is written '@a[ *-1 ]' these days | 14:50 | |
moritz | ...which is pretty ugly ;) | ||
14:50
b_jonas joined
|
|||
masak | moritz: but still | 14:51 | |
it's correct perl6, as the changing standard goes | |||
moritz | masak: aye | ||
masak | what's in the test isn't | ||
moritz | masak: then change it | ||
masak | ok :) | ||
that's all I needed to hear | |||
TimToady | should likely also have a test that @a[-1] fails properly | 14:56 | |
masak | TimToady: right. I'll work that in now | 14:57 | |
svnbot6 | r16912 | masak++ | trunk: | ||
: [t/data_types/array.t] | |||
: * "negative index" -1 etc are now "end index" [*-1] etc | |||
pugs_svnbot | r16912 | masak++ | trunk: | ||
: [t/data_types/array.t] | |||
: * "negative index" -1 etc are now "end index" [*-1] etc | |||
diff: dev.pugscode.org/changeset/16912 | |||
lambdabot | Title: Changeset 16912 - Pugs - Trac | ||
masak | two bots! svnbot6++ pugs_svnbot++ :) | ||
TimToady: so even reading of @a[-1] fails? or just writing? | 14:58 | ||
pasteling | "evalbot_r16911" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26114 | 14:59 | |
masak | oops. was that me? | 15:00 | |
15:00
Limbic_Region joined
|
|||
agentzh | masak: not likely | 15:00 | |
masak | I only ever changed a .t file... | ||
agentzh: good. carrying on :) | |||
agentzh | masak: we've been seeing this for months | 15:01 | |
masak | agentzh: and no explanation? | ||
agentzh | masak: a messed-up pugs tree on feather maybe | ||
masak | agentzh: could be | ||
agentzh: does no-one have privs to go look? | 15:02 | ||
agentzh | masak: many people have tried but with no luck so far | ||
masak: or maybe you can work out the puzzle? | |||
masak | agentzh: oki | ||
agentzh | hehe | 15:03 | |
masak | agentzh: not likely. for starters, I don't have a feather account | ||
agentzh | k | ||
masak | TimToady: I just went ahead and assumed now that even reading from [-1] on a normal array is fatal | 15:04 | |
svnbot6 | r16913 | masak++ | trunk: | ||
: added back a few failing -1 tests into t/data_types/array.t | |||
pugs_svnbot | r16913 | masak++ | trunk: | ||
: added back a few failing -1 tests into t/data_types/array.t | |||
diff: dev.pugscode.org/changeset/16913 | |||
lambdabot | Title: Changeset 16913 - Pugs - Trac | ||
masak | maybe that was to harsh; in that case I'll be happy to change it to something less harsh, like a normal undefined value | ||
s/to/too/ | 15:05 | ||
actually, I could argue either way there | 15:07 | ||
on one hand, accessing past the end of the array in the other direction (i.e. going above @a.end) only returns undef | 15:08 | ||
TimToady | it returns an unthrown exception, which is a variety of undef | ||
but if you try to use the value, it should throw an exception | |||
masak | ok, so dies_ok is correct in the .t file for that? | ||
TimToady | as long as you do something like @a[-1] + 0 inside | 15:09 | |
masak | ah -- no, right now only @a[-1] | ||
I'll go change it | |||
TimToady | the direct result would merely test as undefined | ||
biab & | 15:10 | ||
masak | oki | ||
adding another test for that | |||
hehe, now the test file hangs instead | 15:12 | ||
svnbot6 | r16914 | masak++ | trunk: | ||
: changed t/data_types/array.t slightly after clarification | |||
: from TimToady++ | |||
pugs_svnbot | r16914 | masak++ | trunk: | 15:13 | |
: changed t/data_types/array.t slightly after clarification | |||
: from TimToady++ | |||
diff: dev.pugscode.org/changeset/16914 | |||
lambdabot | Title: Changeset 16914 - Pugs - Trac | ||
masak | it probably hangs because @a[*-4 .. *-2] is treated as something to do with infinity... | 15:14 | |
pasteling | "evalbot_r16913" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26115 | 15:15 | |
masak | hm, sometimes I find it tedious to keep the plan figure at the top of test files updated | ||
wouldn't it be possible to write a simple script to count the tests? | |||
one that took into account if blocks and for loops | 15:16 | ||
I think such a script could avoid the Halting Problem issue on account of .t files never going above a certain complexity | |||
specifically, they never contain infinite loops with test method calls | 15:17 | ||
15:17
nik joined
|
|||
pugs_svnbot | r16915 | agentz++ | trunk: | 15:17 | |
: PCR - compile_p6grammar.pl - adds header comments to the generated p5 files | |||
diff: dev.pugscode.org/changeset/16915 | |||
lambdabot | Title: Changeset 16915 - Pugs - Trac | ||
svnbot6 | r16915 | agentz++ | trunk: | 15:18 | |
: PCR - compile_p6grammar.pl - adds header comments to the generated p5 files | |||
masak | agentzh: there are a couple of unrecognized files in the perl5/Pugs-Compiler-Perl6/t directory -- is it ok if I svn:ignore those? | 15:19 | |
agentzh | really? looking | ||
masak | it's 01-sanity, builtins, Test.pm, 02-test-pm and data_types/array_extending.t | 15:20 | |
at least on my box, but maybe I haven't cleaned lately | |||
15:20
LimbicRegion joined
|
|||
agentzh | ah, you mean pugs's t/ | 15:20 | |
masak | yes | ||
agentzh | i thought it was PCR's | ||
masak | no, wait, it is | 15:21 | |
agentzh | okay, it's v6.pm's | ||
i was just reading too fast | |||
sorry | |||
masak | they're not there when I remove the directory structure and svn up | ||
so they're probably generated by make | |||
agentzh | masak: they're copied from pugs's t/ | 15:22 | |
clkao worked that out iirc | |||
they're mostly passing tests for v6.pm in the pugs test suite | |||
masak | agentzh: but I could just prop them as ignored so they don't show up when one does `svn st`? | 15:23 | |
agentzh | masak: use svn st -q | ||
15:23
dwave joined
|
|||
masak | agentzh: why? I know what it does, but why should I have to? | 15:23 | |
agentzh | masak: setting them as ignored is fine | 15:24 | |
masak | great. I'll do that | ||
svnbot6 | r16916 | masak++ | trunk: | 15:28 | |
: props | |||
pugs_svnbot | r16916 | masak++ | trunk: | ||
: props | |||
diff: dev.pugscode.org/changeset/16916 | |||
lambdabot | Title: Changeset 16916 - Pugs - Trac | ||
pasteling | "evalbot_r16915" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26117 | 15:30 | |
svnbot6 | r16917 | masak++ | trunk: | 15:36 | |
: hiding autogenerated perl5/Pugs-Grammar-MiniPerl6/lib/Pugs/Grammar/MiniPerl6.pm too | |||
pugs_svnbot | r16917 | masak++ | trunk: | ||
: hiding autogenerated perl5/Pugs-Grammar-MiniPerl6/lib/Pugs/Grammar/MiniPerl6.pm too | |||
diff: dev.pugscode.org/changeset/16917 | |||
lambdabot | Title: Changeset 16917 - Pugs - Trac | ||
masak | I'm peeking inside Pugs internals now | 15:37 | |
does anyone have a pointer to what the difference between IArray and VArray is? | |||
15:38
LimbicRegion is now known as Limbic_Region
|
|||
Jameswf | 13 char | 15:39 | |
masak | ?eval "V".ord - "I".ord | 15:40 | |
15:40
evalbot_r16911 is now known as evalbot_r16917
|
|||
evalbot_r16917 | 13 | 15:40 | |
masak | Jameswf: I get it. Not quite what I was looking for, though | ||
:) | |||
if I know audreyt right, it's something more substantial than that | 15:41 | ||
here's another 'cute' way to do it: | 15:43 | ||
?eval [-] map :{ .ord } <v i> | |||
evalbot_r16917 | 13 | ||
Jameswf | IArray $sweeet[1] #index VArray $sweeet[juice] #value | 15:44 | |
my guess | |||
masak | Jameswf: please explain more verbosely than that | ||
what's the second one? it doesn't parse in my brain | |||
an index is a value too, yes? | 15:45 | ||
Jameswf | you can call an arrays contents my its indes 0-sizeof() or by value if you have set that so an array gas_prices[newyork] can also be gas_prices[0] | 15:46 | |
its how you make the call | |||
masak | Jameswf: you sure you're not thinking of PHP now? | ||
that doesn't sound like Perl 6 to me | 15:47 | ||
because (1) it's not a call, (2) you can't use a bareword inside the index [] like that, unless it's a defined method, and (3) using $ before the array is Perl5 (and PHP), not Perl 6 | 15:48 | ||
Jameswf | it all sort of blends php perl c its like 40 different dialects of spanish, Some times you speak mexican to a puortorican | 15:49 | |
masak | :) | ||
to me they're very distinct | |||
maybe not syntactically, but spiritually | |||
when I use PHP, I feel dead; when I use Perl, I feel alive :) | 15:50 | ||
Jameswf | I was going for context more than syntaf thats why there were no ; | ||
*syntax | |||
masak | Jameswf: anyway, I don't think that's it | ||
this is internals we're talking about, so it's two different types of array being used inside Pugs | 15:51 | ||
how you index a particular array should not come into the question | |||
15:53
vel joined
|
|||
Jameswf | I cant find the terms on google except used as array names | 15:54 | |
masak | I'm in src/Pugs/AST/Internals.hs now | ||
there's a lot of types defined here starting with I | 15:55 | ||
and many starting with V | |||
trying to figure out what sets them apart | |||
spinclad | 'when 6.28 comes, every day will be Thursday'... | 16:01 | |
masak | spinclad: :P | 16:02 | |
that's a great slogan | |||
especially along with Arthur Dent's "This must be Thursday. I could never get the hang of Thursdays." | 16:03 | ||
spinclad | 'when i catch up with the backlog, every time will be 08:10' | 16:05 | |
(12:10 UTC) | 16:06 | ||
masak | I also find a lot of SV and V suffixes in the names in the Pugs internals | ||
spinclad | yeah, or Belgium | ||
masak | they remind me of something from Perl 5 internals | 16:07 | |
& # dinner | 16:11 | ||
16:12
araujo joined
16:24
offby1 joined
16:30
vel joined
16:38
BooK__ is now known as BooK
16:47
justatheory joined
16:50
fglock joined
16:52
weinig joined
|
|||
svnbot6 | r16918 | fglock++ | trunk: | 16:52 | |
: [kp6] p5regex - implemented positional captures | |||
pugs_svnbot | r16918 | fglock++ | trunk: | ||
: [kp6] p5regex - implemented positional captures | |||
diff: dev.pugscode.org/changeset/16918 | |||
lambdabot | Title: Changeset 16918 - Pugs - Trac | ||
pasteling | "evalbot_r16917" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26118 | 16:57 | |
17:08
rashakil joined
17:10
Schwern joined
|
|||
svnbot6 | r16919 | fglock++ | trunk: | 17:14 | |
: [kp6] p5regex - quantified positionals capture to an array | |||
pugs_svnbot | r16919 | fglock++ | trunk: | ||
: [kp6] p5regex - quantified positionals capture to an array | |||
diff: dev.pugscode.org/changeset/16919 | |||
lambdabot | Title: Changeset 16919 - Pugs - Trac | ||
TimToady | ?eval [-] map :{ .ord } <v i> | 17:19 | |
17:19
evalbot_r16917 is now known as evalbot_r16919
|
|||
evalbot_r16919 | 13 | 17:19 | |
TimToady | that should not parse | ||
?eval [-] map { .ord }, <v i> | |||
evalbot_r16919 | 13 | ||
17:19
vel joined
|
|||
TimToady | ?eval [-] map <v i>, :{ .ord } | 17:20 | |
evalbot_r16919 | 13 | ||
TimToady | but a :{} where a term is expected should be expecting an infix after it. | ||
so it should have taken < as a less than | |||
so probably parsec being overly backtracky... | 17:21 | ||
@tell masak I think probably @a[-1] with a literal negative should be a compilation failure | 17:22 | ||
lambdabot | Consider it noted. | ||
TimToady | @tell masak in order to catch a frequent P5Think error sooner than runtime. But @a[$negative] is still a runtime failure | 17:23 | |
lambdabot | Consider it noted. | ||
17:40
vel joined
17:41
Psyche^ joined
17:55
Psyche^ is now known as Patterner
|
|||
fglock | just checking - named assertions don't capture, right? like <before ...> | 17:56 | |
or do I need <?before ...> for that | |||
17:57
vel6608 joined
|
|||
fglock | are captures-inside-assertions discarded? as in <before (...) > | 17:59 | |
17:59
vel joined
|
|||
fglock | nevermind, I found the answer to my question | 18:03 | |
18:04
masak joined
18:26
Belaf joined
18:31
[particle] joined
18:38
Squern joined
18:46
vadrer joined
|
|||
vadrer | ?eval say 'hello'; | 18:48 | |
evalbot_r16919 | OUTPUT[helloā¤] Bool::True | ||
masak | ?eval 'hello' | ||
evalbot_r16919 | "hello" | ||
smg | ?eval print for <1 2 3 4 5> | 18:49 | |
evalbot_r16919 | OUTPUT[] undef | ||
smg | ?eval map { print } <1 2 3 4 5> | ||
evalbot_r16919 | Error: ā¤Unexpected "2"ā¤expecting operator | ||
masak | ?eval [~] <1 2 3 4 5> | ||
evalbot_r16919 | "12345" | ||
smg | is this lisp or perl? | ||
masak | smg: perl 6 | 18:50 | |
lambdabot | masak: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
smg | what is [~] ? | ||
masak | wee, messages! | ||
smg | masak: tell what's [~] pls | ||
masak | @messages | ||
lambdabot | TimToady said 1h 28m 4s ago: I think probably @a[-1] with a literal negative should be a compilation failure | ||
TimToady said 1h 26m 36s ago: in order to catch a frequent P5Think error sooner than runtime. But @a[$negative] is still a runtime failure | |||
18:50
xwrn joined
|
|||
masak | smg: ~ is string concatenation | 18:50 | |
like the old . in perl 5 | |||
smg | lol | ||
but what does ~ concatenate then? | 18:51 | ||
masak | [~] takes a whole list and concatenates all the items | ||
smg | k | ||
like join "" ? | |||
masak | smg: ~ concatenates strings | ||
smg: yes | |||
smg | damn | ||
is there a page for all changes from perl 5 => perl 6? | |||
masak | @tell TimToady re @a[-1]: ok. that's half of what I thought too | 18:52 | |
lambdabot | Consider it noted. | ||
masak | @tell TimToady I will change the test to reflect this | ||
lambdabot | Consider it noted. | ||
masak | smg: yes. let me find it for you | ||
smg | thx | 18:53 | |
i'm too lazy atm | |||
feather.perl6.nl/syn/Differences.html <-this? | |||
lambdabot | Title: Perl6::Perl5::Differences | ||
smg | lambdabot: true | ||
masak | not the one I was thinking about | ||
smg | okay then find the better one from your memory pls for me | ||
:) | |||
masak | here you go: svn.pugscode.org/pugs/docs/other/porting_howto | 18:54 | |
but even better is to download pugs and look at all the tests | |||
they tell the whole story about the syntax and semantics | |||
smg | all the tests | 18:55 | |
where can i find them? | |||
masak | in the pugs repository | ||
smg | mh | ||
masak | which you can download in a number of ways | 18:56 | |
check out pugscode.org | |||
jjore | smg, the [ ] around ~ turned it into a reduce operation. | ||
smg | lol | ||
that's really evil | |||
it's from haskell? | |||
jjore | it accepts any function btw. | ||
op, rather. | |||
smg | isn't [ ] anonymous array? | ||
18:56
unobe_away is now known as unobe
|
|||
jjore | no, not at this place. | 18:56 | |
smg | k | 18:57 | |
context? | |||
jjore | dunno. probably? | ||
smg | k | ||
:) | |||
i love perl 5 | |||
jjore | I love perl 6 harder. | ||
smg | but i can't stand with perl 6 atm | ||
18:57
kane_ joined
|
|||
Tene | smg: why? | 18:59 | |
Gothmog_ | it takes some getting used to, but that was just as true for perl 5, and its worth it | 19:00 | |
Juerd | it's | ||
smg | i dunno | ||
:) | |||
masak | smg: I agree with Gothmog_. Perl 6 is still in the spirit of Perl. | ||
smg | it is | 19:01 | |
masak | except it has more neat stuff to play with | ||
Juerd | I guess that depends on the definition of Perl's spirit :) | ||
smg | i will see | ||
for the moment i dislike some major changes for perl 6 | |||
but maybe i get used to them | |||
masak | Juerd: yes, it kind of has to depend on that :) | ||
Juerd | I personally think some parts of Perl 6 are too complicated, and Perl 5 always felt simple. | ||
jjore | Perl 6 is just tons of great stuff that's way too hard to implement in Perl 5 as add-ons. *You* try writing macros in Perl 5. | ||
Blech. | |||
masak | smg: most of the changes have good reasons behind them | ||
avar | ha! perl5 felt simple?:) | 19:02 | |
Juerd | masak: Hm... And which changes do not? :) | ||
smg | masak: i know, because i know the perl6 developers are good | ||
Juerd | avar: Yes. Simple, not easy. | ||
masak | Juerd: I think I agree on some points, junctions for example | ||
jjore | junctions are what you've been using in SQL for ages now! | ||
smg | masak: but in the first place they look uncomfortable, but i understand :) | ||
avar | Perl [56] are a lot of things, but I wouldn't say simple is one of them, at least not on the language level | ||
Juerd | masak: I think junctions are relatively simple. Multidimensional anything, however, argh. I just don't get that. | ||
avar | Maybe on the "there's lots of code written for you via cpan" level | ||
masak | Juerd: hm, which changes do not have good reasons behind them? maybe none. have to thing about that | 19:03 | |
Juerd | avar: Not simple like PHP :) | ||
avar: But Perl 5 is much simpler than Perl 6 | |||
masak | smg: give it some time | ||
19:03
b_jonas joined
|
|||
Juerd | avar: I think references are simpler than captures, for example | 19:03 | |
avar: And arrays of arrays, simpler than multidimensional arrays. | 19:04 | ||
avar | Juerd: No, the other way around. You can easily explain some things on p6 which would take whole days to explain in p5:) | ||
Yeah maybe, but syntax and some other semantics are simpler | |||
Juerd | avar: I doubt it. | ||
avar | and some or not, *shrug* | ||
b_jonas | and lambdas simpler then p6 functions with prototypes and stuff, but that's what we get | ||
Alias_ | jjore: I for one don't think the new constructor stuff is something that's way too hard to implement in Perl 5 | ||
masak | interesting discussion | ||
Juerd | Well, yes, some things. And those are probably the changes that I like :) | ||
Alias_ | I'm not a far | ||
fan | |||
Juerd | The other changes, I'll just take because I long for the good stuff :) | 19:05 | |
b_jonas | multidimensional array can be a performance thing in some cases | ||
Gothmog_ | I think arrays of arrays are rather clumsy if you want something multidimensional. | ||
jjore | Alias_: ok, but the new constructor syntax is implemented in perl 5 as source filters. | ||
that sucks. | |||
Juerd | b_jonas: I still think that such things are nice to have, but as an extension rather than in the main language. | ||
b_jonas | especially if you have numeric arrays | ||
Juerd | b_jonas: Same for junctions, perhaps. | ||
Alias_ | jjore: Sure, but I don't like having it imposed on eme | ||
me | |||
agentzh | question: how to avoid warnings like "Name XXX used only once: possible typo"? | ||
jjore | I'd much prefer to have ASTs or similar to work with. | ||
Alias_ | ... because it's someone's favourite constructor stule | 19:06 | |
style | |||
b_jonas | well, I don't like p6 junctions in code either, yep | ||
Juerd | agentzh: Use it twice or disable warnings :) | ||
b_jonas | agentzh: our can work in some cases | ||
Alias_ | agentzh: $foo = $foo :( | ||
b_jonas | our $foo that is | ||
masak | sometimes I'm afraid that junctions will not be introspectable enough | ||
b_jonas | but not always | ||
agentzh | Alias_: there's tons of such things...because it's generated code... | ||
Juerd: no warnings may be a good idea | 19:07 | ||
Juerd | agentzh: That's what it's for. | ||
19:08
diakopter_afk is now known as diakopter
|
|||
b_jonas | you can no warnings just specific kinds of warnings | 19:08 | |
19:09
amnesiac joined
|
|||
agentzh | b_jonas: what's the warning catagory for the "used only once" thing? | 19:12 | |
b_jonas | agentzh: try "once" | ||
agentzh | k | 19:13 | |
b_jonas: it works, thanks :) | |||
masak | any tips on how to familiarize oneself with the internals of pugs? | 19:14 | |
I started today, but quickly ran into a lot of questions with no-one to ask | 19:15 | ||
agentzh | masak: it's a big project ;) | 19:16 | |
masak | agentzh: so I gather. | ||
agentzh | masak: but i'm glad to see you've started :) | ||
masak | still, it's nice to know a little about what's going on under the hood | ||
agentzh | masak: one tip | ||
masak | my plan is to learn enough so that I can apply simple patches when I have the time | ||
agentzh | grep the irc logs over the years for audreyt, gaal, and other hs people's remarks | 19:17 | |
masak | 'aight | ||
agentzh | it may helps | ||
*help | |||
masak | maybe follow along with the svn logs/diffs as well... | ||
agentzh | masak: *nod* | ||
masak takes deep breath | 19:18 | ||
agentzh grins. | |||
masak: maybe you'll become a second audreyt here and start hacking on src/ | |||
masak | who knows? anything might happen | 19:19 | |
agentzh | masak: yup | ||
masak | though at this point I doubt I could replace audreyt | ||
I would have to quit my day job :) | |||
agentzh | lol | ||
masak | and even that would probably not be enough | 19:20 | |
agentzh | fglock: caching is anti-testing... | ||
masak: agreed | |||
masak: you need huge hours... | |||
masak | I'm not worshipping audreyt, I'm just un deep awe | ||
I hope she's soon well enough to carry on with pugs | 19:21 | ||
agentzh | fglock: yay! compile_p6grammar.pl generates a working Pugs::Grammar::Rule.pmc and all tests are passing :D | ||
masak: me too | |||
masak | agentzh++ # cool | 19:22 | |
agentzh | masak: thanks :) | ||
it's much much faster... | |||
let me time it... | |||
$ time util/update-rule-pmc-new update | 19:23 | ||
real 0m1.503s | |||
user 0m1.416s | |||
sys 0m0.080s | |||
diakopter will return later tonight to fix 1. the default vhost on feather (which I broke yesterday with some incomplete changes before someone/cron restarted apache2), 2. fix the auto-builds of pugs, 3. implement the super-improved dalek I planned this morning (details later). bbl | |||
agentzh | while the traditional v6.pm approach takes much longer: | ||
19:23
diakopter is now known as diakopter_afk
|
|||
agentzh | $ time util/update-rule-pmc updateGenerating lib/Pug/Grammar/Rule2.pmc... | 19:24 | |
real 0m7.176s | |||
user 0m7.072s | |||
sys 0m0.088s | |||
masak | about a 4-fold improvement, not bad | ||
agentzh | indeed! | ||
masak | what's the sikkrit? | ||
agentzh | sikkrit? | 19:25 | |
offby1 | he means "Sekrit" | ||
obviously can't spell :-) | |||
as in, "sekrit password" | |||
masak | offby1: :) | ||
agentzh | ah | ||
masak | offby1: I honestly didn't know it had a correct inkurikt spelling | 19:26 | |
agentzh | compile_p6grammar doesn't parse p6 code, it only parse p6 regexes | ||
*parses | |||
masak | offby1: that's what you get for not being a native english speaker, I guess | ||
agentzh: and that makes it faster? | 19:27 | ||
agentzh | masak: yes :) | ||
compiling full perl 6 is slow... | |||
while compiling just perl 6 regexes can be rather efficient. | |||
masak | ok | 19:28 | |
sounds like interesting code to look at... | |||
agentzh | the code in actions are treated as Perl 5 | ||
or source-filtered Perl 5 :) | |||
i'll commit the stuff... | |||
masak | do so | ||
agentzh | a sec | 19:29 | |
it's a huge commit | 19:30 | ||
svnbot6 | r16920 | fglock++ | trunk: | 19:32 | |
: [kp6] p5regex - fixed quantified captures | |||
: - added v6/docs/p6regex-on-p5regex.txt | |||
pugs_svnbot | r16920 | fglock++ | trunk: | ||
: [kp6] p5regex - fixed quantified captures | |||
: - added v6/docs/p6regex-on-p5regex.txt | |||
diff: dev.pugscode.org/changeset/16920 | |||
lambdabot | Title: Changeset 16920 - Pugs - Trac | ||
masak | it's always nice to see big commits... | 19:33 | |
agentzh | still working on the log message... | 19:34 | |
pasteling | "evalbot_r16919" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26120 | 19:35 | |
19:35
weinig joined
19:37
fglock joined
|
|||
svnbot6 | r16921 | masak++ | trunk: | 19:37 | |
: [t/data_types/array.t] | |||
: * changes based on input from TimToady++ | |||
pugs_svnbot | r16921 | masak++ | trunk: | ||
: [t/data_types/array.t] | |||
: * changes based on input from TimToady++ | |||
diff: dev.pugscode.org/changeset/16921 | |||
lambdabot | Title: Changeset 16921 - Pugs - Trac | ||
19:37
unobe is now known as unobe_away
|
|||
masak | that was just a tiny commit :) | 19:37 | |
agentzh | committed | ||
pugs_svnbot | r16922 | agentz++ | trunk: | 19:38 | |
: [PCR] | |||
: - added examples/Grammar.grammar which is the grammar spec | |||
: for Perl 6 regexes themselves. | |||
: this grammar file can be compiled by util/compile_p6grammar.pl | |||
: down to a .pm file and replaces lib/Pugs/Grammar/Rule.pmc. | |||
svnbot6 | r16922 | agentz++ | trunk: | ||
: [PCR] | |||
: - added examples/Grammar.grammar which is the grammar spec | |||
: for Perl 6 regexes themselves. | |||
: this grammar file can be compiled by util/compile_p6grammar.pl | |||
pugs_svnbot | : - added util/update-rule-pmc-new to automate this process. | ||
svnbot6 | : down to a .pm file and replaces lib/Pugs/Grammar/Rule.pmc. | ||
: - added util/update-rule-pmc-new to automate this process. | |||
pugs_svnbot | : - updated Rule.pmc using this new approach. It's about 4 times | ||
svnbot6 | : - updated Rule.pmc using this new approach. It's about 4 times | ||
pugs_svnbot | : faster than the traditional v6.pm approach! | ||
: - set $NoCache to 1 by default in P::C::Regex to help testing | |||
svnbot6 | : faster than the traditional v6.pm approach! | ||
pugs_svnbot | : (will reset to 0 before release though). | ||
svnbot6 | : - set $NoCache to 1 by default in P::C::Regex to help testing | ||
pugs_svnbot | : (no regressions) | ||
svnbot6 | : (will reset to 0 before release though). | ||
pugs_svnbot | diff: dev.pugscode.org/changeset/16922 | ||
svnbot6 | : (no regressions) | ||
masak | whoa | ||
competing bots | |||
agentzh | masak, fglock, avar: Please see svn.pugscode.org/pugs/perl5/Pugs-Co...ar.grammar | ||
lambdabot | tinyurl.com/2ez2j3 | ||
masak | agentzh: oki | ||
agentzh | PCR now uses compile_p6grammar.pl to compile this grammar file down to its own regex parser (i.e. Pugs::Grammar::Rule.pmc) | 19:39 | |
19:39
CardinalNumber joined
|
|||
masak | agentzh: nice | 19:39 | |
agentzh | in other words, this part is self-hosting. | ||
masak | agentzh: not bad | ||
agentzh | (in fact, it's a grammar parser) | 19:40 | |
a superset of Perl 6 regexes. | |||
19:40
SamB joined
|
|||
masak | I still have the feeling I'd be even more impressed if I had a better overview of Perl 6 work | 19:41 | |
but a self-hosting grammar does sound important | |||
avar | agentzh: ah, %{}% is perl5 code? | ||
agentzh | avar: yup | ||
avar: so is the actions | |||
(to be more accurate, the action code goes through a source-filter which de-sugars things like $/ and $<foo>) | 19:42 | ||
avar | well, they look sort-of-p6 | ||
ah, yeah | |||
masak | agentzh: why p5? | ||
agentzh | source-filters may give troubles but they're pretty handy. | ||
masak: because p5 is fast! | 19:43 | ||
masak | agentzh: oh yeah, that's why | ||
agentzh | and more complete, more flexibale and more stable | ||
fglock | agentzh: looking | ||
agentzh | *flexible | ||
avar | ..and p6 isn't going to be here until next**{inf} christmas:) | ||
agentzh | right | ||
Tene | So, can we do source filters in p6 still if we want to? | 19:44 | |
masak | avar: don't say that :( you're making me cry | ||
rindolf | Hi all! Can anyone help with this Prolog problem sial.org/pbot/26119 ? | 19:45 | |
lambdabot | Title: Paste #26119 from "rindolf" at 82.81.175.57 | ||
masak | in a way, p6 is here already | ||
agentzh | fglock: some parts of Grammar.grammar look ugly because PCR has inconsistent calling protocol between named subrules and anonymous subrules :( | ||
Tene: there's macros in Perl 6. | 19:46 | ||
Tene: they're more stable source-filters :) | |||
avar | and you can override the grammar lexically, presumably | 19:47 | |
Tene | agentzh: yes, but how difficult would it be to do a traditional source filter? ;) | ||
agentzh | fglock: it has taken me many hours to get it right ;) | ||
Tene: not sure... | 19:48 | ||
jjore | rindolf: solving for any one word is sufficient. You asked for word(...) OR word(...) OR ... | ||
avar | Tene: as in override the IO layer when it's reading in source files? | ||
rindolf | jjore: ah, I see. | 19:49 | |
19:49
rho joined
|
|||
fglock | agentzh: you should take a look at token-test.pl - p6rx-on-p5rx is close to usable :) | 19:49 | |
agentzh | fglock: yes, i will! | ||
rindolf | jjore: thanks. | 19:50 | |
jjore | np. | ||
avar | fglock: as in via kp6? | ||
rindolf | jjore: I indeed mixed between ";" (OR) and "," (AND). | ||
fglock | avar: yes; but it is portable to PCR | ||
rindolf | jjore: also had a few variable problems. | ||
jjore | sure. | 19:51 | |
avar | fglock: If you get it working well enough kp6 might replace pcr:) | 19:52 | |
agentzh | avar: the parser can be written in kp6 at least | 19:53 | |
fglock | that's the idea | ||
agentzh | fglock: i'll try to find some time to work on a p6 regex tracer with a web UI tomorrow... | 19:55 | |
fglock: we need a good tool to debug grammars, it seems | |||
fglock: not sure how good it will be, but i have some interesting ideas in my head aleady | 19:56 | ||
avar | something like -Mre=debug ? | ||
agentzh | avar: more descriptive | ||
avar | how so? | ||
agentzh | avar: it has a GUI. | ||
avar: it's easier to explain once i can give you a live demo :) | 19:57 | ||
avar: but i can't promise anything but i'd like to try :) | 19:58 | ||
too late to make a PCR release tonight...4am already... | |||
will crash soon... | |||
see you guys "tomorrow"... & | 19:59 | ||
19:59
agentzh left
|
|||
masak | agentzh: 'night | 19:59 | |
20:00
fglock joined
|
|||
fglock | does / (.) $0 := (.) / overwrite $0, or does it capture to an array? | 20:03 | |
masak | fglock: good question. is that covered in the synopses? | 20:06 | |
fglock | kind of - it's a corner case | 20:07 | |
masak | definitely | ||
I don't understand your second alternative fully, it seems magical to me | |||
so I would go for 'overwrite' | 20:08 | ||
fglock | masak: / $<x> := (.) $<x> := (.) / captures to @( $<x> ) | 20:09 | |
masak | oh -- didn't know that | 20:10 | |
fglock | I wonder if positional captures do the same, and to what extent I should care in compile-time | ||
masak | it's not compatible with my current understanding of binding := | ||
seemingly they work differently in regexes | 20:11 | ||
fglock | yes, it's regex named-capture binding | ||
masak | :) | ||
and it still seems magical, but now intentionally so | |||
now the latter alternative seems more plausible to me | 20:12 | ||
I seem to remember there was something wonky with regex array captures | 20:16 | ||
wonder if it ever got fixed... | |||
audreyt wrote an email about it months ago, with an opinion that sounded like sanity compared to the (then) semantics of array capture | 20:17 | ||
I don't know if it has been addressed | 20:18 | ||
here's the thread in question: groups.google.com/group/perl.perl6....d848ac8019 | 20:20 | ||
lambdabot | Title: Motivation for /<alpha>+/ set Array not Match? - perl.perl6.language | Goo ..., tinyurl.com/yub8y7 | ||
masak | anyone know what happened to that issue? last I heard from TimToady was that he needed to discuss it with TheDamian | ||
fglock | masak: yes, that was my idea, but it was not approved | 20:22 | |
masak | fglock: oh, so things are still the way they were before the proposal? | 20:23 | |
is there a discussion recorded somewhere explaining why it wasn't approved? | |||
fglock | I'll take a look | 20:24 | |
masak | upon rereading the thread, it still seems clear to me that the then semantics are strange and surprising | ||
20:29
vel_ joined
|
|||
masak | it's stuff like this that makes me glad p6 is still quite fluid | 20:30 | |
rho is back | |||
masak | there's still room for opinions and improvement | ||
20:42
weinig joined
20:54
lixinso left
21:06
dduncan joined
21:08
weinig joined
21:13
unobe_away is now known as unobe
21:14
justatheory joined
21:17
jisom joined
21:18
vel joined
21:19
iblechbot joined
21:39
vel joined
|
|||
svnbot6 | r16923 | fglock++ | trunk: | 21:42 | |
: [kp6] p5regex - implemented / $<named> := (...) / | |||
pugs_svnbot | r16923 | fglock++ | trunk: | ||
: [kp6] p5regex - implemented / $<named> := (...) / | |||
diff: dev.pugscode.org/changeset/16923 | |||
lambdabot | Title: Changeset 16923 - Pugs - Trac | ||
21:44
Alias__ joined
|
|||
pasteling | "evalbot_r16922" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26122 | 21:46 | |
21:57
avar joined
|
|||
svnbot6 | r16924 | fglock++ | trunk: | 22:00 | |
: [kp6] p5regex - the match-result-interpreter now uses a dispatch table | |||
pugs_svnbot | r16924 | fglock++ | trunk: | ||
: [kp6] p5regex - the match-result-interpreter now uses a dispatch table | |||
diff: dev.pugscode.org/changeset/16924 | |||
lambdabot | Title: Changeset 16924 - Pugs - Trac | ||
22:14
rlb3 joined
22:18
vel joined
22:19
hakobe is now known as hkb_zz
22:20
justatheory joined,
fglock joined
22:39
vel joined
|
|||
svnbot6 | r16925 | fglock++ | trunk: | 22:42 | |
: [kp6] p5regex - named captures can capture to array | |||
pugs_svnbot | r16925 | fglock++ | trunk: | ||
: [kp6] p5regex - named captures can capture to array | |||
diff: dev.pugscode.org/changeset/16925 | |||
lambdabot | Title: Changeset 16925 - Pugs - Trac | ||
pasteling | "evalbot_r16924" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26124 | 22:43 | |
22:50
vel_ joined
|
|||
clkao | seen xdg | 22:55 | |
fglock | clkao: hi | 22:58 | |
clkao | hola | 22:59 | |
fglock | clkao: would you update Sub-Multi in cpan? I've committed a small fix | 23:00 | |
clkao | oh sure | ||
do you want to comaint it? | |||
fglock | sure, but please make the upload this time, if possible | 23:01 | |
clkao | sure | 23:02 | |
fglock | thanks :) | ||
clkao | you've got CHANGES /version etc all set? | ||
you didn't add a failing test for the thing you fixed ;) | 23:03 | ||
jrockway | hmm, is moose using Sub::Multi yet? | ||
that would be pretty cool | |||
fglock | looking | ||
clkao | now again | ||
how the fuck do i generate meta.yml | 23:04 | ||
why does it all stop working | |||
23:04
diakopter_afk is now known as diakopter
|
|||
fglock | clkao: sorry, no tests in Sub::Multi; the failing test belongs to v6.pm | 23:05 | |
jrockway | WriteAll(meta => 1) ? | ||
fglock | dev.pugscode.org/changeset/15766 | ||
jrockway | then rerun Makefile.PL | ||
clkao | right, i mean there should be unit test in s::m :) | ||
lambdabot | Title: Changeset 15766 - Pugs - Trac | ||
clkao | no worky | ||
fglock: there you go | 23:12 | ||
svnbot6 | r16926 | clkao++ | trunk: | ||
: Sub-Multi 0.003 | |||
pugs_svnbot | r16926 | clkao++ | trunk: | ||
: Sub-Multi 0.003 | |||
diff: dev.pugscode.org/changeset/16926 | |||
lambdabot | Title: Changeset 16926 - Pugs - Trac | ||
23:13
bonesss joined
|
|||
fglock | clkao: thank you :) | 23:14 | |
clkao | fglock: you are comaint now as well | ||
23:20
vel joined
|
|||
svnbot6 | r16927 | fglock++ | trunk: | 23:41 | |
: [kp6] | |||
: - added 'perl5rx' target: | |||
: $ perl kp6-perl5.pl --perl5rx < examples/token-test.pl | perl -I lib5regex -I lib | |||
: - same-name captures now correctly capture to array | |||
pugs_svnbot | r16927 | fglock++ | trunk: | 23:42 | |
: [kp6] | |||
: - added 'perl5rx' target: | |||
: $ perl kp6-perl5.pl --perl5rx < examples/token-test.pl | perl -I lib5regex -I lib | |||
: - same-name captures now correctly capture to array | |||
diff: dev.pugscode.org/changeset/16927 | |||
lambdabot | Title: Changeset 16927 - Pugs - Trac | ||
23:54
jameswf joined
23:56
bsb joined
|