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.
pmurias Aankhen``: it's a mp6 question 11:50
pmurias i see you solved it by yourself 11:52
Aankhen`` pmurias: I did? Not that I can see. :-S 14:14
pmurias Aankhen``: you use join 14:22
pmurias Aankhen``: or do you need to something to every element 14:27
?
like .map
Aankhen`` pmurias: I tried using join, but as I said, that gives me all sorts of errors. 14:50
It's also weird because I have $GLOBAL::x in the Perl 6 code, which has the same namespace as &say (thanks to Visitor::Global), but only $GLOBAL::x shows that behaviour and not &say. 14:51
The join for &say works just fine.
AFAICT, the AST is the same (after Visitor::Global) for both of them, leaving aside the different variable name & sigil. 14:52
pmurias '"' ~ $.namespace.join('::') ~ '"'; seems to work fine 14:54
line 254 for say $Foo::Bar::x;
could you give a code example which gives the error 14:56
? 14:57
pmurias i use --do Global,EmitLisp 14:58
pinskian is that for real 15:09
the real larry?
pmurias pinskian: what's the context? 15:10
pinskian what context
larry wall
the TimToady guy 15:11
pmurias TimToady is Larry Wall
pinskian wow
Kattana He speaks too, and if youre lucky he will gaze upon your nick. 15:18
allbery_b fwiw TimToady is a variation on TIMTOWTDI 15:19
pinskian so the resident perl geek merlyn has been moved to the 2nd place 15:20
heh
pmurias pinskian: in terms of frequency of apperance surly 15:22
pinskian hates openssl 15:40
allbery_b join the club 15:41
pinskian is there no chanenl for it
allbery_b doesn't look like it 15:47
pinskian allbery_b: want to help me with some bignum stuff? 15:48
allbery_b I'm unlikely to be able to help, but you can certainly ask
allbery_b helped someone else some time back but it was more trying to decipher the documentation (such as it is) 15:49
pinskian there's a BN_bntompi() function supposed to do the conversion (bignum -> mpi) 15:50
but it expects a buffer, so there must be a way to know the size of that buffer either by a max constant or by arithmetics based on bignum size
pinskian crazy huh 15:53
allbery_b has no clue...
pinskian btw dsa is limited to 1024 bits ? 15:54
pinskian done 17:40
:D
mapped OpenSSL's RSA structure to something useable by nbpg
Aankh|Clone pmurias: Actually… it *is* working now. O_O 17:43
pmurias: Not that I'm complaining!
pmurias Aankh|Clone: good :) 18:14
pugs_svnbot r18247 | Aankhen++ | [kp6-lisp] 20:33
r18247 | Aankhen++ | * removed KP6-{DEFINE,GET,SET}-PACKAGE-VARIABLE generic functions.
r18247 | Aankhen++ | * added SET-PACKAGE-VARIABLE, SET-PACKAGE-VARIABLE/C, LOOKUP-PACKAGE-VARIABLE and LOOKUP-PACKAGE-VARIABLE/C as stub functions.
r18247 | Aankhen++ | * fixed storage of global functions.
r18247 | Aankhen++ | * added KP6-PACKAGE-VARIABLE-NOT-FOUND warning condition.
r18247 | Aankhen++ | * updated KP6-APPLY-FUNCTION to deal with KP6-CELL objects.
r18247 | Aankhen++ | * removed ENCLOSING-PACKAGE and OUTER-PACKAGE functions.
r18247 | Aankhen++ | * factored some EmitLisp functionality into Var::emit_lisp_{assignment,lookup} methods.
r18247 | Aankhen++ | * binding now works with all variables.
r18247 | Aankhen++ | * regenerated EmitLisp.pm 20:34
diff: dev.pugscode.org/changeset/18247
lambdabot Title: Changeset 18247 - Pugs - Trac
pugs_svnbot r18248 | Aankhen++ | [kp6-lisp] 20:45
r18248 | Aankhen++ | * better handling of unimplemented features in EmitLisp.pm
r18248 | Aankhen++ | * added generic methods for KP6-EXISTS, KP6-DELETE, KP6-CLEAR, KP6-PAIRS and KP6-ELEMS.
diff: dev.pugscode.org/changeset/18248
lambdabot Title: Changeset 18248 - Pugs - Trac
pugs_svnbot r18249 | Aankhen++ | [kp6-lisp] 21:12
r18249 | Aankhen++ | * removed duplicated code in ::Assign
r18249 | Aankhen++ | * fixed assignment to hashes and arrays.
r18249 | Aankhen++ | * fixed typo in ::Bind
diff: dev.pugscode.org/changeset/18249
lambdabot Title: Changeset 18249 - Pugs - Trac
fglock Aankhen``: I'm considering removing ::Assign, ::Bind, and ::Apply nodes, since these are really just method calls 21:14
does it makes sense for Lisp? 21:15
Aankhen`` What sort of method calls are they? 21:18
(Sorry, I don't quite grasp the implications, as you can tell. :-) 21:19
fglock &mysub.APPLY( $capture ); 21:20
VAR($v1).ASSIGN( $v2 )
Aankhen`` I'm not really sure. 21:21
But you should do it based on what makes sense in the big picture. I don't know much about writing emitters, I'm just learning as I go along.
fglock ok (just planning for now) 21:22
pugs_svnbot r18250 | Aankhen++ | * [kp6-lisp] reworked ::If. 21:24
diff: dev.pugscode.org/changeset/18250
lambdabot Title: Changeset 18250 - Pugs - Trac
Aankhen`` Hmm. 21:31
We've got binding, lexicals and, uh, yeah.
Is there anything we're missing for subs?
(I consider the topic of signatures to be part of implementing them, in case there's any confusion. :-) 21:32
fglock the code for signatures is still incomplete in kp6 21:34
Aankhen`` I just want to get it up to par with the Perl 5 emitter.
avar ,/w 3 22:36
pugs_svnbot r18251 | avar++ | Add a trailing newline to --lisp output 22:40
diff: dev.pugscode.org/changeset/18251
lambdabot Title: Changeset 18251 - Pugs - Trac