Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-10-07

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

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

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo