Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-07-28

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 bsb joined #perl6
00:05 bacek joined #perl6
00:13 meppl good night
00:15 mncharity g'night meppl
00:15 meppl ;)
00:40 hercynium joined #perl6
00:41 pugs_svn r21587 | putter++ | [rx_on_re] Moving AST emitter methods from p5 to p6.
00:41 mncharity the last few are going to be harder.
00:42 mncharity g'night all &
00:51 Schwern joined #perl6
01:05 PZt joined #perl6
01:12 bsb left #perl6
01:13 pengrate joined #perl6
01:19 pugs_svn r21588 | lwall++ | [STD] avoid infinite redispatch loop
01:22 alester joined #perl6
01:25 LCamel joined #perl6
01:39 pugs_svn r21589 | lwall++ | [STD] let and temp are just lvalue prefixes, not declarators
01:44 z13 joined #perl6
01:46 mizai joined #perl6
01:46 mizai left #perl6
01:46 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:46 lambdabot Consider it noted.
02:19 z13 left #perl6
02:25 meteorjay joined #perl6
02:31 allbery_m joined #perl6
02:33 allbery_m joined #perl6
02:53 justatheory joined #perl6
02:56 Auzon ok, moritz_, I sent the mail
02:56 lambdabot Auzon: You have 1 new message. '/msg lambdabot @messages' to read it.
02:56 Auzon @messages
02:56 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,
02:56 lambdabot 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.
02:58 alester joined #perl6
02:58 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.
02:58 lambdabot Consider it noted.
03:03 allbery_m joined #perl6
03:15 josh joined #perl6
03:17 a-jing joined #perl6
03:17 a-jing left #perl6
03:37 pbuetow_ joined #perl6
03:47 bacek joined #perl6
03:47 pugs_svn r21590 | Auzon++ | [gsoc_spectest] combining some S05 directories
03:55 wknight8111 joined #perl6
04:02 moritz_ joined #perl6
04:06 justatheory joined #perl6
04:08 AzureStone_ joined #perl6
04:11 pugs_svn r21591 | lwall++ | [type-based.t] s/Rule/Regex/
04:18 pugs_svn r21592 | Auzon++ | [gsoc_spectest] moved repeat.t into spec, added more tests (added 11 tests).
04:18 pugs_svn r21592 | Auzon++ | Added more items to TASKS for S05
04:19 Auzon Apparently I also reverted something I didn't think I committed. It works out :)
04:22 Auzon @tell moritz_ Should I remove the todo note on existing tests tagged with :todo<feature> or :todo<bug>?
04:22 lambdabot Consider it noted.
04:22 Auzon lambdabot++
04:25 PZt joined #perl6
04:25 AzureStone joined #perl6
04:26 sri_work joined #perl6
04:32 pugs_svn r21593 | Auzon++ | [gsoc_spectest] litvar.t to spec and more tests. (added 2 tests)
04:32 Auzon sleep &
05:35 Psyche^ joined #perl6
05:35 justatheory joined #perl6
05:35 cathya joined #perl6
06:19 moritz_ @tell Auzon re removing :todo<feature>, replace it with #?pugs todo "feature"
06:19 lambdabot Consider it noted.
06:21 ashizawa joined #perl6
06:33 justatheory joined #perl6
06:51 iblechbot joined #perl6
07:22 barney joined #perl6
07:28 perl7 joined #perl6
07:32 perl7 hi
07:32 moritz_ hi
07:32 lambdabot moritz_: You have 1 new message. '/msg lambdabot @messages' to read it.
07:33 moritz_ lambdabot: I know, that you ;-)
07:44 Schwern joined #perl6
07:56 pugs_svn r21594 | moritz++ | [spec] s/dies_ok/eval_dies_ok/ in S05-metasyntax/repeat.t
07:57 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
07:57 lambdabot Consider it noted.
08:14 donaldh joined #perl6
08:18 elmex joined #perl6
08:35 masak joined #perl6
09:05 pmurias joined #perl6
09:11 wknight8111 joined #perl6
09:14 pmurias TimToady: should just returning an $C->cursor_fresh("newGrammar") from add_macro enough to change the grammar?
09:14 lambdabot pmurias: You have 1 new message. '/msg lambdabot @messages' to read it.
09:15 b_jonas joined #perl6
09:27 chris2 joined #perl6
09:31 Lorn joined #perl6
10:26 meppl joined #perl6
10:31 jferrero joined #perl6
10:31 timbunce joined #perl6
10:36 pmurias TimToady: should just returning an $C->cursor_fresh("newGrammar") from add_macro enough to change the grammar?///
11:37 xinming joined #perl6
11:37 fridim_ joined #perl6
11:57 ruoso joined #perl6
12:03 ruoso good morning
12:03 moritz_ hi ruoso ;)
12:17 ptman joined #perl6
12:21 iblechbot joined #perl6
12:23 kane_ joined #perl6
13:17 cmarcelo joined #perl6
13:27 kanru joined #perl6
13:30 jferrero joined #perl6
13:33 sri_work_ joined #perl6
13:51 TJCRI joined #perl6
13:56 zamanfou joined #perl6
13:56 pl0d joined #perl6
14:20 pugs_svn r21595 | moritz++ | [spec] basic test for open() and iteration over the file handle
14:23 TJCRI left #perl6
14:31 rdice joined #perl6
14:36 hercynium joined #perl6
14:46 rdice_ joined #perl6
14:47 pugs_svn r21596 | moritz++ | [spec] svn props for new test files
14:59 jrockway joined #perl6
15:07 s0ap joined #perl6
15:11 pugs_svn r21597 | fglock++ | [v6.pm] updated TODO list from cpan-testers
15:13 a-jing joined #perl6
15:14 a-jing left #perl6
15:17 pugs_svn r21598 | fglock++ | [v6.pm] 0.029
15:20 Auzon nice idea about the syntax highlighter, moritz_++ :)
15:20 lambdabot Auzon: You have 2 new messages. '/msg lambdabot @messages' to read them.
15:20 Auzon I wonder if it's possible to get Vim or Kate able to use an external highlighter somehow.
15:20 frobnitz joined #perl6
15:20 Auzon @messages
15:20 lambdabot moritz_ said 9h 49s ago: re removing :todo<feature>, replace it with #?pugs todo "feature"
15:20 lambdabot 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
15:21 moritz_ Auzon: I already use Vim as external syntax hilighter
15:21 moritz_ Text::VimColor IIRc
15:21 Auzon I meant having Vim use a STD.pm-backed highlighter.
15:21 moritz_ oh that. Dunno
15:21 TimToady @@tell pmurias yes, that is how you switch to a different language; the "interesting" parts relate to derivation and optimization
15:22 TimToady Auzon: it would currently be quite slow...
15:22 TimToady still takes 2 minutes to parse STD.pm even with the cache loaded
15:23 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:24 TimToady a robust, fast dfa engine will help a lot
15:24 moritz_ maybe you can steal the one from TCL?
15:24 TimToady so will optimizing out all the unnecessary lazy lists
15:24 TimToady has to be able to tell you which alternative matched
15:25 TimToady most dfa engines don't
15:25 jhorwitz joined #perl6
15:56 pmurias joined #perl6
15:56 pmurias ruoso: hi
15:59 Exodist joined #perl6
16:23 meppl joined #perl6
16:38 [particle]1 joined #perl6
16:42 kanru joined #perl6
17:20 justatheory joined #perl6
17:28 cjfields joined #perl6
17:46 kanru joined #perl6
18:00 donaldh joined #perl6
18:00 iblechbot joined #perl6
18:01 ruoso pmurias, hi
18:11 meppl joined #perl6
18:25 BinGOs_ joined #perl6
18:25 pmurias ruoso: what is the alternative to using gimme5 for sm0p?
18:29 ruoso pmurias, what do you mean?
18:32 pmurias what other parsers engine run perl6 grammars
18:32 pmurias * parser engines
18:32 pmurias ?
18:32 * ruoso don't really know ;)
18:35 pmurias found a workaround :)
18:36 pmurias nested sm0p frames will be {...} instead of q:sm0p {...}
18:38 pmurias walk&
18:48 jferrero joined #perl6
19:35 perlbot joined #perl6
19:58 pugs_svn r21599 | Auzon++ | [gsoc_spectest] added new angle-brackets.t file to test all <...> forms (2/3s completed). (added 25 tests)
19:58 Schwern joined #perl6
19:59 moritz_ Auzon++ # systematic tests
20:07 Auzon I would've completed the rest, but I need to write up my report and take a break.
20:07 moritz_ speaking of reporting... I'll be offline during the next two weeks, roughly
20:08 moritz_ (vacations, YaY)
20:08 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:09 moritz_ why? to get a better idea for what's actually covered?
20:09 Auzon Yes, and some things require external code (like using variables or calling subroutines in it)
20:10 [particle]1 auzon: have you looked at parrot's pge tests?
20:11 [particle] there are many tests for s05-related syntax
20:11 [particle] split into multiple files
20:11 Auzon [particle]: No, I have not. Would it make sense to put them into the Pugs repo?
20:12 moritz_ t/compilers/pge/perl6regex/
20:13 Auzon This looks a lot like the t/regex/p6regex/regex_tests file in Pugs
20:15 Auzon but it's a whole lot longer, so presumably more comprehensive. Is it maintained?
20:15 moritz_ I'm quite sure, it's run as part of the ordinary parrot test suite
20:15 moritz_ the question is more "is the syntax still identical to Perl 6?"
20:16 [particle] yes, it's maintained
20:16 [particle] if it's out of date (perhaps \d is) then it must be updated
20:17 Auzon Is it meant to be identical to S05 syntax?
20:17 [particle] yes, everything under perl6regex/
20:17 moritz_ Auzon: yes, but PGE traditionally updates slower than S05 ;-)
20:18 [particle] these tests were created (mainly by me) long before it was possible to write in perl 6
20:19 Auzon If I see any changes, I should send patches to rakudobug, correct?
20:19 [particle] no, those are parrot tests, so parrotbug
20:20 Auzon OK, sounds good.
20:20 [particle] if you wish to use them for perl 6 (put them in the spectest suite) then they should be copied there
20:20 pugs_svn r21600 | fglock++ | [v6.pm] added bare sigils
20:21 [particle] for example, parrot has p5regex tests copied from perl 5.9.4
20:21 Auzon There are a lot of those in pugs/t as well.
20:22 Lorn joined #perl6
20:31 wknight8111 joined #perl6
20:33 pmurias TimToady: how much slower would STD be withought autolexing?
20:35 Auzon Is it accurate to say that PGE is based on Perl 6 rules?
20:35 moritz_ I'd say it implements Perl 6 rules
20:35 moritz_ but isn't 100% up-to-date
20:36 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:47 pugs_svn r21601 | fglock++ | [v6.pm] more operators
20:49 [particle] auzon: pge is parrot's grammar engine
20:49 hercynium joined #perl6
20:49 [particle] it has a perl 6 regex front end, and a perl 5 regex front end.
20:50 [particle] it could also someday have a bnf front end, but i never got the tuits
20:50 [particle] errands &
21:00 * ruoso home &
21:00 pmurias @tell ruoso $interpreter.goto({$io.print("#1")}) should print #1?
21:00 lambdabot Consider it noted.
21:21 donaldh_ joined #perl6
21:23 timbunce joined #perl6
22:10 armagad joined #perl6
22:23 Limbic_Region joined #perl6
22:24 Schwern joined #perl6
22:27 spencer joined #perl6
22:50 Lorn_ joined #perl6
23:10 Lorn joined #perl6
23:36 armagad joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo