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. |
|||
dolmen | your test is breaking the rakudo patch I just sent :( | 00:00 | |
pmichaud | yes, that's why I did it. :-) | ||
I've fixed the patch. | 00:01 | ||
just running spectest_regression on it now, then will commit. | |||
dolmen | how much time left? | 00:05 | |
pmichaud | just finished.... committing now | ||
dolmen will have a good night :) | |||
rakudo_svn | r27835 | pmichaud++ | [rakudo]: | 00:07 | |
r27835 | pmichaud++ | * Add an implementation of infix:<xx>, from RT#54870 (dolmen++) | |||
r27835 | pmichaud++ | * Patch courtesy Olivier Mengu?\195?\169 <olivier.mengue at gmail.com> | |||
r27835 | pmichaud++ | * One minor change to handle negative repetition values. | |||
pmichaud | time for some dinner. | 00:08 | |
bbl. | |||
dolmen | time for sleep. | 00:11 | |
bye | |||
Auzon | It seems smartlinks cannot be included in multiple Spec files at once. | 00:16 | |
00:16
FurnaceBoy joined
|
|||
Auzon | or maybe they can, if they are adjacent. | 00:21 | |
perl6: say @*INC | 00:23 | ||
exp_evalbot | kp6: OUTPUT[ā¤] | ||
..pugs: OUTPUT[ā¤] | |||
..rakudo: OUTPUT[ā¤] | |||
..elf: OUTPUT[.ā¤] | |||
Auzon | TimToady: (or anyone else) @*INC isn't mentioned anywhere in the specs. I thought it would be in S02 somewhere under Names and Variables. Is it still named @*INC? | 00:26 | |
TimToady: I see tests for #line directives and $?POSITION, as well as $?CALLER::POSITION (see t/magicals/line_basic.t and t/magicals/caller_pos.t), but I do not see them in the specs anywhere. | 00:28 | ||
pugs_svnbot | r20547 | Auzon++ | [gsoc_spectest] Test reorganization. | 00:30 | |
00:33
ruoso left
00:36
dolmen left
|
|||
pugs_svnbot | r20548 | Auzon++ | [gsoc_spectest] added tests for existence of PERLVER, OS, OSVER variables. | 00:42 | |
r20549 | Auzon++ | [gsoc_spectest] tabs to spaces. | 00:45 | ||
Auzon | pugs: say :10<:2<1.1>> | 00:46 | |
exp_evalbot | OUTPUT[21.1ā¤] | ||
Auzon | pugs: say :2<1.1> | ||
exp_evalbot | OUTPUT[1.5ā¤] | ||
Auzon | pugs: say :2<1000> | ||
exp_evalbot | OUTPUT[8ā¤] | ||
Auzon | pugs: say :16(:2<10000>) | 00:47 | |
exp_evalbot | OUTPUT[22ā¤] | ||
Auzon | hm. | ||
00:55
FurnaceBoy left
01:02
bacek joined
|
|||
bacek | perl6: say int(-0.5) | 01:03 | |
exp_evalbot | kp6: OUTPUT[syntax error at position 7, line 1 column 7:ā¤say int(-0.5ā¤ ^ HEREā¤] | ||
..pugs: OUTPUT[0ā¤] | |||
..rakudo: OUTPUT[-0ā¤] | |||
..elf: OUTPUT[syntax error at (eval 14) line 3, near "))"ā¤ at ./elf_f_faster line 4456ā¤] | |||
01:04
baest left
01:11
eternaleye left
|
|||
bacek | pugs: use Test; my @p = (1..3); is(pop @p, 3, 'match'); | 01:16 | |
exp_evalbot | OUTPUT[pugs: *** Unsafe function 'use' called under safe modeā¤ at /tmp/Arb8o5TYUO line 1, column 1ā¤] | ||
bacek | pugs: my @p = (1..3); is(pop @p, 3, 'match') | 01:17 | |
exp_evalbot | OUTPUT[*** No such subroutine: "&is"ā¤ at /tmp/zdJqdQJPkl line 1, column 17 - line 2, column 1ā¤] | ||
bacek | pugs: sub is($a,$b) { say $a == $b }; my @p = (1..3); is(pop @p, 3) | ||
exp_evalbot | OUTPUT[1ā¤] | ||
01:21
bacek left
01:24
Limbic_Region left
01:25
Ched- left,
Ched- joined
01:31
bacek joined,
eternaleye joined
01:33
agentzh left
01:34
ting_ left
01:45
bacek__ joined
01:58
bacek left
02:02
kanru left
02:03
elmex left
02:16
zakame_ joined
02:17
zakame_ left
02:18
Eevee left
02:19
alanhaggai joined
02:23
nipotaway is now known as nipotan
02:46
alanhaggai_ joined
02:47
alanhaggai left,
alanhaggai_ is now known as alanhaggai
02:54
agentzh joined,
ting joined
|
|||
diakopter | Auzon: [do you know whether] are there currently tests for $_ (testing things that set it; getting it) | 03:06 | |
Auzon | I don't currently know, but ack can answer me quickly. | ||
There are some in t/var/default_scalar.t .... looking for more | 03:07 | ||
diakopter | S05 mentions how rules interact with it | 03:08 | |
Auzon | A lot of test cases use $_ for shorthand, but the one I mentioned seemed to be the only test of it as a special variable. | 03:09 | |
There are some test testing 'for'. | |||
diakopter | I wonder if the "is topic" property is still specified | 03:10 | |
Auzon | an ack says no. | 03:11 | |
$_ is mentioned along with "topic" in a few places | |||
diakopter | I guess one could search for " .amethod" | 03:12 | |
Auzon | "amethod" only finds "metamethod" | 03:13 | |
diakopter | oh, I meant " .anything" | 03:14 | |
the implicit invocant | |||
Auzon | nothing there either. | 03:15 | |
not much for "anything" either | |||
diakopter | there's this thread. I don't know if it got resolved. www.nntp.perl.org/group/perl.perl6....22263.html | 03:16 | |
lambdabot | Title: Re: How to write a self.pm (Re: method calls on $self) - nntp.perl.org, tinyurl.com/6r6uyz | ||
diakopter reads S04 (more) | 03:21 | ||
03:46
braceta__ left
03:47
H0LE joined
03:48
wknight8111 left
|
|||
pmichaud | there was a good discussion of $_ on #parrot a few days ago | 03:48 | |
03:49
bacek__ left
|
|||
pmichaud | www.parrotcode.org/misc/parrotsketc...t.20080519 (search for TimToady and that will get you near the beginning of the conversation) | 03:51 | |
lambdabot | tinyurl.com/629aef | ||
diakopter | I like this log viewer: irclog.perlgeek.de/parrot/2008-05-19#i_299618 | 03:59 | |
lambdabot | Title: IRC log for #parrot, 2008-05-19 | ||
pmichaud | oh, that's excellent. | 04:00 | |
pmichaud bookmarks. | |||
04:24
nipotan is now known as nipotaway
04:32
penk joined
04:41
alanhaggai left
04:50
H0LE left
05:14
LCamel_ joined,
LCamel left
05:25
tcliou left
05:27
baest joined
|
|||
rakudo_svn | r27840 | pmichaud++ | [rakudo]: | 05:28 | |
r27840 | pmichaud++ | * Fix typos and trailing spaces. | |||
05:35
LCamel_ left
05:51
tcliou joined
05:52
iblechbot joined
05:55
Jedai left
06:11
LCamel joined
06:12
tcliou left
06:13
iblechbot left
06:14
tcliou joined
06:25
pbuetow joined
06:43
alc joined
06:45
meppl joined
06:46
pbuetow left
06:54
c1sung joined
07:41
IllvilJa left
|
|||
pugs_svnbot | r20550 | bacek++ | dies_ok and lives_ok now implemented in rakudo. Remove #?rakudo skip | 07:48 | |
r20551 | bacek++ | Change mis-leading comment in #?rakudo skip | |||
r20552 | bacek++ | Add #?rakudo skip for colon ivokation syntax | 07:51 | ||
r20553 | bacek++ | Add more rakudo guards to include in spectest_regression | |||
07:59
Jedai joined
08:30
Alias_ joined
09:11
Alias__ joined
09:12
Alias_ left
|
|||
pugs_svnbot | r20554 | pmurias++ | [elf] default attribiute handling in elf_faster | 09:22 | |
moritz_ | bacek_: if you modify files in t/spec, please include [spec] in the commit message | 09:23 | |
@tell Auzon re @*INC it's unlikely that it will be in the spec because the module handling is decoupled from the file system (to support unicode and case sensitive module names that the filesysstem doesn't support) | 09:29 | ||
lambdabot | Consider it noted. | ||
09:32
iblechbot joined,
pmurias joined
09:36
galf1 joined
|
|||
moritz_ | @tell Auzon re whitespaces/tabs: the consensus is 4 space. See docs/Pugs/Doc/Hack.pod section Editing for details | 09:39 | |
lambdabot | Consider it noted. | ||
moritz_ | pmurias: is the current svn revision enough to identify the elf version? | 09:43 | |
09:43
renormalist joined
09:49
exp_evalbot left
|
|||
pugs_svnbot | r20555 | moritz++ | [evalbot] first attempt to incorporate revision numbers into 'perl6:' output | 09:49 | |
09:50
exp_evalbot joined
|
|||
moritz_ | perl6: say "hi" | 09:50 | |
09:50
exp_evalbot left,
exp_evalbot joined
09:51
exp_evalbot left
|
|||
pugs_svnbot | r20556 | moritz++ | [evalbot] second try | 09:51 | |
09:51
exp_evalbot joined
|
|||
moritz_ | perl6: say "hi" | 09:52 | |
exp_evalbot | kp6 r20556: OUTPUT[hiā¤] | ||
..pugs: OUTPUT[hiā¤] | |||
..rakudo r: OUTPUT[hiā¤] | |||
..elf r20556: OUTPUT[hiā¤] | |||
moritz_ | rakudo: say "hi" | 09:53 | |
exp_evalbot | OUTPUT[hiā¤] | ||
09:55
exp_evalbot left
|
|||
pugs_svnbot | r20557 | moritz++ | [evalbot] rakudo should now tell its svn revision | 09:55 | |
09:55
exp_evalbot joined
|
|||
moritz_ | rakudo: say "hi" | 09:55 | |
exp_evalbot | rakudo r 27842OUTPUT[hiā¤] | ||
moritz_ | perl6: say "test" | 09:56 | |
exp_evalbot | kp6 r20557: OUTPUT[testā¤] | ||
..pugs: OUTPUT[testā¤] | |||
..rakudo r27842: OUTPUT[testā¤] | |||
..elf r20557: OUTPUT[testā¤] | |||
09:57
exp_evalbot left
|
|||
pugs_svnbot | r20558 | moritz++ | [evalbot] whitespace fix | 09:57 | |
moritz_ | rakudo: say "test" | ||
09:57
exp_evalbot joined
|
|||
moritz_ | rakudo: say "test" | 09:57 | |
exp_evalbot | rakudo r27842 OUTPUT[testā¤] | ||
10:03
alc left
10:04
ruoso joined
|
|||
bacek_ | moritz_, ok | 10:05 | |
10:14
IllvilJa joined
10:20
galf1 left
11:03
elmex joined
|
|||
pmurias | moritz_: the revision number should be enough | 11:38 | |
moritz_ | pmurias: good, that's implemented now | 11:39 | |
12:07
alanhaggai joined
12:50
iblechbot left
13:00
cmarcelo joined
13:06
jhorwitz joined,
detrolex joined
13:07
detrolex left
13:08
detrolex joined
13:09
rindolf joined
13:16
wknight8111 joined
13:23
Patterner left,
Psyche^ joined
13:24
Psyche^ is now known as Patterner
|
|||
detrolex | im looking for some really interesting regex stuff | 13:26 | |
anyone got any | |||
like you know for fun:P | |||
diakopter | detrolex: do you mean interesting rules? | ||
detrolex | yeah! | 13:27 | |
diakopter | I don't know [of] any | ||
moritz_ | detrolex: you can t try to understand Perl 6' standard grammar ;) | 13:28 | |
detrolex | :P | ||
in time my friend, in time | |||
moritz_ | detrolex: what kind of fun are you after? crafting regexes yourself? | 13:29 | |
detrolex: the most robust solution on perl 6 ground is certainly PGE, so I'd suggest playing with that | 13:31 | ||
detrolex | let me have a look | 13:35 | |
moritz_ | afk | 13:42 | |
14:22
pbuetow joined
14:27
TJCRI joined
14:32
gbacon left
14:48
alc joined
|
|||
rakudo_svn | r27848 | pmichaud++ | [rakudo]: | 15:14 | |
r27848 | pmichaud++ | * Update $! handling in 'try' blocks. | |||
r27848 | pmichaud++ | * bacek++ for ideas and suggestions on this. | |||
15:17
Ched- left,
fridim_ joined
15:21
chris2 joined
15:22
gbacon joined,
jjore left
15:23
sscaffidi joined,
jjore joined,
jjore is now known as zz_jjore,
zz_jjore is now known as jjore
15:25
chris2 left
15:26
BinGOs joined
15:30
cosimo left
15:36
meppl left
15:37
meppl joined
15:38
cmarcelo left
15:42
meteorjay joined
15:46
kaether left
|
|||
cj | hey folks | 15:47 | |
moritz_ | hey cj | ||
cj | where is the p6 grammar documented? | ||
moritz_ | (that even rhymes) | ||
in svn.pugscode.org/pugs/src/perl6/STD.pm | 15:48 | ||
cj | moritz_: "hey" doesn't sound like "jota" | 15:50 | |
I'm so confused! :) | |||
moritz_ | cj: I'd prononunce your name "cee-jay" ;) | 15:51 | |
cj | yeah, me too, but sometimes I use "say-jota" to be different :) | 15:52 | |
15:52
Southen joined
|
|||
cj | so, which tokens are involved in C<<say "hello, world!">> ? | 15:53 | |
moritz_ | uhm, many | ||
you might try cheat+gimme5+STD5_run to find out | 15:54 | ||
cj | I'd like to get the list so I can start create a simple DLR implementation | ||
eh? | |||
15:54
adb_ joined
|
|||
moritz_ | look at src/perl6 | 15:54 | |
larry hacked up a few tools that can mostly run STD.pm by now | 15:55 | ||
'cheat' simplifies the grammar | |||
cj | moritz_: oh? what kinds of tools? | ||
moritz_ | and 'gimme5' translates it to perl 5 code | ||
and 'STD5_run' executes the result of './cheat STD.pm | gimme5 > STD5.pm' | 15:56 | ||
pmichaud | rakudo's parse of C<<say "hello, world!">> : nopaste.snit.ch/13082 | ||
it's not exactly the same as what STD.pm will give, but it's pretty close. | |||
moritz_ | cj: and you might be interested in 'elf', which is a bootstrapped Perl 6 compiler that uses a ruby-translation of STD.pm as its grammar | ||
it lives in misc/elf/ in the pugs repo | 15:57 | ||
cj | maybe I ought to just start with C<<"hello, world!">> | 16:00 | |
moritz_ | ;) | ||
16:01
awwaiid joined
|
|||
cj | who is raduko, and how how do I get her to emit the AST (that's what it is, isn't it) for "hello, world!" ? | 16:01 | |
moritz_ | rakudo is Perl 6 on parrot | ||
../../parrot perl6.pbc --target=parse | 16:02 | ||
../../parrot perl6.pbc --target=parse $file # actually | |||
parrot is svn.perl.org/parrot/trunk, and rakudo is in languages/perl6 | |||
lambdabot | Title: Revision 27849: /trunk | ||
16:05
Ched- joined
16:06
elmex left
|
|||
cj | build build build | 16:07 | |
16:08
Southen_ left
|
|||
pmichaud | what I just displayed was the parse tree | 16:09 | |
for the ast, use --target=past | |||
rakudo's ast for C<< say "hello, world!" >> : nopaste.snit.ch/13083 | 16:11 | ||
16:12
iblechbot joined
|
|||
cj | cc -o miniparrot src/main.o \ -Wl,-rpath=/usr/src/svn/parrot/trunk/blib/lib -L/usr/src/svn/parrot/trunk/blib/lib -lparrot -lpthread -lm -L/usr/lib -licuuc -licudata -lpthread -lm -ldl -lm -lpthread -lcrypt -lrt -lreadline -lpcre -lcrypto -L/usr/local/lib -Wl,-E src/null_config.o | 16:13 | |
/usr/src/svn/parrot/trunk/blib/lib/libparrot.so: undefined reference to `U16_GET_UNSAFE' | |||
16:14
mofino left
|
|||
cj | $ apt-file search u16.h | 16:14 | |
hurm... | 16:15 | ||
er, utf16.h, probably :) | |||
$ sudo apt-get install libicu36-dev | |||
16:16
armagad_ joined
16:17
eternaleye_ joined
|
|||
pmichaud | afk # lunch, errands | 16:17 | |
16:17
eternaleye left
16:21
rindolf left
16:24
stevan_ left
16:39
stevan_ joined
16:47
eternaleye_ left
16:49
justatheory joined
16:50
nipotaway is now known as nipotan
16:52
Psyche^ joined
|
|||
pmurias | avar: would you be interested with working on the elf lisp backend? | 17:03 | |
avar | elf? | ||
17:04
Patterner left,
Psyche^ is now known as Patterner
|
|||
moritz_ | a bootstrapped perl 6 compiler with perl 5 backend and ruby-translated STD.pm as a parser | 17:04 | |
17:05
kanru joined
|
|||
pmurias | developed mainly by mncharity | 17:06 | |
moritz_ | and extended a bit by pmurias ;) | ||
pmurias | ;) | 17:07 | |
moritz_ | feather's apache won't start, says "no space left on device" | 17:09 | |
odlly there's pretty much left | |||
a 'aptitude autoclean' freed 1GB | 17:10 | ||
perlpunks.de/paste/show/483c40b4.14db.28a any idea what the offending partition could be? | 17:12 | ||
all partitions are mounted rw | 17:14 | ||
diakopter | it's the tmp | ||
moritz_ | with 4GB still available? | ||
Auzon | Is there a running instance of Apache? | 17:15 | |
lambdabot | Auzon: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
Juerd | moritz_: Have you straced yet? | ||
Auzon | ļ»æ/msg lambdabot @messages | ||
moritz_ | Juerd: no | ||
Auzon | wtf. | ||
Juerd | moritz_: Do you have time or do you want me to do it? | ||
moritz_ | Auzon: leading non-printable char | ||
Auzon | yeah... but still | ||
Juerd | Auzon: Just say "messages" in the channel :) | ||
Auzon | I didn't want to flood it ;) | ||
Juerd | Eh, @messages | ||
2 is doable :) | |||
moritz_ | Juerd: I'll try, but I don't know if I'll have any luck | 17:16 | |
Juerd | moritz_: Let me know your findings | ||
What was that new channel again? | |||
moritz_ | Juerd: #perl6-soc ? | ||
Juerd | Ah, danke | 17:17 | |
pmurias | avar: elf lives in the pugs repo under misc/elf | ||
avar | it's bootstrapped already? | 17:19 | |
diakopter | moritz_: fix-ed | ||
Auzon | Yep. It's written in Perl 6. | ||
moritz_ | diakopter++ | 17:20 | |
diakopter: what did you do to fix it? | |||
diakopter | thanks to myrandomreviews.com/2007/11/17/no-s..._log_lock/ | ||
lambdabot | Title: 49 No space left on device: mod_rewrite: could not create rewrite_log_lock 36, tinyurl.com/5o75ey | ||
moritz_ | ah, I see | ||
Juerd | diakopter++ for fixing | ||
moritz++ for trying | |||
17:28
cjfields joined
|
|||
pmurias | avar: the parser is not bootstraped but everything else is | 17:31 | |
17:31
tobeya joined,
eternaleye_ joined
17:33
nothingmuch left,
nothingmuch joined
|
|||
pugs_svnbot | r20559 | pmurias++ | added quotemeta | 17:35 | |
r20559 | pmurias++ | replaced a use of Data::Dumper with quotemeta | |||
r20559 | pmurias++ | marked a HACK | |||
17:35
rakudo_svn left
|
|||
pugs_svnbot | r20560 | moritz++ | [svn-search] | 17:36 | |
r20560 | moritz++ | * :retab | |||
r20560 | moritz++ | * change index order to hopefully get consistently sorted results | |||
17:36
rakudo_svn joined
17:41
vixey left
|
|||
pmurias | swimming& | 17:42 | |
pugs_svnbot | r20561 | moritz++ | [svn-search] previous commit didn't work, let's try it revision by revision :( | ||
17:44
schmalbe joined
17:46
alanhaggai left,
alanhaggai joined
|
|||
diakopter | [particle]: did you ever get re-engine-TRE running on windows? | 17:47 | |
[particle] | no. did i ever try? | ||
diakopter | [particle]: irclog.perlgeek.de/perl6/2008-02-22#i_211606 | 17:48 | |
lambdabot | Title: IRC log for #perl6, 2008-02-22 | ||
[particle] | i guess i did try. never got it working, and no longer need it, as TimToady has moved away from tre | 17:53 | |
diakopter | Cursor5.pm in svn wants it | 17:55 | |
17:58
braceta joined
17:59
alanhaggai left,
alanhaggai joined
18:01
alanhaggai left
18:02
alanhaggai joined
|
|||
diakopter | well, I got further by grabbing the libintl stuff from mingw-gettext-0.17-1.fc8.x86_64.rpm... but now it's failing on regerror.o:regerror.c:(.text+0x25): undefined reference to `libintl_gettext' | 18:06 | |
that could be b/c it's amd64; oops | |||
18:27
jferrero joined
18:32
jferrero left
18:39
kst left
18:46
jferrero joined
18:56
ruoso left
19:02
kst joined
19:07
sscaffidi left
|
|||
cj | make: *** No rule to make target `src/call_list.txt', needed by `src/nci.c'. Stop. | 19:08 | |
hurm. | 19:09 | ||
japhb | ur? | ||
moritz_ | cj: I've ssen that error on a mailing list resently | ||
cj | rafb.net/p/yyJGrU20.html | ||
lambdabot | Title: Nopaste - No description | ||
japhb | cj: the problem is that you did make clean instead of make realclean | ||
cj | oh. | 19:10 | |
nobody tells me these things. | |||
japhb | cj: It's a bug, make clean should have done the right thing | ||
cj | realcleaning | ||
japhb | cj: the patch is already submitted, but hasn't been accepted yet. | ||
cj | it has to be accepted before applied!? I thought this was perl! | 19:11 | |
k. I'm going to lunch while that churns | |||
japhb | cj: Parrot is rather un-Pugs-ish in that respect. | 19:12 | |
moritz_ | ;) | ||
pmurias | i once took part in a python project where my patches were refactored before being applied, which really nice | 19:26 | |
19:35
ron_ joined
19:36
jferrero left
|
|||
ron_ | rakudo: sub foo($a) {say $a} ; my $x = ; | 19:36 | |
exp_evalbot | rakudo r27852 OUTPUT[Statement not terminated properly at line 1, near "= ;"ā¤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)ā¤ | ||
19:38
sscaffidi joined,
wknight8111 left,
wknight8111 joined
19:39
schmalbe left
|
|||
ron_ | non terminated example above seems to core dump when run as ./perl6.exe or ./perl6 under cygwin OR ubuntu | 19:39 | |
19:40
cjfields left
|
|||
moritz_ builds perl6 | 19:40 | ||
works fine in debian | 19:41 | ||
ron_ | updated to 27852 under cygwin afaict - will try to keep looking | 19:43 | |
19:43
ron_ left
19:44
ron_ joined
|
|||
Auzon | ron_: doesn't core dump or anything for me either | 19:44 | |
moritz_ | should we deduce that ubuntu is just as weird (as development platform) as windows? *g* | 19:46 | |
wolverian | let me try, sec | ||
(I have ubuntu) | |||
ron_ | Statement not terminated properly at line 1, near "= ;\r\n\r\n# r" ...current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82) ... many lines ... called from Sub 'parrot;Perl6::Compiler;main' pc 10064 (perl6.pir:186) then Aborted (core dumped) | 19:47 | |
wolverian | git svn rebasing first... | ||
armagad_ | moritz_: Don't like Mark hear you say that | 19:48 | |
He will send the Shuttleworthnauts to whoop you | 19:49 | ||
moritz_ | armagad_: if Mark would listen to me I could tell him lots of things ;) | ||
wolverian | oops, I'm using the git mirror already | ||
no wonder git svn was slow :) | |||
pmurias | is @array:k legal perl6? | 20:01 | |
20:01
alc left
|
|||
pmurias | i can't find the place where it is specced and @array.:k also exists | 20:01 | |
moritz_ | pmurias: I've seen it recently, let me take a look... | 20:02 | |
S02:1532 might be a start | |||
that applies to @array[*]:k at least | 20:03 | ||
don't know if it applies to @array directly, but I think it should | 20:04 | ||
wolverian | *** glibc detected *** ./perl6: double free or corruption (!prev): 0x0000000000e83310 *** | 20:09 | |
moritz_ | valgrind! | ||
wolverian | this with 27852 | ||
pmurias | moritz_: S02:1532 is where it took the code from | ||
wolverian | the program ron_ pasted | ||
on ubuntu 8.04 | |||
moritz_ | sometimes I think that Perl 6 is so vast that I'll never going to learn it | 20:10 | |
and I can hardly imagine it being fully implemented | |||
wolverian | moritz_, installing... | ||
Auzon | Are the cross referenced tests being smoked regularly? | ||
perlcabal.org/syn/ , that is | |||
lambdabot | Title: Official Perl 6 Documentation | ||
pmurias | moritz_: it's the perl5 that I'm afraid I'll never full learn | 20:11 | |
* fully | |||
moritz_ | Auzon: I think so, yes - once a day | ||
wolverian glares at the 37mb valgrind package | 20:12 | ||
20:12
ruoso joined
|
|||
moritz_ | Auzon: but since pugs is as dead as a open source dog can be I wouldn't pay the smokes too much attention | 20:14 | |
Auzon | Hm, ok. | ||
20:14
japhb left
|
|||
wolverian | lots of valgrind warnings | 20:15 | |
huh, with valgrind I don't get the core dump | 20:16 | ||
moritz_ | maybe valgrinds intercepts it somehow | ||
wolverian | yeah | 20:17 | |
pmurias | avar: if you have any requests/question concerning elf please don't hestiate to ask ;) | 20:18 | |
TimToady | Auzon: we might possibly have an @*INC, but if so, it would only be for the user's unofficial modules | ||
20:19
aindilis left,
ron_ left,
aindilis joined,
ron_ joined
|
|||
Auzon | TimToady: Alright. Is there any way to check the traits of a variable/subroutine/module/etc? | 20:20 | |
TimToady | traits that want to be checkable should be mixing in an appropriately named method | ||
wolverian | I'm failing to use allyoop :( | ||
it doesn't want to open the source files for the errors | |||
oh, -I | 20:22 | ||
pmurias | TimToady: why does both @a.kv @a.:kv and @a:kv exist and what's the diffrence? | ||
pugs_svnbot | r20562 | pmurias++ | [elf] removed p5 prototypes from methods (useless) | ||
r20562 | pmurias++ | removed a couple of nonspec methods | |||
wolverian | damn, still doesn't work | ||
moritz_ | pmurias: @array[1,3,5].kv will return 0, 1, 2 as keys | 20:23 | |
TimToady | there's no such thing as @a:kb | ||
:kv | |||
pmurias | there is @a:k | ||
TimToady | no | ||
there is @a[@x]:k | |||
adverbs modify operators, not nouns | 20:24 | ||
the :k is modifying the subscript operator | |||
pmurias | S09:532 | ||
wolverian | at least I have the relevant stack trace now | 20:25 | |
anyone want it? :) | |||
moritz_ | is @a[@x]:k translated to @a.postcircumfix:<[ ]>(@x, :k) ? | ||
wolverian: [email@hidden.address] wants it | |||
wolverian | okies | ||
TimToady | well, S09 is wrong :) | ||
cj | cool. parrot compiled for me :) | ||
TimToady | I believe that passage in S09 was written before we'd invented .:kv and such | 20:26 | |
pmurias | .:kv invokes the :kv method? | 20:27 | |
20:27
wknight8111 left
20:28
wknight8111 joined
|
|||
TimToady | presumably--we're more interested in the way %x.:delete<x> works with that notation | 20:28 | |
but generically it's a way of modifying a subscript from the front instead of the back | |||
likewise %x.:exists<x> | |||
the syntax also gets used for :r file tests | 20:29 | ||
wolverian | moritz_, does it take attachments? | ||
TimToady | so the S09 attempt to apply :kv to a noun is just a fossil, I think | ||
moritz_ | wolverian: I think so | 20:30 | |
avar | pmurias: is the misc/elf directory self-contained? | ||
pmurias | avar: it uses misc/STD_red for parsing | ||
avar | so I can just check out misc? | ||
wolverian | moritz_, sent | ||
pmurias | avar: yes | ||
moritz_ | wolverian++ | 20:31 | |
wolverian | damn, I forgot to attach the actual full backtrace | ||
but uh, I don't know how to redirect that to a file | |||
it seems to want to go to the terminal, no matter what I do... | 20:32 | ||
pmurias | TimToady: i don't need to write a patch for S09? ;) | ||
TimToady | in any case, @foo:kv would now parse the :kv as an extension to the identifier 'foo' | ||
Auzon | wolverian: did you try 2>&1 >output.log | ||
wolverian | yes | ||
TimToady | I'll try to fix S09 later today | ||
wolverian | it still goes to the terminal | ||
I had this problem with a python core dump too at some point | 20:33 | ||
20:42
japhb joined
|
|||
wolverian | hm, gdb isn't helping much since I don't really know the parrot source | 20:47 | |
20:48
cjfields joined
20:50
dolmen joined
20:59
vixey joined
21:10
pmurias left
21:13
fridim_ left
21:15
TJCRI left
21:16
mj41 left
|
|||
diakopter | avar: I'm having a heckofa time installing re::engine::TRE on strawberry 5.10.0.1 may I nopaste you the dmake output? | 21:21 | |
TimToady: Cursor.pm wants re::engine::TRE - should I ignore that for now? | 21:22 | ||
Cursor5.pm | |||
avar | diakopter: sure | ||
Auzon | diakopter: nopaste here: sial.org/pbot/perl6 | 21:26 | |
meppl | good night | ||
pasteling | "diakopter" at 209.9.237.164 pasted "dmake clean && perl Makefile.PL && dmake >out.log 2>&1" (795 lines, 28.8K) at sial.org/pbot/31135 | 21:28 | |
21:29
meppl left
|
|||
diakopter | avar: and that's after adding LIBS=>'-lintl -liconv' to the tre\Makefile.PL to stop it complaining about that | 21:30 | |
avar | seems lke some odd linker error | 21:31 | |
yes it depends on gnu stuff implicitly I found:) | |||
does building libtre by itself work on windows? | |||
it has some test programs IIRC | |||
diakopter | failed with same error, if you mean the tre\Makefile.PL in re::engine::TRE | 21:32 | |
is there a separate package of libtre? | 21:33 | ||
avar | tre is a regex library distributed in its own package, I just include it | 21:34 | |
diakopter | ohh.. | 21:36 | |
avar | I'm not much help, I haven't built this in ages and I've forgotten how it all goes | ||
But try to build the tre tar.gz you find on google | |||
dolmen | perl6: say "abc" eq "abc" | 21:37 | |
exp_evalbot | kp6 r20562: OUTPUT[1ā¤] | ||
..pugs: OUTPUT[1ā¤] | |||
..rakudo r27856: OUTPUT[1ā¤] | |||
..elf r20562: OUTPUT[1ā¤] | |||
dolmen | perl6: say "abc" !eq "abc" | ||
exp_evalbot | kp6 r20562: OUTPUT[syntax error at position 10, line 1 column 10:ā¤say "abc" !eq "abcā¤ ^ HEREā¤] | ||
..pugs: OUTPUT[ā¤] | |||
..rakudo r27856: OUTPUT[Statement not terminated properly at line 1, near "!eq \"abc\""ā¤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)ā¤ | |||
..elf r20562: OUTPUT[Unimplemented infix_prefix_meta_operator or infix_circumfix_meta_operator at ./elf_f_faster line 2744ā¤] | |||
diakopter | yikes; it appears I need Microsoft Visual C++ 6.0 | 21:38 | |
dolmen | perl6: say "abc" ne "abc" | ||
exp_evalbot | kp6 r20562: OUTPUT[0ā¤] | ||
..pugs: OUTPUT[ā¤] | |||
..rakudo r27856: OUTPUT[0ā¤] | |||
..elf r20562: OUTPUT[ā¤] | |||
Auzon | perl6: say "abc" eq "abc" | 21:39 | |
exp_evalbot | kp6 r20562: OUTPUT[1ā¤] | ||
..pugs: OUTPUT[1ā¤] | |||
..rakudo r27856: OUTPUT[1ā¤] | |||
..elf r20562: OUTPUT[1ā¤] | |||
Auzon | I'm glad we all agree on that. | ||
21:40
ron__ joined
21:41
ron_ left
|
|||
avar | pmichaud: the elf source tree is confusing:) | 21:41 | |
pmichaud | not my fault. :-) | 21:42 | |
avar | How does it compare to kp6 in completeness / bootstrapping etc | ||
s/pmichaud/pmurias/ | |||
21:43
Alias__ left
21:47
pbuetow left
21:50
allbery_b left
22:05
ron___ joined
22:06
ron__ left
22:14
allbery_m joined
22:15
cjfields left,
allbery_m is now known as eviltwin_b
22:25
eviltwin_b is now known as allbery_b
22:28
sscaffidi left,
alanhaggai left
22:29
allbery_b left
22:31
wknight8111 left
22:35
allbery_m joined,
allbery_m is now known as allbery_b,
iblechbot left
22:39
eternaleye_ left,
wknight8111 joined
22:44
FurnaceBoy joined
|
|||
TimToady | diakopter: as you no doubt have discovered, Cursor5 still requires tre | 23:05 | |
mainly because I discovered ways of working around most of its limitations, and I don't want to write a real DFA engine without real Perl 6... | 23:07 | ||
23:08
Khisanth left
23:09
Khisanth joined
23:19
jferrero joined
|
|||
speckbot | r14546 | larry++ | Cleanup bogus use of adverbs on bare terms | 23:20 | |
23:25
alester_ joined
23:26
eternaleye_ joined
23:31
wknight8111 is now known as wknight-away
23:34
mncharity joined
23:35
alester_ left,
cjfields joined
|
|||
mncharity | avar: ping? | 23:35 | |
avar | mncharity: pong | 23:36 | |
mncharity | #!/usr/bin/env elf_f_faster\nuse v6; ... to write elfish scripts (assumes misc/elf is in your PATH; | 23:37 | |
23:37
braceta left
|
|||
avar | Yes I saw that in the readme | 23:38 | |
23:38
braceta joined
|
|||
mncharity | elf_f_src/'s Elf_Faster.pm and EmitFasterP5.pm is an example of creating a variant in the elf_f_src directory, misc/elfish/showcode an example of building an elf derivative elsewhere. | 23:38 | |
run-tests.results_faster will give some idea of test status. | |||
make rebuild will let you watch the self-compile. | 23:39 | ||
in comparison to kp6, it's vastly faster, is using a non-p6 parser, and has a fairly, but not yet completely pure, bootstrap. | 23:41 | ||
it's design focus was creating an environment to create p6 compilers. | |||
long term, I'd ideally like EmitSimple to be refactored so the IR nodes call a microkernel vocabulary of methods to generate backend source, rather than doing it themselves. but not there yet. | 23:43 | ||
23:44
wknight-away is now known as wknight8111
|
|||
mncharity | runtime still doesn't really support named arguments, let alone closures. the performance demands of the combined parser/compiler define the constraints on runtime api/abi. and don't have a p6 parser yet. so have a multiple-api story with only moderate overhead, but I'm wondering whether to | 23:46 | |
convert STD_red to p6 first, to avoid unpleasant surprises. | 23:47 | ||
pmurias: re 'the parser is not bootstraped but everything else is', a p6 runtime implementation doesn't exist either (ie, multimethod dispatch, etc). | 23:52 | ||
so we're not quite ready to a p6 metacircular evaluator. | 23:53 | ||
*do a |