pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by TimToady on 25 January 2008.
00:00 fridim_ left, elmex left 00:10 bsb joined, bacek joined
meppl good night 00:19
mncharity g'night meppl 00:20
meppl ;)
00:26 meppl left 00:30 REPLeffect left 00:45 hercynium joined
pugs_svn r21587 | putter++ | [rx_on_re] Moving AST emitter methods from p5 to p6. 00:46
mncharity the last few are going to be harder. 00:47
g'night all &
00:47 mncharity left 00:57 Schwern joined 00:59 nipotaway is now known as nipotan 01:11 PZt joined 01:17 bsb left 01:18 pengrate left 01:19 pengrate joined 01:20 Schwern left
pugs_svn r21588 | lwall++ | [STD] avoid infinite redispatch loop 01:25
01:28 alester joined 01:31 LCamel joined
pugs_svn r21589 | lwall++ | [STD] let and temp are just lvalue prefixes, not declarators 01:45
01:50 z13 joined 01:51 mizai joined, mizai left
TimToady @tell pmurias you may work on macros if you like. there's an add_macro stub in Cursor.pmc already. it's called from deflongname currently, but we'll have to figure out how to attach traits like precedence 01:51
lambdabot Consider it noted.
01:59 icwiener_ left 02:18 justatheory left 02:23 Limbic_Region left 02:24 z13 left 02:29 meteorjay left 02:30 meteorjay joined 02:36 allbery_m joined, allbery_m left 02:38 allbery_m joined 02:39 allbery_m left 02:53 alester left 02:58 justatheory joined
Auzon ok, moritz_, I sent the mail 03:01
lambdabot Auzon: You have 1 new message. '/msg lambdabot @messages' to read it.
Auzon @messages
lambdabot mncharity said 4h 10m 26s ago: re reading lines, a cautionary tale - I've squandered a scary amount of life attempting workarounds for pugsbugs. Man months. Given that rakudo is actively developed,
I suggest you try applying a very low threshold to asking "rakudo folks: I need to do X - can you find me a way to do it that works?", and shift to some unblocked aspect of test writing.
03:03 alester joined
Auzon @tell mncharity Thanks for your insight. I usually don't spend much time on working around bugs, but this one had the potential of a high payoff since it would add a ton of regex tests in one spot, making it easy to identify what is tested. 03:03
lambdabot Consider it noted.
03:07 justatheory left 03:08 allbery_m joined 03:09 allbery_m left, wknight8111 left 03:10 rlb3_ left 03:20 josh left 03:21 josh joined, sri_work_ left 03:22 a-jing joined 03:23 a-jing left 03:43 pbuetow_ joined 03:44 hercynium left 03:46 bacek left 03:48 bacek joined
pugs_svn r21590 | Auzon++ | [gsoc_spectest] combining some S05 directories 03:50
03:54 pbuetow left 04:00 moritz_ left 04:01 wknight8111 joined 04:08 moritz_ joined 04:10 kanru left 04:12 justatheory joined 04:13 AzureStone_ joined 04:14 AzureStone left
pugs_svn r21591 | lwall++ | [type-based.t] s/Rule/Regex/ 04:16
r21592 | Auzon++ | [gsoc_spectest] moved repeat.t into spec, added more tests (added 11 tests). 04:23
r21592 | Auzon++ | Added more items to TASKS for S05
Auzon Apparently I also reverted something I didn't think I committed. It works out :) 04:24
@tell moritz_ Should I remove the todo note on existing tests tagged with :todo<feature> or :todo<bug>? 04:27
lambdabot Consider it noted.
Auzon lambdabot++ 04:28
04:29 PZt left 04:30 PZt joined, AzureStone joined 04:32 sri_work joined
pugs_svn r21593 | Auzon++ | [gsoc_spectest] litvar.t to spec and more tests. (added 2 tests) 04:38
Auzon sleep &
04:38 justatheory left, wknight8111 left 04:47 AzureStone_ left 05:37 meteorjay left 05:40 Psyche^ joined, justatheory joined, cathya joined 05:42 justatheory left 05:55 Patterner left, Psyche^ is now known as Patterner
moritz_ @tell Auzon re removing :todo<feature>, replace it with #?pugs todo "feature" 06:25
lambdabot Consider it noted.
06:27 ashizawa joined 06:38 justatheory joined 06:40 justatheory left 06:49 Chillance left 06:56 iblechbot joined 07:18 alester left 07:28 barney joined 07:34 perl7 joined 07:37 pbuetow_ left
perl7 hi 07:37
moritz_ hi
lambdabot moritz_: You have 1 new message. '/msg lambdabot @messages' to read it.
moritz_ lambdabot: I know, that you ;-) 07:38
07:49 bbkr left, Schwern joined 07:51 ingyfoo is now known as ingy
pugs_svn r21594 | moritz++ | [spec] s/dies_ok/eval_dies_ok/ in S05-metasyntax/repeat.t 08:02
moritz_ @tell Auzon I think now it's worth to check the syntax of new test files with src/perl6/tryfile, it catches more syntax error than it misparses
lambdabot Consider it noted.
08:19 donaldh joined 08:24 elmex joined 08:41 masak joined 08:42 perl7 left 08:45 bacek left 08:53 Lorn_ left 09:11 pmurias joined 09:16 wknight8111 joined
pmurias TimToady: should just returning an $C->cursor_fresh("newGrammar") from add_macro enough to change the grammar? 09:19
lambdabot pmurias: You have 1 new message. '/msg lambdabot @messages' to read it.
09:20 b_jonas joined 09:33 chris2 joined 09:34 Arathorn left 09:36 Lorn joined 10:07 wknight8111 left 10:31 meppl joined 10:36 jferrero joined 10:37 timbunce joined
pmurias TimToady: should just returning an $C->cursor_fresh("newGrammar") from add_macro enough to change the grammar?/// 10:41
10:41 pmurias left 11:22 nipotan is now known as nipotaway 11:34 iblechbot left 11:41 xinming left 11:42 xinming joined 11:43 fridim_ joined 12:02 ruoso joined
ruoso good morning 12:08
moritz_ hi ruoso ;) 12:09
12:22 ptman joined 12:27 iblechbot joined 12:28 kane_ joined 12:30 zamanfou left 12:41 pl0d left 13:01 ashizawa left 13:20 jferrero left 13:22 cmarcelo joined 13:32 kanru joined 13:35 jferrero joined 13:39 sri_work_ joined 13:47 sri_work left 13:54 AndyAway is now known as alester 13:56 TJCRI joined 14:01 zamanfou joined 14:02 pl0d joined 14:04 kanru left 14:07 Lorn left 14:14 jferrero left
pugs_svn r21595 | moritz++ | [spec] basic test for open() and iteration over the file handle 14:25
14:27 timbunce left 14:29 TJCRI left 14:36 rdice joined 14:41 hercynium joined 14:51 rdice_ joined, rdice left
pugs_svn r21596 | moritz++ | [spec] svn props for new test files 14:53
15:04 jrockway left 15:05 jrockway joined 15:12 s0ap joined
pugs_svn r21597 | fglock++ | [v6.pm] updated TODO list from cpan-testers 15:17
15:18 a-jing joined 15:20 a-jing left 15:21 meppl left
pugs_svn r21598 | fglock++ | [v6.pm] 0.029 15:23
Auzon nice idea about the syntax highlighter, moritz_++ :) 15:25
lambdabot Auzon: You have 2 new messages. '/msg lambdabot @messages' to read them.
Auzon I wonder if it's possible to get Vim or Kate able to use an external highlighter somehow. 15:26
15:26 frobnitz joined
Auzon @messages 15:26
lambdabot moritz_ said 9h 49s ago: re removing :todo<feature>, replace it with #?pugs todo "feature"
moritz_ said 7h 23m 35s ago: I think now it's worth to check the syntax of new test files with src/perl6/tryfile, it catches more syntax error than it misparses
moritz_ Auzon: I already use Vim as external syntax hilighter
Text::VimColor IIRc
Auzon I meant having Vim use a STD.pm-backed highlighter. 15:27
moritz_ oh that. Dunno
TimToady @@tell pmurias yes, that is how you switch to a different language; the "interesting" parts relate to derivation and optimization
Auzon: it would currently be quite slow...
still takes 2 minutes to parse STD.pm even with the cache loaded 15:28
Auzon Yeah, that's a bit long, but I imagine you haven't done any optimizations, and if you run it on Rakudo or something like that, it'd be fast enough 15:29
TimToady a robust, fast dfa engine will help a lot
moritz_ maybe you can steal the one from TCL?
TimToady so will optimizing out all the unnecessary lazy lists
has to be able to tell you which alternative matched 15:30
most dfa engines don't
15:30 jhorwitz joined 15:56 barney left 16:02 pmurias joined
pmurias ruoso: hi 16:02
16:04 Exodist joined 16:28 meppl joined 16:43 [particle]1 joined 16:47 kanru joined 17:01 [particle] left 17:12 s0ap left 17:13 iblechbot left 17:16 masak left 17:18 mofino left 17:26 justatheory joined 17:34 cjfields joined 17:43 kanru left 17:51 kanru joined 17:55 meppl left 18:05 donaldh left, donaldh joined 18:06 iblechbot joined
ruoso pmurias, hi 18:07
18:16 meppl joined 18:30 BinGOs_ joined
pmurias ruoso: what is the alternative to using gimme5 for sm0p? 18:31
18:32 BinGOs left, BinGOs_ is now known as BinGOs
ruoso pmurias, what do you mean? 18:34
pmurias what other parsers engine run perl6 grammars 18:37
* parser engines 18:38
?
ruoso don't really know ;)
pmurias found a workaround :) 18:41
nested sm0p frames will be {...} instead of q:sm0p {...}
walk& 18:43
18:47 justatheory left 18:48 breinbaas left 18:53 jferrero joined 19:08 apeiron_ is now known as apeiron 19:28 Schwern left 19:40 perlbot joined 20:03 hercynium left
pugs_svn r21599 | Auzon++ | [gsoc_spectest] added new angle-brackets.t file to test all <...> forms (2/3s completed). (added 25 tests) 20:03
20:04 Schwern joined
moritz_ Auzon++ # systematic tests 20:04
Auzon I would've completed the rest, but I need to write up my report and take a break. 20:12
moritz_ speaking of reporting... I'll be offline during the next two weeks, roughly 20:13
(vacations, YaY)
Auzon I'm almost thinking that it'd make more sense to divide up that 535 test file (or otherwise organize them) instead of moving it as-is 20:14
moritz_ why? to get a better idea for what's actually covered?
Auzon Yes, and some things require external code (like using variables or calling subroutines in it) 20:15
[particle]1 auzon: have you looked at parrot's pge tests? 20:16
20:16 [particle]1 is now known as [particle]
[particle] there are many tests for s05-related syntax 20:16
split into multiple files
Auzon [particle]: No, I have not. Would it make sense to put them into the Pugs repo? 20:17
moritz_ t/compilers/pge/perl6regex/ 20:18
Auzon This looks a lot like the t/regex/p6regex/regex_tests file in Pugs 20:19
but it's a whole lot longer, so presumably more comprehensive. Is it maintained? 20:20
moritz_ I'm quite sure, it's run as part of the ordinary parrot test suite
the question is more "is the syntax still identical to Perl 6?" 20:21
[particle] yes, it's maintained 20:22
if it's out of date (perhaps \d is) then it must be updated
Auzon Is it meant to be identical to S05 syntax?
[particle] yes, everything under perl6regex/ 20:23
moritz_ Auzon: yes, but PGE traditionally updates slower than S05 ;-)
[particle] these tests were created (mainly by me) long before it was possible to write in perl 6 20:24
Auzon If I see any changes, I should send patches to rakudobug, correct?
[particle] no, those are parrot tests, so parrotbug 20:25
Auzon OK, sounds good.
[particle] if you wish to use them for perl 6 (put them in the spectest suite) then they should be copied there
pugs_svn r21600 | fglock++ | [v6.pm] added bare sigils 20:26
[particle] for example, parrot has p5regex tests copied from perl 5.9.4
Auzon There are a lot of those in pugs/t as well. 20:27
20:28 Lorn joined 20:35 cjfields left 20:37 wknight8111 joined
pmurias TimToady: how much slower would STD be withought autolexing? 20:39
Auzon Is it accurate to say that PGE is based on Perl 6 rules? 20:40
moritz_ I'd say it implements Perl 6 rules
but isn't 100% up-to-date 20:41
Auzon The way that the PGE tests are organized was something I had in mind when I mentioned splitting up the t/regex/p6regex/regex_tests file earlier. 20:42
20:45 chris2 left
pugs_svn r21601 | fglock++ | [v6.pm] more operators 20:53
[particle] auzon: pge is parrot's grammar engine 20:54
20:55 hercynium joined
[particle] it has a perl 6 regex front end, and a perl 5 regex front end. 20:55
it could also someday have a bnf front end, but i never got the tuits
errands & 20:56
ruoso home & 21:05
21:05 ruoso left
pmurias @tell ruoso $interpreter.goto({$io.print("#1")}) should print #1? 21:06
lambdabot Consider it noted.
21:10 Schwern left 21:26 rdice_ left 21:27 donaldh_ joined 21:29 timbunce joined 21:32 donaldh left, donaldh_ is now known as donaldh 21:45 jhorwitz left 21:46 iblechbot left 22:15 cathya left, armagad joined 22:27 timbunce left 22:28 Limbic_Region joined 22:30 Schwern joined 22:32 spencer joined 22:49 pmurias left, donaldh left 22:55 Lorn_ joined 23:02 Exodist left 23:06 Lorn left 23:16 Lorn joined 23:20 fridim_ left 23:26 cmarcelo left 23:40 armagad left 23:41 armagad joined 23:42 Schwern left