pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
pugs_svnbot r17752 | azawawi++ | [p6_syntax_highlighter] multi-line C comments removed, test example updated 03:43
diff: dev.pugscode.org/changeset/17752
lambdabot Title: Changeset 17752 - Pugs - Trac
pugs_svnbot r17753 | azawawi++ | [p6_syntax_highlighter] Smaller minified JS versions added/updated 04:19
diff: dev.pugscode.org/changeset/17753
lambdabot Title: Changeset 17753 - Pugs - Trac
ahmadz @messages 04:21
lambdabot You don't have any new messages.
ahmadz ?eval say "test" 04:34
pugs_svnbot r17754 | azawawi++ | [p6_syntax_highlighter] minified/uncompressed JS version updated
diff: dev.pugscode.org/changeset/17754
lambdabot Title: Changeset 17754 - Pugs - Trac
pugs_svnbot r17755 | fglock++ | [mp6] fixed a flag in the regex engine 12:10
diff: dev.pugscode.org/changeset/17755
lambdabot Title: Changeset 17755 - Pugs - Trac
pugs_svnbot r17756 | fglock++ | [kp6] implemented simple variable interpolation in strings; 12:26
r17756 | fglock++ | added prefix:<~>
diff: dev.pugscode.org/changeset/17756
lambdabot Title: Changeset 17756 - Pugs - Trac
masak pugs: "hello" ~~ /l/; $/.pos 13:17
exp_evalbot OUTPUT[*** No such method in class Match: "&pos"␤ at /tmp/D83eOOi0zg line 1, column 17 - line 2, column 1␤]
masak exp_evalbot: right. I forgot 13:18
that's not implemented yet
fglock kp6: my $x = 'World'; say "hello, $x" 13:24
exp_evalbot r17756: OUTPUT[hello, World␤]
ahmadz hi there 13:29
moritz_ hi
lambdabot moritz_: You have 1 new message. '/msg lambdabot @messages' to read it.
moritz_ @massages 13:30
lambdabot ahmadz said 9h 6m 27s ago: Check out feather.perl6.nl:8096/p6_syntax_highlighter/
ahmadz ;-)
i like this lamddabot
masak hi ahmadz
ahmadz hi masak,moritz
moritz_ ahmadz: I saw it in the repo...
masak fglock++ # string interpolation
moritz_ ahmadz: how do you parse p6? 13:31
ahmadz im using syntaxhiglighter regexp...
javascript regexp...
sort of a plugin
moritz_ does it hurt?
ahmadz it is slow
but pretty perl5 like
moritz_ if you want a _real_ test, run STD.pm through it ;-) 13:32
ahmadz 100+ lines is slow
keywords are matched like regexp's so p6 has lots of them... thus it is slower than ruby/python... 13:33
svn.pugscode.org/pugs/misc/p6_synta...shPerl6.js
lambdabot tinyurl.com/ysaflj
moritz_ ahmadz: anyway, cool project ;-) 13:34
ahmadz++
ahmadz ty
next stop runpugs with p6_syntax_highlighter...
moritz_ ahmadz: I found no LICENSE file or whatever... it is "same terms as perl"? 13:36
ahmadz im new ;-) 13:39
ahmadz and it was late... 13:39
fglock is the internal representation of "\n" documented?
moritz_ well, syntaxhilighter is GPL, so it might be GPL automatically
ahmadz i will add a LICENSE right away; anything else i should touch? 13:40
moritz_ did you add the right svn mime types? 13:42
pugs_svnbot r17757 | azawawi++ | [p6_syntax_highlighter] license is GPL as its parent project
diff: dev.pugscode.org/changeset/17757
lambdabot Title: Changeset 17757 - Pugs - Trac
fglock found it (s02) 13:46
pugs_svnbot r17758 | azawawi++ | added ahmad zawawi in english/arabic 13:51
diff: dev.pugscode.org/changeset/17758
lambdabot Title: Changeset 17758 - Pugs - Trac
ahmadz any ideas on how to make runpugs better? 13:54
moritz_ it's a bit weird that the cursor jumps to the top of the box when I press the pageUp key 14:09
cj hey folks 14:22
moritz_ hey cj ;) 14:25
Sizur > reverse . show $ foldl1 (*) [1..4] 15:05
lambdabot "42"
pugs_svnbot r17759 | moritz++ | added my cpan ID to AUTHORS 15:11
diff: dev.pugscode.org/changeset/17759
lambdabot Title: Changeset 17759 - Pugs - Trac
pugs_svnbot r17760 | fglock++ | [kp6] implemented "\n" 16:12
diff: dev.pugscode.org/changeset/17760
lambdabot Title: Changeset 17760 - Pugs - Trac
pugs_svnbot r17761 | fglock++ | [kp6] more string quoting 16:39
diff: dev.pugscode.org/changeset/17761
lambdabot Title: Changeset 17761 - Pugs - Trac
ruoso fglock, take a look at the new test I've just commited 17:07
pugs_svnbot r17762 | ruoso++ | [kp6] new failing test... one of the reasons kp6 cant compile its grammar anymore
diff: dev.pugscode.org/changeset/17762
lambdabot Title: Changeset 17762 - Pugs - Trac
fglock looking
ruoso I think it's related to the p5 tokens 17:11
ruoso gah... I hate pressing ctrl+alt+backspace by accident 17:14
fglock ruoso: it looks like $/ is a syntax error 17:15
ruoso fglock, I mean
besides that
if you change that to $<digits>
it will fail because "digit" is not defined
and it looks that digit is a p5 token
fglock digit is a runtime method 17:18
ruoso yeah, I know
and it's not implementing kp6 semantics
ruoso but anyway... 17:20
pugs_svnbot r17763 | fglock++ | [kp6] reimplemented $/ ???
diff: dev.pugscode.org/changeset/17763
lambdabot Title: Changeset 17763 - Pugs - Trac
ruoso every grammar should inherit the regex grammar 17:21
\d is global
fglock yes, it is the base grammar 17:26
fglock you can declare the inheritance explicitly for now 17:27
ruoso I think the test is now closer to the real problem
pugs_svnbot r17764 | ruoso++ | [kp6] more details on the test... now fails just like the grammar
diff: dev.pugscode.org/changeset/17764
lambdabot Title: Changeset 17764 - Pugs - Trac
ruoso it seems to reproduce the same exact problem that Grammar.pm does
the problem is really in token p5 17:29
fglock i don't think you should use token p5 in 6-in-6 17:30
ruoso fglock, it's still not 6-in-6
it's just plain kp6 17:31
I think it's using p5 tokens anyway
and that's why it's failing
at least it doesn't die in the grammar any more
pugs_svnbot r17765 | ruoso++ | [kp6] recompiled grammar after $/ reimplementation 17:39
diff: dev.pugscode.org/changeset/17765
ruoso fglock, is Perl5/Match.pm still used in kp6-mp6? 17:43
I was looking at the differences between kp6-mp6 and kp6-kp6
and this is one of them
fglock ruoso: not sure - i have not been working on the regex engine for a while 17:44
ruoso fglock, hmm.. just saw... it's still used 17:47
it's in kp6-kp6 that it gone away
only the p6 version was preserved
I'll document the differences between kp6-mp6 and kp6-kp6 17:49
ruoso fglock, I think I found a way to get together the two dirs again 17:56
pugs_svnbot r17766 | ruoso++ | [kp6] merging -r17738:HEAD... made some backmerges to simplify the differences between kp6-kp6 and kp6-mp6... documented the differences in README...
diff: dev.pugscode.org/changeset/17766
lambdabot Title: Changeset 17766 - Pugs - Trac
ruoso we only need to divert KindaPerl6::Runtime::Perl5::Runtime
we need to make a KindaPerl6::Runtime::Perl5::KP6Runtime 17:57
and change kp6-kp6 to use itt
fglock oops 17:58
pugs_svnbot r17767 | ruoso++ | [kp6] moving on to merge back everything to a single directory 18:02
diff: dev.pugscode.org/changeset/17767
lambdabot Title: Changeset 17767 - Pugs - Trac
pugs_svnbot r17768 | ruoso++ | [kp6] now we only need to change the Makefile and the runnable scripts 18:05
diff: dev.pugscode.org/changeset/17768
lambdabot Title: Changeset 17768 - Pugs - Trac
pugs_svnbot r17769 | fglock++ | [kp6] fixed array, hash interpolation 18:08
diff: dev.pugscode.org/changeset/17769
lambdabot Title: Changeset 17769 - Pugs - Trac
moritz_ kp6: my @a; @a[1]=2; @a[0]=3; say "foo @a"; 18:26
exp_evalbot r17769: OUTPUT[foo @a␤]
moritz_ kp6: say "foo\nbar" 18:28
exp_evalbot r17769: OUTPUT[foo␤bar␤]
moritz_ fglock++ # string interpolation 18:28
kp6: my %a= ( b => 3); say "foo %a";
exp_evalbot r17769: OUTPUT[no method 'hash' in Class 'Pair'␤]
moritz_ kp6: my $a= ( b => 3); say "foo $a"; 18:29
exp_evalbot r17769: OUTPUT[foo b 3␤]
fglock kp6: my @a; @a[1]=2; @a[0]=3; say "foo @a[]"; 18:29
exp_evalbot r17769: OUTPUT[foo 3 2␤]
fglock square brackets are required for disambiguation with mail addresses 18:30
moritz_ is that in the spec? 18:31
fglock s02, i think 18:31
moritz_ kp6: say "foo \$bar";
exp_evalbot r17769: OUTPUT[foo $bar␤]
moritz_ ah, found it, thanks fglock ;) 18:32
S02:2311 18:34
fglock kp6: my %a= ( b => 3); say "foo %a{} "; 18:38
pugs_svnbot r17770 | fglock++ | [kp6] fixed pair-to-hash conversion
diff: dev.pugscode.org/changeset/17770
exp_evalbot r17769: OUTPUT[no method 'hash' in Class 'Pair'␤]
lambdabot Title: Changeset 17770 - Pugs - Trac
fglock kp6: my %a= ( b => 3); say "foo %a{} ";
exp_evalbot r17769: OUTPUT[no method 'hash' in Class 'Pair'␤]
moritz_ fglock: kp6 evaluator is only updated every $n minutes
$n being 3..5 or something
fglock ok!
moritz_ kp6: my %a= ( b => 3); say "foo %a{} " 18:39
exp_evalbot r17770: OUTPUT[foo HASH(0x84c0620) ␤]
fglock broken 18:42
pugs_svnbot r17771 | fglock++ | [kp6] more Pair conversions
diff: dev.pugscode.org/changeset/17771
lambdabot Title: Changeset 17771 - Pugs - Trac
moritz_ kp6: my %a= ( b => 3); say "foo %a{} " 18:44
exp_evalbot r17771: OUTPUT[foo HASH(0x84c30f0) ␤]
moritz_ it's up to date
fglock moritz_: looking 18:48
pugs_svnbot r17772 | fglock++ | [kp6] simplified int/str 19:25
diff: dev.pugscode.org/changeset/17772
lambdabot Title: Changeset 17772 - Pugs - Trac
pugs_svnbot r17773 | fglock++ | [kp6] minor fixes in GLOBAL 19:39
diff: dev.pugscode.org/changeset/17773
lambdabot Title: Changeset 17773 - Pugs - Trac
pugs_svnbot r17774 | ruoso++ | [kp6] lib-kp6-kp6 and lib-kp6-mp6 merged to a single dir 19:42
r17775 | ruoso++ | [kp6] last compiled version
diff: dev.pugscode.org/changeset/17775
lambdabot Title: Changeset 17775 - Pugs - Trac
pugs_svnbot r17776 | ruoso++ | [kp6] lib-kp6-mp6 is now lib again 19:45
diff: dev.pugscode.org/changeset/17776
lambdabot Title: Changeset 17776 - Pugs - Trac
pugs_svnbot r17777 | ruoso++ | [kp6] last compiled version 19:51
diff: dev.pugscode.org/changeset/17777
lambdabot Title: Changeset 17777 - Pugs - Trac
pugs_svnbot r17778 | ruoso++ | [kp6] renaming KP6Runtime to KP6Runtime.pm 19:54
r17779 | fglock++ | [kp6] added examples/interpolation.pl; needs some work
diff: dev.pugscode.org/changeset/17779
lambdabot Title: Changeset 17779 - Pugs - Trac
pugs_svnbot r17780 | ruoso++ | [kp6] adding two files that were missing 19:57
diff: dev.pugscode.org/changeset/17780
lambdabot Title: Changeset 17780 - Pugs - Trac
hirschnase will it blend? that is the question! will perl6 blend? 20:10
or will the water bears rule the world? 20:11
Juerd Perl 6 blends nicely.
Better than an iPod anyway.
hirschnase lol