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.
00:05 theorb joined 00:06 kanru joined 00:07 devogon left 00:13 lichtkind left 00:18 theorbtwo left 00:23 justatheory joined 00:31 hakobe left 00:46 jisom left, jisom joined 00:55 blindfish left 01:15 cognominal_ left 01:27 jisom left 01:30 SCalimlim joined 01:42 weinig left, weinig joined 01:48 daxim_ left, [particle1 joined, daxim_ joined 02:00 [particle] left 02:05 Limbic_Region left 02:11 cognominal_ joined 02:44 amnesiac joined 02:47 shachaf_ is now known as shachaf 03:03 justatheory left 03:05 elmex joined 03:20 hakobe joined 03:21 elmex_ left 03:22 xinming_ joined 04:26 c9s joined 04:37 jisom joined 04:38 jisom_ joined 04:46 jisom left, jisom_ left, jisom joined, jisom left 04:54 jisom joined 05:10 xinming_ left 05:25 jisom left 06:21 f0rth_ left 06:22 f0rth joined 07:06 c9s left 07:13 amnesiac left 07:31 devogon joined 07:36 arrowax joined 07:41 Aankhen`` joined 07:56 iblechbot joined 08:13 dduncan left 08:17 Schwern joined 08:34 blindfish joined 08:35 ft joined 08:37 Schwern left, explorer__ joined 08:40 iblechbot left
meppl good morning 08:41
moritz_ good localtime() 08:43
meppl :-P
hello moritz
moritz_ hi meppl ;) 08:46
08:47 drupek12 left 08:49 jferrero left, iblechbot joined 08:50 fglock joined 08:57 pmurias joined
pugs_svnbot r18304 | pmurias++ | [kp6] P6Opaque 08:57
r18304 | pmurias++ | removed a very obsolete TODO item
r18304 | pmurias++ | test for inheritence of attribiutes
r18304 | pmurias++ | moved LOOKUP from Match to Capture
diff: dev.pugscode.org/changeset/18304
lambdabot Title: Changeset 18304 - Pugs - Trac
pmurias hi
fglock hi 08:58
moritz_ hi all ;) 09:02
pmurias compile_tests_kp6_mp6-lisp.pl is the thing for checking if the lisp backend dosn't get broken 09:05
?
is it ok to remove t/sanity-modified and t/mp6? 09:09
fglock I don't know, I think it's ok 09:10
I'm trying to work on a talk, but I keep getting distracted with ideas on kp6 :) 09:11
pmurias is the talk on kp6? 09:13
pugs_svnbot r18305 | pmurias++ | [kp6] fixed 39-junction.t,removed t/{01-sanity-modified,mp6} 09:15
diff: dev.pugscode.org/changeset/18305
lambdabot Title: Changeset 18305 - Pugs - Trac
Aankhen`` waves at fglock and pmurias. 09:16
fglock it's on "open-source corporate R&D" 09:17
Aankhen`` fglock: What is the best way to recognize in the AST that a sub has no explicit parameters, i.e. just the implicit @_?
moritz_ which lisp interpreter do I need for kp6-lisp?
Aankhen`` moritz_: Ideally, any should work. SBCL is recommended.
moritz_: I believe avar uses CLISP.
fglock Aankhen``: looking
pmurias Aankhen``: when you wave at the abyss, the abyss waves back 09:18
Aankhen`` pmurias: I take it back! I take it back!
pmurias moritz_: i use sbcl
moritz_ Aankhen``, pmurias: thanks, I'm installing sbcl now 09:19
Aankhen`` Kewl.
fglock Aankhen``: check the contents of Sub.block.sig 09:20
Aankhen`` fglock: If it's empty, I should add a slurpy @_?
fglock yes, you need to check that @positional and %named are empty 09:21
Aankhen`` I did consider that yesterday, but what about when the sub has an explicitly empty sig?
Aankhen`` checks the ASTs for comparison. 09:22
fglock I didn't think about that
Aankhen`` Sigs appear identical in both cases. 09:23
09:24 turrepurre left
fglock explicitly empty sig is not implemented 09:24
Aankhen`` Okay.
pmurias fglock: Scope constructor dosn't seem to pass on vars parameter 09:34
fglock pmurias: looking 09:40
pmurias cycling& 09:43
fglock oops - t/kp6/internals/01-scope.t is broken 09:45
09:50 arrowax left 09:58 fglock left 09:59 barney joined 10:01 fglock joined 10:03 drrho joined 10:06 DarkWolf84 joined
pugs_svnbot r18306 | fglock++ | [kp6] make forcerecompile; no changes in source code 10:06
diff: dev.pugscode.org/changeset/18306
lambdabot Title: Changeset 18306 - Pugs - Trac
10:12 viklund joined 10:13 viklund left 10:23 barney left 10:24 chris2 joined 10:29 Administrator__ joined 10:31 masak joined
masak top o' the localtime(), fellow λ-camels! 10:33
platypus hi masak 10:34
Patterner eval: localtime() 10:35
buubot Patterner: Sun Oct 7 03:35:05 2007
10:48 Administrator__ left 11:10 DarkWolf84 left 11:14 fglock left
masak #pugs localtime 11:18
moritz_ pugs: localtime 11:20
exp_evalbot OUTPUT[*** ␤ Unexpected end of input␤ at /tmp/JLNdmuoUrg line 2, column 1␤]
moritz_ pugs: say localtime
exp_evalbot OUTPUT[*** ␤ Unexpected end of input␤ at /tmp/2MaWF5GESz line 2, column 1␤]
masak hm, does the 'pugs:' command function differently from evalbot?
or is it just broken? 11:21
moritz_ ?eval localtime
masak: actually I don't know exactly how evalbot works
pugs: (localtime time).perl
exp_evalbot OUTPUT["\\Time::Local.new((\"day\" => 7), (\"hour\" => 11), (\"is_dst\" => Bool::False), (\"min\" => 21), (\"month\" => 10), (\"picosec\" => 0), (\"sec\" => 58), (\"tz\" => 0), (\"tzname\" => \"UTC\"), (\"wday\" => 1), (\"yday\" => 279), (\"year\" => 2007))"␤]
masak ah 11:22
pugs: localtime time
exp_evalbot OUTPUT[\Time::Local.new(("day" => 7), ("hour" => 11), ("is_dst" => Bool::False), ("min" => 22), ("month" => 10), ("picosec" => 0), ("sec" => 24), ("tz" => 0), ("tzname" => "UTC"), ("wday" => 1), ("yday" => 279), ("year" => 2007))␤]
masak pugs: ~(localtime time)
exp_evalbot OUTPUT["<obj:Time::Local>"␤]
masak hrm
moritz_ I just coded exp_evalbot to have a kp6 eval, pugs was a by product
masak ok 11:23
11:40 fglock joined 11:47 DarkWolf84 joined
pugs_svnbot r18307 | pmurias++ | [kp6] ./kp6 replaced by kp6.sh 12:06
r18307 | pmurias++ | fixed kp6/io/01-dir.t
diff: dev.pugscode.org/changeset/18307
lambdabot Title: Changeset 18307 - Pugs - Trac
12:09 c9s joined 12:15 lichtkind joined
pmurias i think multi sub/method and multi regex should be split into two classes 12:22
lunch&
12:33 kanru left 12:38 kanru joined 12:43 fglock left 13:42 arrowax joined
pmurias Aankhen``: is it fine with the lisp backend if i turn Lookup,Index and Apply AST nodes into Call? 14:10
14:16 drupek12 joined 14:22 c9s left
pugs_svnbot r18308 | pmurias++ | [kp6] 14:37
r18308 | pmurias++ | fixed Scope (a constructor from Hash was inherited)
r18308 | pmurias++ | added missing precompiled P6Opaque
r18308 | pmurias++ | removed TODO from class-constructor, removed for work-arounds
diff: dev.pugscode.org/changeset/18308
lambdabot Title: Changeset 18308 - Pugs - Trac
14:49 jwest- joined
Aankhen`` pmurias: Go right ahead… I'll probably end up special-casing them anyway. ;-) 15:03
pmurias: As I told fglock, I have no experience writing compilers or anything of the sort, so you should do whatever's best overall and I'll adapt.
pmurias Aankhen``: i don't have any experience either 15:04
Aankhen`` Yay, a kindred soul! 15:05
pmurias :) 15:08
15:59 Khisanth left, Khisanth joined 16:24 jwest- left 16:29 hakobe is now known as hkb_zz 16:42 amnesiac joined 16:49 weinig left 17:21 masak left 17:22 SCalimlim left 17:24 c9s joined 17:27 Psyche^ joined 17:44 Patterner left, Psyche^ is now known as Patterner 18:14 c9s left 18:19 thoughtpolice joined 18:23 Limbic_Region joined 18:28 Jedai joined 18:45 vbattsAtWork joined 18:46 Torment left
pugs_svnbot r18309 | pmurias++ | [kp6] Lookup & Index -> Call 18:54
diff: dev.pugscode.org/changeset/18309
lambdabot Title: Changeset 18309 - Pugs - Trac
pmurias Aankhen``: adapt :)
Aankhen`` I'm trying to fix the args code for now. 18:57
pmurias Aankhen``: (OT) where are you from? 18:59
Aankhen`` India. 19:00
Et vous?
pmurias Et vous mean? 19:01
Aankhen`` And you?
pmurias Poland
Aankhen`` Kewl. 19:03
19:08 SCalimlim joined 19:15 drupek12 left 19:23 drrho left 19:30 blindfish left
Aankhen`` Ugh. 19:34
Sub arguments suck. -_-
19:45 weinig joined
pmurias Aankhen``: they are better then passing data in globals ;) 19:49
Aankhen`` Hmph. 19:51
pmurias what's your problem? 19:52
anything i can help with or is it a lisp problem? 19:56
pugs: sub () {say 123} 19:58
exp_evalbot OUTPUT[sub :() "$_" := "Scalar" #<Scalar:0xb71212b4>␤ "&?ROUTINE" := "Sub" #<Sub:0xb6604cec>␤ "&?BLOCK" := "Sub" #<Sub:0xb6604cec> {, , "$_" := "Scalar" #<Scalar:0xb71d2cec>␤ "@_" := "Array" #<Array:0xb71d02e4>␤
.. "&?ROUTINE" := "Sub" #<Sub:0xb...]
Aankhen`` pmurias: Just Lisp stuff.
pmurias pugs: sub f () {say @_};f("Hello")
exp_evalbot OUTPUT[*** No compatible multi variant found: "&f"␤ at /tmp/CRrYNRr3bu line 1, column 19 - line 2, column 1␤]
Aankhen`` pmurias: I weave a web of deceit and all that.
20:02 chris2 left
pmurias wonders wheather to learn Common Lisp 20:04
20:07 vsoni joined
Aankhen`` Wow. Looks like I may finally have finished reworking the arguments bit. 20:16
20:16 araujo left
Aankhen`` Of course, the question up in the air now is whether I actually succeeded in making it less complicated. Which doesn't seem likely. :-( 20:16
On the plus side, I did fix a bug related to top-level pads.
Aankhen`` sighs. 20:17
moritz_ Aankhen``: bug fixes are always good ;)
Aankhen`` Spending the whole day reworking something to make it cleaner, only to fix one small bug and end up with marginally cleaner code, is not a lot of fun. :-) 20:23
moritz_ Aankhen``: aye ;) 20:24
Aankhen`` Ah well. 20:26
That's life.
moritz_ life is totally overrated ;)
pugs_svnbot r18310 | Aankhen++ | [kp6-lisp] 20:27
r18310 | Aankhen++ | * completely rewrote argument handling code. moved a lot of it into Signature.lisp rather than Code.lisp
r18310 | Aankhen++ | * created KP6-PARAMETER, KP6-POSITIONAL-PARAMETER, KP6-NAMED-PARAMETER and KP6-BLOCK-PARAMETER classes.
r18310 | Aankhen++ | * no longer need KP6-SIG-ITEM. call (MAKE-INSTANCE 'KP6-NAMED-PARAMETER) instead.
r18310 | Aankhen++ | * removed MAKE-KP6-ARGUMENT too, for the same reason.
r18310 | Aankhen++ | * removed FLATTEN-ARGUMENTS.
r18310 | Aankhen++ | * removed INITFORMs for all KP6-SIGNATURE slots.
r18310 | Aankhen++ | * replaced KP6-MAKE-ARGUMENT-LIST with SIGNATURE->ARGUMENTS, which creates a new KP6-SIGNATURE object with blank fields, to avoid accidentally overwriting the sub signature.
r18310 | Aankhen++ | * factored some functionality from WITH-KP6-ARGUMENTS into COLLECT-ARGUMENTS and BIND-ARGUMENTS.
r18310 | Aankhen++ | * use KP6-PARAMETER objects instead of conses wherever arguments or parameters are used. 20:28
r18310 | Aankhen++ | * fixed a bug where ENCLOSING-PAD was b0rked for top-level pads.
r18310 | Aankhen++ | * replaced WITH-UNIQUE-NAMES in util.lisp with WITH-UNIQUE-NAMES from CL-UTILITIES.
r18310 | Aankhen++ | * added KP6-STUB-FUNCTION error class.
r18310 | Aankhen++ | * WITH-KP6-INTERPRETER now defines interpreter-specific stub functions for lexical variable manipulation.
diff: dev.pugscode.org/changeset/18310
lambdabot Title: Changeset 18310 - Pugs - Trac
20:28 jisom joined
Aankhen`` Now to see about that ::Call refactoring. 20:28
20:38 Aankh|Clone joined 20:40 Toad_ joined
rhr pugs: sub f { say @_ }; f('Hello') 20:44
exp_evalbot OUTPUT[Hello␤]
rhr sub f () declares no args
20:44 rafl left, rafl joined
pmurias rhr: yes 20:51
20:55 Aankhen`` left
Aankh|Clone Looks like the ::Call thing will have to wait, since MP6 is shouting at me about trying to listify non–array references. 20:56
pmurias you shouldn't cut on sleep to work on kp6 ;) 20:58
Aankh|Clone I generally cut on sleep for all sorts of reasons. 20:59
That said, I did decide earlier today that I was going to get to sleep "early".
So g'night.
20:59 Aankh|Clone left
moritz_ g'night 21:00
pmurias g'night 21:01
21:01 pmurias left
vsoni ping audreyt 21:20
21:21 iblechbot left 21:27 vbattsAtWork left 21:33 lambdabot left, lambdabot joined 21:45 weinig left 21:46 weinig joined 21:47 Koenix joined 21:59 lichtkind left 22:05 jisom left 22:22 arrowax left 22:24 randomity joined 22:33 polettix left 22:48 Lunchy left
meppl good night 22:51
23:01 Koenix left 23:03 randomity left 23:04 bsb joined 23:38 elmex left