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.
diakopter anyone: what's wrong with svnbot? 01:15
avar diakopter: down, don't know who can fix it 01:59
avar \o/ 02:02
diakopter now you know 02:03
pugs: this.die
exp_evalbot OUTPUT[*** No such subroutine: "&this"␤ at /tmp/l7Uz1nvrwi line 1, column 1 - line 2, column 1␤]
diakopter pugs: eval "d"~"i"~"e" 02:04
exp_evalbot OUTPUT[undef␤]
diakopter winks at exp_evalbot
ahmadz looking at SLAVES, svnbot6's maintainer is [diakopter] ;-) 05:00
avar it's up 05:06
ahmadz cool 05:07
let us test it
pugs_svnbot r18142 | azawawi++ | testing... 1 2 3 05:11
r18143 | azawawi++ | removing test file... end of test
diff: dev.pugscode.org/changeset/18143
lambdabot Title: Changeset 18143 - Pugs - Trac
ahmadz hmmm... cool it is working again then 05:12
ahmadz avar: what did u mean yesterday (my @localtime) about helping out on kp6 AST is better... i was a bit sleepy then 05:13
avar Aankhen``: sial.org/pbot/27682 07:31
lambdabot Title: Paste #27682 from Someone at 208.78.101.240
Aankhen`` avar: What is that the output of? 07:36
avar say "hello world"
Aankhen`` Okay. 07:37
Aankhen`` Heh, I should have known better than to be coding at 4:30 AM. 07:37
pasteling "Aankhen" at 122.163.34.13 pasted "Reformatted generated Lisp" (16 lines, 609B) at sial.org/pbot/27683 08:07
Aankhen`` avar: I uncommented the KP6 hack, now it's first looking for the KP6 namespace within the GLOBAL namespace, then it's looking for the GLOBAL namespace within the KP6 namespace… 08:08
avar so it works? 08:09
we gotta get testing working to avoid this lameness:)
Aankhen`` No.
Is there any way to skip the stuff in Namespace.pm just for the Lisp emitter?
avar it's only run for the lisp emitter, why? 08:10
just edit kp6_mp6.pl 08:11
Aankhen`` Uh oh, gotta run, back in a while.
I'll edit it when I get back.
pugs_svnbot r18144 | Aankhen++ | * [kp6-lisp] fixed typo in WITH-KP6-PACKAGE. 08:56
diff: dev.pugscode.org/changeset/18144
lambdabot Title: Changeset 18144 - Pugs - Trac
pugs_svnbot r18145 | Aankhen++ | * [kp6-lisp] fixed thinko in DEFINE-KP6-FUNCTION. 08:59
r18146 | Aankhen++ | * [kp6-lisp] fixed typo in KP6-COERCE.
r18147 | Aankhen++ | * [kp6-lisp] removed Namespace from visitor sequence.
diff: dev.pugscode.org/changeset/18147
lambdabot Title: Changeset 18147 - Pugs - Trac
Aankhen`` pugs_svnbot: I missed you. 09:06
Aankhen`` What the...? 09:24
pugs_svnbot r18148 | Aankhen++ | [kp6-lisp]
r18148 | Aankhen++ | * don't use COMPILE-FILE in Runtime.lisp
r18148 | Aankhen++ | * lookup variables in the GLOBAL package by default.
r18148 | Aankhen++ | * fixed mismatch between packages of quoted symbols.
diff: dev.pugscode.org/changeset/18148
lambdabot Title: Changeset 18148 - Pugs - Trac
Aankhen`` It committed GLOBAL.pm too though I didn't touch it. :-S
Oh, whew, I only accidentally removed a commented out line. 09:26
Aankhen`` goes to eat lunch.
Aankhen`` Heya fglock. 09:39
fglock Aankhen``: hey 10:45
Aankhen`` avar: svn up, then try this: my $x; $x = "hello, world"; say $x 12:50
pugs_svnbot r18149 | Aankhen++ | [kp6-lisp]
r18149 | Aankhen++ | * added KP6-PAD class, along with KP6-GENERATE-VARIABLE function.
r18149 | Aankhen++ | * intern all sigils at initialization time.
r18149 | Aankhen++ | * fixed typo in ::Assign's &emit_lisp method.
r18149 | Aankhen++ | * rewrote WITH-KP6-PACKAGE to simply assign to KP6-CURRENT-PACKAGE.
r18149 | Aankhen++ | * added KP6-DEFINE-PACKAGE-VARIABLE and KP6-SET-PACKAGE-VARIABLE (operating on the value of *KP6-CURRENT-PACKAGE*).
diff: dev.pugscode.org/changeset/18149 12:51
lambdabot Title: Changeset 18149 - Pugs - Trac
Aankhen`` avar: Or assign "hello, world" directly to $x, it works either way.
Though right now it treats everything as a package variable. 12:53
ahmadz hi 13:49
ahmadz @seen fglock 13:50
lambdabot fglock is in #perl6. I last heard fglock speak 3h 4m 58s ago.
fglock ahmadz: hi
ahmadz i was wondering what needs to be done on kp6... since i finished runpugs ;-) 13:52
fglock ahmadz: there are several subprojects, 13:53
internal architecture; bootstrap; grammar rewrite; backends 13:54
and more; depends on what is fun for you 13:55
ahmadz where can i help most? ;-)
fglock you can start by reading the few documents about kp6 and getting some knowledge of the source code 13:56
ahmadz v6/docs/* right? 13:57
fglock yes
ahmadz i was talking with avar yesterday and it seems that the parrot backend is broken atm
fglock that's a cool thing to do 13:58
ahmadz i can work on it and then start working on a jvm/groovy version of it
ahmadz ok then so EmitParrot.pm it is for now ;-) 13:59
fglock: ty for your time
fglock ahmadz: thank you :)
fglock ahmadz: on the parrot side, jonathan was willing to help (try #parrot in irc.perl.org) 14:35
ahmadz fglock: ok 14:44
fglock: jonathan as in jonathan worthington? 14:48
fglock yes, we met at the kp6 hackathon
ahmadz cool i used his slides on runpugs ;-) 14:49
so from what i understand so far, i edit v6\v6-KindaPerl6\lib\KindaPerl6\Visitor\EmitParrot.pm
pugs_svnbot r18150 | fglock++ | [kp6-parrot] CompUnit.attributes is unused
diff: dev.pugscode.org/changeset/18150
lambdabot Title: Changeset 18150 - Pugs - Trac
ahmadz and i do 'perl Makefile.PL; make' and svn commit back right? 14:50
after testing the change with: 'perl kp6-mp6-perl5.pl --parrot < hello.pl'
fglock yes
ahmadz cool im getting somewhere then ;-) 14:51
but quick question: why are other files changed like Perl.pm, Traverse.pm, Term.pm and MetaClass.pm? 14:52
we need to commit all of them after 'perl Makefile.Pl; make' right or just emittparrot.pm? 14:53
fglock they shouldn't be changed, maybe some interaction between svn and make and timestamps 14:54
ahmadz im using feather1
fglock just EmitParrot
sometimes i just do "svk revert -R *" after make, but that's silly 14:56
ahmadz oh well there goes my commit, you fixed it ;-)
anyway, it seems emittparrot.pm does not do anything useful at the moment 14:57
fglock see also v6/v6-MiniPerl6/lib/MiniPerl6/Parrot/Emitter.pm # old version 14:58
ahmadz ok i see, will work on it in 2 hours ;-) 14:59
dinner time
fglock coffee time 15:00
fglock b 15:23
allbery_b c 15:24
ahmadz d
pmurias did the idea of loading PAST from a text format come to fruition 15:26
?
pmurias fglock: why do we check what was modified in BEGIN blocks? 16:00
wouldn't saving everything be a better aproach? 16:01
fglock pmurias: because the side-effects must exist at runtime
pmurias * approach
fglock yes, saving everithing would do it
everything
fglock the new Scope structure might make it more possible 16:05
fglock (Perl6::Scope) 16:05
pmurias it's a hash with inheritance? 16:07
pmurias yes, it might help 16:09
fglock yes 16:10
pmurias it's intended for use in kp6-kp6?
fglock yes, it replaces Perl5::Pad with a perl6-land structure
it's work-in-progress 16:11
pmurias code compiled for compile time will use $CURRENT_LEXICAL_PAD<$var_name>? 16:14
fglock yes - see Visitor::Namespace too 16:15
pmurias looked 16:18
fglock the idea is to have the option to bring these structures to perl6-land, and then the "save everything" approach is almost just calling .perl 16:24
pmurias fglock: it's calling .perl5 16:27
or .backend_of_choice
fglock pmurias: it's no longer AST, but something like ( optree + environment ) 16:34
fglock that is, change from ast-emitter to disassembler 16:35
fglock ruoso even suggested we just implement interpreters 16:41
pmurias fglock: we don't need to do disassembly 16:53
pugs_svnbot r18151 | Aankhen++ | [kp6-lisp]
r18151 | Aankhen++ | * added KP6-CHAR class.
r18151 | Aankhen++ | * added KP6-PAD to export list.
r18152 | Aankhen++ | * [kp6-lisp] fixed Lit::Seq.
diff: dev.pugscode.org/changeset/18152
lambdabot Title: Changeset 18152 - Pugs - Trac
pmurias we can have the AST stored into the sub object
s
ruoso pmurias: the idea of the disassembler is to be able to allow a require to just read the structure instead of having to parse everything 16:56
that's when we saw the difference between dynamic link x static link in p6
:)
fglock we can cache the AST, but it's conceptually disassembling because it comes back from the program execution environment 17:21
pmurias fglock: i see 17:28
pugs_svnbot r18153 | fglock++ | [kp6-perl5] fixed hash autovivification 18:16
diff: dev.pugscode.org/changeset/18153
lambdabot Title: Changeset 18153 - Pugs - Trac
avar fglock: 18:17
$ echo 'say 0' | perl kp6-mp6-perl5.pl |grep Int
; ::DISPATCH( $GLOBAL::Code_say, 'APPLY', ::DISPATCH( $::Int, 'new', )
pmurias fglock: it's not disassembling it's decompiling
fglock avar: looking 18:17
pugs_svnbot r18154 | fglock++ | [kp6-perl5] Array.uniq 18:20
diff: dev.pugscode.org/changeset/18154
lambdabot Title: Changeset 18154 - Pugs - Trac
fglock pmurias: right :) 18:27
fglock avar: interesting problem 18:33
the emitter gets 'int' => undef; it's a visitor error 18:36
commutting & 18:38
ludan hi 19:28
TimToady howdy
wolverian TimToady, you said @desc{$_} on perlmonks.org/?node_id=634140, did you mean %desc? 20:21
lambdabot Title: Re^2: what would you like to see in perl5.12? (nested statement modifiers)
TimToady yeah, thanks 20:27
wolverian I was going to comment but it seemed too pedantic :) 20:31
pugs_svnbot r18155 | fglock++ | [kp6] Traverse.pm - fixed { int => undef } bug 20:34
diff: dev.pugscode.org/changeset/18155
lambdabot Title: Changeset 18155 - Pugs - Trac
pugs_svnbot r18156 | fglock++ | [kp6] dumping AST on unblessed thing is not fatal 21:20
diff: dev.pugscode.org/changeset/18156
lambdabot Title: Changeset 18156 - Pugs - Trac
pugs_svnbot r18157 | fglock++ | [kp6] ast dumper cleanup 22:20
diff: dev.pugscode.org/changeset/18157
lambdabot Title: Changeset 18157 - Pugs - Trac