Camelia, the Perl 6 bug

IRC log for #parrot, 2008-09-21

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:02 Tene Can anyone here help me with ncigen?
00:09 AndyA joined #parrot
00:17 kid51 joined #parrot
00:31 Andy joined #parrot
00:35 Tene Looks like I need either kjs or tewk, but neither is around.
02:01 dmknopp joined #parrot
02:14 jose joined #parrot
03:04 s1n jonathan: ping
03:26 ab5tract joined #parrot
03:49 johbar_ joined #parrot
04:04 Theory joined #parrot
04:09 contingencyplan joined #parrot
04:12 Debolaz joined #parrot
04:50 Tene Okay, I think I have a correct throw/EH patch.
04:59 Ontolog :method and :multi are incompatible???
04:59 Ontolog why didn't pmichaud say something about it before though?
05:03 Theory joined #parrot
05:06 nopaste "tene" at 166.70.38.237 pasted "Remove second argument from error handlers. A few test failures. Please test." (1746 lines) at http://nopaste.snit.ch/14137
05:06 Tene I'm done for now.  Be back later.
05:12 cotto_home Your nopaste is broken.
05:12 cotto_home ENONOPASTEPASTE
06:22 Zaba_ joined #parrot
06:54 johbar joined #parrot
07:26 dalek r31293 | allison++ | pdd27mmd:
07:26 dalek : [pdd27mmd] Skipping intermittently hanging test. Most of the rest of this test
07:26 dalek : file is skipped anyway, and system needs extensive reworking.
07:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31293
07:43 Ontolog Is the design of Parrot still being tweaked or is it completely finished?
07:43 cotto_home at what level?
07:44 Ontolog like pir for example
07:44 Ontolog is pir completely defined and frozen?
07:44 Ontolog i'm not saying completely implemented
07:44 Ontolog just, is the design finished and frozen?
07:44 cotto_home for the most part, although the target is to replace imcc with pirc
07:45 cotto_home that shouldn't break too much, though
07:45 cotto_home I'd say mostly defined and quite cold
07:45 Ontolog i thought imcc is pir
07:45 cotto_home imcc is the current compiler used to compile pir.
07:46 Ontolog i just wonder because i am concerned that parrot isn't ready for perl 6
07:46 Ontolog if things keep changing
07:46 Ontolog like i heard io is being redesigned?
07:46 cotto_home pirc is a fairly recent effort to reimplement a pir compiler
07:47 cotto_home IO isn't being redesigned, just properly implemented
07:47 Ontolog i see
07:47 Ontolog someone said that :method and :multi are incompatible
07:48 Ontolog that one precludes the other
07:48 cotto_home how it should work is documented in docs/pdd/pdd22_io.pod
07:48 Ontolog is it true?
07:48 * cotto_home goes to check the pdd
07:50 cotto_home I can't say whether that's supposed to be the case or not.
07:51 cotto_home If it's causing issues for you, you can ask at the next #parrotsketch.
07:54 Ontolog would it be fair to call multiple dispatch "runtime overloading"?
07:55 Ontolog is there really any difference?
07:55 cotto_home I think that'd be an accurate way to refer to it.
07:55 Ontolog ok
07:55 cotto_home mmd is fancier
07:55 Ontolog what does it be that "runtime overloading" doesn't imply?
07:56 Ontolog s/be/do/
07:56 Ontolog the dispatch system is pluggable, allowing users to swap in their own
07:56 Ontolog type-matching algorithms. ??
07:57 Ontolog that's interesting
07:57 Ontolog i wonder if Perl 6 does that
07:59 Tene cotto_home: http://pleasedieinafire.net/~tene/0001-Remove-the​-second-argument-passed-to-exception-handl.patch
08:00 cotto_home what?
08:00 cotto_home you want me to die in a fire?
08:00 cotto_home ;)
08:00 Tene That's the patch that I tried to post to nopaste
08:02 Tene Lessee what test failures I get before the patch...
08:03 cotto_home removing redundancy is a good thing
08:03 Tene rakudo still runs fine.  I think that most of the errors are errors in the updates I tried to make to fix the tests.
08:03 Tene So broken tests, not broken functionality.
08:03 Tene Still need to be fixed, though.
08:07 cotto_home t/pmc/namespace.t failed 3 tests
08:07 cotto_home t/pmc/resizablestringarray.t -> 1
08:07 cotto_home nopaste?
08:07 clunker3 http://pasta.test-smoke.org/ or http://paste.husk.org/ or http://nopaste.snit.ch:8001/ or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/
08:07 purl nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at http://www.extpaste.com/
08:09 cotto_home t/library/pg.t didn't pass any
08:14 cotto_home http://poundparrot.pastebin.com/m5f93886f
08:15 Tene Yeah, all the same ones I'm getting.  Lessee...
08:21 cotto_home good news, although I'm not running anything exotic
08:24 cotto_home sleep &
08:27 Tene Okay, this is much cleaner.
08:27 Tene Still not perfect, though.
08:28 Zaba_ *yawn*
08:32 Tene Okay, no more test failures in parrot's 'make test'
08:37 Tene Anyone know how to delete a branch in svn?
08:43 moritz svn rm /path/to/branch
08:44 Tene I'm always nervous dealing with svn.  I've broken things more times than I'm comfortable with.
08:45 * moritz can very much understand that
08:46 Tene Okay, committing.
08:48 dalek r31294 | tene++ | trunk:
08:48 dalek : [parrot]
08:48 dalek : Remove the second argument passed to exception handlers.
08:48 dalek : You can get the message by stringifying the exception object.
08:48 dalek : All parrot tests pass.  Looks like the languages are all okay too.
08:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31294
09:00 Tene There we go.  I'm pleased with it.
09:02 * moritz runs rakudo tests
09:03 Tene In rakudo I only see failure in an io test, which I think failed before.
09:04 moritz maybe we should skip those; I've seen reports of them looping before
09:09 cotto_home (testing infinite loop speed)--
09:12 Tene karma tene
09:12 purl tene has karma of 211
09:13 rurban_away joined #parrot
09:13 Tene Prime!
09:13 cotto_home you're wierd
09:13 Tene karma moritz
09:13 purl moritz has karma of 241
09:13 cotto_home *weird
09:13 Tene Also prime!
09:13 rurban karma rurban
09:13 purl rurban has karma of 95
09:13 Tene me + 30
09:13 rurban :(
09:13 Tene ^5 moritz
09:14 cotto_home karma prime
09:14 purl prime has karma of 1
09:14 Tene karma cotto
09:14 purl cotto has karma of 125
09:14 Tene 5^5!
09:14 cotto_home 5^3
09:14 purl 6
09:14 Tene erm
09:14 Tene 5^3
09:14 purl 6
09:14 Tene yeah
09:14 cotto_home 5**3
09:14 purl 125
09:15 rurban I need to get more karma because I successfully persuaded my new Globetrotter modem to work for me after two days struggle.
09:15 rurban success!
09:15 purl somebody said success was finding king size papers
09:15 Tene rurban++ # success at modem struggles
09:16 cotto_home rurban++ #what Tene said
09:16 Tene I kinda like 211.  Maybe I'll stay here for a while.
09:17 Ontolog ok I'm trying to understand more how parrot works so i can better help rakudo, i would like to know where to start when one wants to write a language compiler with parrot
09:17 Ontolog i know there are lots of examples
09:17 Ontolog but is there like a document that outlines all the basics?
09:17 cotto_home kjs wrote a tutorial on that exact subject
09:17 Tene Ontolog: yes, the squaak tutorial on parrotblog
09:17 Ontolog ok i'll look
09:18 rurban pbc_merge is failing on windows. elsewhere also? just lua needs it.
09:18 barney joined #parrot
09:18 cotto_home http://www.parrotblog.org/ (check the sidebar)
09:18 moritz rurban: it has been failing somtimes for me
09:18 dalek r31295 | rurban++ | cygwin070patches:
09:18 dalek : [cage] protect against too old Storable-2.09, which cannot overload stringify
09:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31295
09:19 moritz rurban: sometimes even only when rum from 'make smoke', not when run directly
09:19 barney cotto_home: http://pipp.org/ seems to be down
09:20 dalek r31296 | rurban++ | cygwin070patches:
09:20 dalek : [cage] update branch-private STATUS
09:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31296
09:21 cotto_home barney, it might be godaddy's fault
09:21 cotto_home it looks like they're doing some kind of maintenance
09:21 barney k
09:21 cotto_home (I'm going to switch away from ASAP, but it can't happen until 60 or 90 days after I first got the domain.)
09:22 cotto_home thanks for noticing, though
09:22 cotto_home I'll check again on the hour
09:25 dalek r31297 | rurban++ | cygwin070patches:
09:25 dalek : [BASIC] add Makefile
09:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31297
09:37 dalek r31298 | rurban++ | cygwin070patches:
09:37 dalek : [cage] RT#39742 installed-conflict
09:37 dalek : * remove SHRPENV
09:37 dalek : * cygwin went now the win32 way and puts its dll and importlib into
09:37 dalek :   build_dir and not into blib/lib.
09:37 dalek :   So we need no SHRPENV PATH=...blib/lib:$PATH overrides for every parrot
09:37 dalek :   and pbc_to_exe invocations (as in perl5).
09:37 dalek :   For the other unix-alikes with libparrot_shared we simply
09:37 dalek :   export LD_RUN_PATH := @blib_dir@:..., as for darwin.
09:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31298
09:37 dalek r31299 | tene++ | exceptionmagic:
09:37 dalek : Remove the exceptionmagic branch, as it's not needed for now.
09:38 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31299
09:39 moritz my girlfriend says hi and wishes a good sunday localtime() to all of you ;-)
09:41 rurban tene: why?
09:42 dalek r31300 | rurban++ | cygwin070patches:
09:42 dalek : [cage] RT#39742
09:42 dalek : * remove "Building a shared parrot library may conflict..." warning
09:42 dalek : * link explicitly against library file, as /usr/lib precedes -Lblib/lib path
09:43 dalek : * fix cygwin linker only if old ld2. otherwise keep g++
09:43 dalek : * outcomment cygchkdll as it is not needed anymore.
09:43 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31300
09:43 Tene Hi, moritz' girl.
09:43 Tene rurban: I'm just going to re-create it the next time I want to work on it.  Easier than keeping it up to date.
09:44 Tene The next thing I need to do on exceptions is add stuff to the exceptionhandler to tall it which types of exceptions it can handle.
09:44 rurban ok.
09:44 dalek r31301 | rurban++ | cygwin070patches:
09:44 dalek : [cage] RT#39742
09:44 dalek : * same as for r31298: SHRPENV not needed anymore
09:44 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31301
09:45 Tene after that, I might add automatic resume for non-fatal exceptions.
09:45 rurban shouldn't we protect parrot_hash_put(INTERP, hash, (void *)key, (void *)value); - I added the (void*) casts
09:45 rurban int->ptr warnings
09:45 * Tene sleep now.
09:46 rurban greetings back to moritz' friend
09:46 moritz rurban: thanks. How's your cygwin branch going?
09:46 rurban fine as ever.
09:46 moritz rurban: any plans for a merge?
09:46 Ontolog tools/dev/mk_language_shell.pl does not create a Makefil
09:46 rurban see STATUS-branch
09:46 moritz ok
09:47 rurban Ontolog: it creates the makefiles/root.in
09:47 Ontolog however it does make config/makesfiles/root.in
09:47 Ontolog yes
09:47 moritz Ontolog: I think the Makefile is created by Configure
09:47 rurban this is enough
09:48 Ontolog moritz: which Configure?
09:48 moritz Ontolog: parrot's
09:48 purl parrot's is modelled after perl 5's
09:48 rurban I added a lot of stuff to this tools/dev/mk_language_shell.pl in the cygwin070patches branch: pmc's, ops, ...
09:48 rurban and useful Makefile additions for make install later.
09:49 rurban make uninstall is in still work
09:51 rurban moritz: cygwin070patches should have been merged last week. But I'm not in the position to enforce that.
09:51 Ontolog I ran Configure.pl but still no makefile in languages/mylang
09:51 dalek r31302 | rurban++ | cygwin070patches:
09:51 dalek : [cage] update private todo: make uninstall
09:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31302
09:52 Ontolog looking at Configure.pl's help I don't see anywhere how to generate the Makefile for a specific language
09:52 rurban Ontolog: you need to add your language to the list of languages in config/gen/languages.in
09:52 rurban only then it is picked up by Configure
09:52 Ontolog ohhh
09:53 Ontolog would be nice to add to that Squaak tutorial ;-)
09:53 Ontolog thanks
09:53 rurban and several other places also (needs to be documented somewhere - can you write that down?)
09:54 Ontolog What is the format to config/gen/languages.in? The file doesn't exist so I can't see any examples
09:54 Ontolog just adding the name of the language doesn't work
09:54 rurban it is .pm, not .in sorry
09:55 rurban do you see it?
09:56 Ontolog yes i'm trying it now
09:56 Ontolog ok that worked
09:56 Ontolog i wrote it down for future reference
09:58 rurban for a full integration of a new language several more templates need to be touched also
09:59 Ontolog i see, for now i'm just trying to follow the squaak tutorial
09:59 dalek r31303 | rurban++ | cygwin070patches:
09:59 dalek : [bcg] add some documentation to printPASM, fix endOp doc
09:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31303
09:59 Ontolog but i gave my language a different name because squaak is already part of the source tree
09:59 rurban languages/LANGUAGES_STATUS.pod, config/gen/makefiles/languages.in, config/gen/languages.pm, out of my head
10:03 dalek r31304 | rurban++ | cygwin070patches:
10:03 dalek : [cage] partial update to trunk
10:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31304
10:04 rurban BTW: I registered myself as speaker on the TwinCity perl meeting in vienna/bratislava.
10:04 rurban some parrot talk and some perl-compiler talk
10:06 rurban lightning talk: "Short overview of the current parrot status and plans (not perl6 aka "rakudo"), and the yet undecided problems on making parrot and its languages installable"
10:07 rurban and 40min: "Need perl-compiler help: Hack the optree and emit C or JIT"
10:16 cotto_home rurban++ #using "its" correctly
10:18 dalek r31305 | allison++ | pdd27mmd:
10:18 dalek : [pdd27mmd] Add a function 'Parrot_pcc_invoke_sub_from_c_args', which performs a
10:18 dalek : PCC invoke using a CallSignature PMC, after building the CallSignature from C
10:18 dalek : varargs.
10:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31305
10:20 dalek r31306 | allison++ | pdd27mmd:
10:20 dalek : [pdd27mmd] Cleaning out deprecated 'n_*' opcodes from NQP and Rakudo.
10:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31306
10:21 Zaba joined #parrot
10:32 Ontolog is docs/pdds/pdd03_calling_conventions.pod mostly deprecated?
10:32 Ontolog the set_args stuff?
10:38 jonathan No, it's current.
10:40 Ontolog but none of the code I see uses set_args set_returns or the like
10:40 Ontolog is that stuff only pertinent to PASM?
10:40 jonathan It does really. :-)
10:40 jonathan PIR generates those for you from the syntactic sugar for a call.
10:41 jonathan so foo = bar(baz) is actually four instructions.
10:41 jonathan Or maybe 3.
10:41 purl somebody said maybe 3 was good enough *shrug*
10:41 Ontolog i see, makes sense
10:41 Ontolog how does Parrot know if some PMC is an aggregate type?
10:42 jonathan It'll most likely be declared "provides array" or "provides hash".
10:43 Ontolog i see
10:43 Ontolog is it true that :method and :multi are semantically incompatible?
10:44 jonathan No.
10:45 Ontolog i didn't think so
10:45 Ontolog but if you see my last mail to the perl6-compiler list someone says it is
10:46 Ontolog i was hoping you had some time to respond to "method signature issues"
10:46 Ontolog as i'm still a bit confused about what is going on there and it's sort of blocking me
10:48 jonathan I'm a bit confused by what chromatic said. If that were true, how'd we do multimethods...
10:50 Ontolog yeah, i was hoping someone could clarify it, i'm not sure who is the authority on this particular topic though
10:51 jonathan I've been working on the Perl 6 side of multiple dispatch.
10:52 jonathan And as I think was mentioned before, there's some work to do in order to get built-ins written in PIR integrated into that and using the Perl 6 dispatch algorithm.
10:53 jonathan Replied to chromatic's post.
11:08 Zaba joined #parrot
11:11 Ontolog joined #parrot
11:15 TonyC joined #parrot
11:15 dalek r31307 | rurban++ | cygwin070patches:
11:15 dalek : [docs] update from trunk: added ch08_pct, ch09_hlls
11:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31307
11:24 dalek r31308 | rurban++ | cygwin070patches:
11:24 dalek : [install] put all runtime files into lib
11:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31308
11:29 dalek r31309 | rurban++ | cygwin070patches:
11:29 dalek : [cage] add new files from trunk, fix svn props
11:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31309
11:32 clunker3 joined #parrot
11:32 dalek r31310 | rurban++ | cygwin070patches:
11:32 dalek : [cage] add new files from trunk
11:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31310
11:38 cotto_home clunker3, owner
11:48 ruoso joined #parrot
11:54 bacek joined #parrot
11:54 dalek r31311 | allison++ | pdd27mmd:
11:54 dalek : [pdd27mmd] Temporarily override the default generated vtable function for
11:54 dalek : 'get_integer'. Later modify Pmc2c generator to call 'pcc_invoke' instead of old
11:54 dalek : style Sub invocation from C.
11:54 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31311
12:02 contingencyplan joined #parrot
12:05 rurban joined #parrot
12:24 Ontolog joined #parrot
12:25 dalek r31312 | allison++ | pdd27mmd:
12:25 dalek : [pdd27mmd] Line length fix.
12:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31312
12:39 dalek r31313 | fperrad++ | trunk:
12:39 dalek : [Markdown]
12:39 dalek : - implement BulletList & OrderedList
12:39 dalek : - and add tests
12:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31313
12:42 kid51 joined #parrot
12:58 dalek r31314 | allison++ | pdd27mmd:
12:58 dalek : [pdd27mmd] Remove deprecated 'n_*' opcodes from LOLCODE.
12:58 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31314
13:00 jonathan I CAN HAZ UPDATEZ.
13:07 cotto_home IZ DEPURKATID NAO
13:07 cotto_home NO CAN UZE
13:11 Ademan_ joined #parrot
13:15 masak joined #parrot
13:24 Whiteknight joined #parrot
13:31 masak rakudo: $foo
13:31 polyglotbot OUTPUT[Scope not found for PAST::Var '$foo'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1743 (src/PAST/Compiler.pir:367)␤called from Sub 'parrot;PAST::Compiler;as_post' pc 2008
13:31 polyglotbot ..(src/PAST/Compiler.pir:495)␤called from Sub 'parrot;PAST::Compiler;post_...
13:31 masak rakudo: eval '$foo'
13:31 polyglotbot RESULT[Null PMC access in find_method()␤current instr.: '_block11' pc 25 (EVAL_12:12)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1080 (src/PCT/HLLCompiler.pir:611)␤called from Sub
13:31 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1259 (src/PCT/HLLCompiler.pir...
13:32 masak that can't be right :)
13:32 masak also,
13:32 masak rakudo: '$'.perl.say
13:32 polyglotbot OUTPUT["$"␤]
13:32 Zaba joined #parrot
13:32 masak rakudo "$"
13:32 masak rakudo: "$"
13:32 polyglotbot OUTPUT[Can't use $ as non-variable in interpolated string at line 1, near "$\""␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;quote_term' pc 97966 (src/parser/quote_expression.pir:319)␤called from Sub
13:32 polyglotbot ..'parrot;Perl6::Grammar;quote_concat' pc 97643 (src/parser/quote_e...
13:33 masak IOW, .perl generates un-runnable code in this case
13:35 jonathan :(
13:35 jonathan tickets++
13:36 Zaba rakudo: "$$"
13:36 polyglotbot OUTPUT[Can't use $ as non-variable in interpolated string at line 1, near "$$\""␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;quote_term' pc 97966 (src/parser/quote_expression.pir:319)␤called from Sub
13:36 polyglotbot ..'parrot;Perl6::Grammar;quote_concat' pc 97643 (src/parser/quote_...
13:36 masak jonathan: I'd submit one, but I'm trying to fool the discoverer into doing it first :)
13:37 jonathan Yeah yeah, just so you look less responsible for the queue size :-P
13:37 masak too late for that...
13:37 jonathan :-)
13:37 jonathan I'm not sure I want to think, how much it will grow while I'm away. :-)
13:37 masak you're going away?
13:37 jonathan Yes.
13:38 * masak misses jonathan already
13:38 masak how long?
13:38 purl How long must we sing this song?
13:38 jonathan About a month.
13:38 masak purl, how long must you pester us with your incomplete wit?
13:38 purl masak: no idea
13:38 jonathan Going to travel across Russia.
13:38 masak jonathan: almost November when you get back, then :)
13:38 jonathan Yes.
13:39 jonathan Well, hope it will give me lots of fresh energy for hacking. :-)
13:39 masak indeed
13:39 jonathan I went away for October last year, and it wasn't that long after this, that I got involved in Rakudo.
13:39 masak we'll try to pull ourselves along without you
13:39 jonathan You'll do fine without me. :-)
13:39 masak who knows, maybe that will force me to learn more about Parrot
13:40 masak frustration is the mother of knowledge
13:40 jonathan Yeah! Then you can fix some of your own bugs. ;-)
13:40 rurban joined #parrot
13:40 masak cetere censeo #58392 delendam esse
13:41 jonathan Well, going to be in Vladivostok at start of my trip, so will meet Ilya there, who hacks on November.
13:41 masak Oh! Nice!
13:41 masak so you're doing Russia backwards? :)
13:42 jonathan I'd not heard it put that way before...
13:42 jonathan But yes, start in Vladivostok, and head to Moscow.
13:43 masak definitely backwards.
13:43 masak but, as they say, "In Soviet Russia..."
13:45 jonathan "In Soviet Russia, Perl 6 finishes you."
13:46 masak :)
13:53 rurban Soviet Russia is my big hope for the real optree gore (fixing the perl5 compiler)
13:55 jonathan Ah yes, you're coming to the twin city workshop looking for talent, I hear. :-)
14:18 Zaba joined #parrot
14:26 dalek r31315 | rurban++ | unknown:
14:26 dalek : rename cygwin070patches branch to pdd30_install
14:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31315
14:28 rurban jonathan: yes. I always loved to work with russian hackers on former projects (lisp and perl)
14:32 jonathan I'm looking forward to my time in Russia, and meeting more of them. :-)
14:38 rurban http://parallelinfo.mur.at/ru/novo.html and more (I did the webpages and mailinglist)
14:41 jonathan Novosibirsk is one city I'm not going to make it to on this trip.
14:47 Zaba joined #parrot
14:56 Zaba joined #parrot
14:57 Limbic_Region joined #parrot
14:59 tetragon joined #parrot
15:03 rurban What was the pdd09gc branch for? Switchable gc's?
15:04 rurban Ah I see: "...to try to continue  some of my GC work from the summer with a blank slate."
15:08 * rurban_away going to the movies now
15:16 iblechbot joined #parrot
15:21 grim_fandango joined #parrot
15:34 dalek r31316 | fperrad++ | trunk:
15:34 dalek : [Markdown]
15:34 dalek : - implement EmphStar & StrongStar
15:34 dalek : - and add tests
15:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31316
15:35 jhorwitz joined #parrot
15:40 moritz masak: re #59112, looks like it might be a configure problem - did you try 'make realclean#?
15:41 masak moritz: is the final '#' significant? otherwise, yes
15:41 masak I always do `make realclean && perl Configure.pl && TEST_JOBS=2 make -j 2 test` nowadays
15:42 moritz it's not
15:42 moritz same here, except that I also use --cc='ccache gcc'
15:43 masak ISTR that didn't work over here
15:46 apeiron joined #parrot
15:49 dalek r31317 | fperrad++ | trunk:
15:49 dalek : [Markdown]
15:49 dalek : - implement EmphUI & StrongUI
15:49 dalek : - and add tests
15:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31317
15:49 dalek r31318 | allison++ | pdd27mmd:
15:49 dalek : [pdd27mmd] Remove deprecated 'n_*' opcodes from Cardinal.
15:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31318
16:06 Whiteknight joined #parrot
16:07 Zaba EmphUI? StrongUI?
16:08 moritz Zaba: markdown is a markup language ;)
16:08 Zaba oh, I think I did hear of it somewhre
16:08 Zaba where*
16:08 moritz used in some wikis, I think
16:09 masak aye
16:09 masak many "Use of uninitialized value" warnings when running make spectest_regression nowadays
16:10 moritz right
16:10 moritz some of them are bogus
16:10 masak in what sense?
16:10 moritz that they shouldnn't warn
16:12 moritz I'll try to find an example...
16:12 dalek r31319 | allison++ | pdd27mmd:
16:12 dalek : [pdd27mmd] Don't multiply dispatch add_float, nothing defines a multi for it.
16:12 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31319
16:13 masak my goal for today is to see how much of t/spec/S29-conversions/ord_and_chr.t starts passing in Rakudo if I just implement ord and chr as simple wrappers to their Parrot opcode equivalents
16:14 moritz masak: http://irclog.perlgeek.de/​perl6/2008-09-16#i_570702
16:14 masak moritz: ah, that parsing error
16:14 moritz is that a parsing error?
16:15 masak moritz: well, I guess it's a question of how you define it...
16:15 moritz $something ~~ undef should be same as !defined($something)
16:15 masak a counts as a listop in that expression
16:15 masak so ~~ parses as two prefix ~
16:15 moritz ah, right
16:16 masak pmichaud says it a bit down in the discussion
16:16 masak http://irclog.perlgeek.de/​perl6/2008-09-16#i_570741
16:16 moritz right, I should read on
16:20 masak what unsettles me is that I get the impression that there is no error involved, that 'a ~~ undef' simply means 'a ~(~undef)'
16:21 moritz yes, subname expression is the same as subname(expression)
16:22 masak well, that's ok
16:22 masak but ~~ was clearly what was intended here
16:24 moritz clearly = human perception
16:25 masak there's the rub, I guess
16:25 masak sushi &
16:25 moritz I don't like how it behaves, but I have no idea how to fix it without introducing ambiguty or inconsitency
16:26 moritz bonne apetite ;)
16:26 Theory joined #parrot
16:29 pmichaud to fix   a ~~ undef   change to    a() ~~ undef
16:29 pmichaud then there's no ambiguity.
16:30 pmichaud I agree that fixing this so that ~~ undef isn't parsed as ~ ~ undef  is a good idea, but that needs discussion on p6l.
16:30 pmichaud (unless it's already in the spec somewhere and I missed it.)
16:34 moritz STD.pm parses it as two prefixes as well
16:34 Zaba joined #parrot
16:57 dalek r31320 | allison++ | pdd27mmd:
16:57 dalek : [pdd27mmd] Go ahead and do the proxy dispatch on 'pow' from the Object PMC.
16:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31320
16:58 ruoso joined #parrot
17:09 szabgab joined #parrot
17:11 szabgab good evening
17:12 jonathan hi szabgab
17:12 szabgab I am trying to add parrot related syntax highlighting to Padre
17:13 szabgab I thought I'll try to add highlighting for pasm
17:13 jonathan PIR would be much more relevant/useful (and not vastly different).
17:13 jonathan Would be a nice thing, though. :-)
17:14 jonathan See the editors directory in Parrot - may provide some hints.
17:14 szabgab I'll try to look at PIR then
17:15 szabgab how can I parse a PIR file from perl5 and get know which part is what kind of a token?
17:16 szabgab btw the first version of my PASM support was just committed to svn of Padre
17:16 szabgab need to go, back in a few minutes...
17:16 jonathan Hmm. I'm not sure we've got a Perl 5 parser - the parsers that exist are in C (IMCC and PIRC) and Perl 6 Rules (languages/pge/, IIRC)
17:19 pmichaud languages/PIR, maybe.
17:20 jonathan oh, yes!
17:20 jonathan Duh!
17:25 szabgab back
17:26 szabgab so all I need to do is sg like what I have here : http://svn.perlide.org/padr​e/trunk/lib/Padre/Document/
17:30 jonathan $REGISTER => qr/I0|N\d+/,
17:30 jonathan Making that
17:30 jonathan $REGISTER => qr/I0|N\d+/,
17:30 jonathan oops
17:31 jonathan $REGISTER => qr/\$?[ISPN]\d+/,
17:31 jonathan Is probably more correct.
17:31 jonathan Also, whitespace is allowed before labels, at least in PIR.
17:31 jonathan So $LABEL    => qr/^\w*:/m,
17:31 dalek r31321 | rurban++ | pdd30_install:
17:31 dalek : update STATUS-branch after rename
17:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31321
17:31 jonathan Likely wants to be $LABEL    => qr/^\s*\w*:/m,
17:32 rurban_away joined #parrot
17:34 szabgab thanks, I fix those thought this is really a perliminary version and I hope some people who are better equipted to ad a parser of pasm and pir will do this ;-)
17:34 szabgab I just show how the coloring interface in Padre works
17:41 jonathan Aha, cool.
17:41 jonathan I'm about to head off on a trip to Russia, so cna't help too much myself at the moment.
17:41 szabgab :-(
17:42 jonathan Maybe when I get back. :-)
17:42 szabgab in pir what is the difference between end and .end ?
17:42 szabgab and print and .include?
17:42 szabgab are they all keywords?
17:43 jonathan One interesting thing though, is whether we can use the PGE parse trees or even what they boil down to in PAST to do highlighting for many languages, more easily...
17:43 jonathan end is an opcode
17:43 Whiteknight things with a . are directives, and may translate to multiple PASM instructions
17:43 jonathan .end isn't an instruction itself.
17:43 szabgab so I can call .end as a directive?
17:43 jonathan Yes, or maybe no instructions. Like .sub 'name' ... .end marks the instructions that make up a sub of a given name.
17:43 szabgab for now?
17:43 purl For now, it works but once I figure out how to get the lube to stick to the mouse I'll be able to market it.
17:43 Whiteknight which is actually inconsistent with the "say" command, which is also a directives
17:43 jonathan Yes.
17:44 jonathan Oh?
17:44 szabgab so ^\.\w  is a directive?
17:44 szabgab just for the colouring
17:44 jonathan I'm struggling to think of a better name.
17:44 szabgab so it is good for now
17:44 jonathan But for me, works OK. It distinguishes it from being an instruction.
17:44 szabgab It is more so I can brag that Padre supports pir :-)
17:45 jonathan :-)
17:45 jonathan So, when do we get Perl 6 support? ;-)
17:45 szabgab but I also hope that one of you will pick it up and add real parsing to it and real calltips
17:45 szabgab it is in there already :-)
17:45 moritz really?
17:45 szabgab just very preliminary ....
17:45 * moritz has to try
17:45 jonathan OH RLY?
17:46 * jonathan too
17:46 jonathan ...wow, you just might have got two new users. ;-)
17:46 Whiteknight we can has syntax highlighting?
17:46 szabgab it is just a few keywords now
17:46 jonathan szabgab: This is the bit where you learn that half of #parrot speak like lolcats...
17:46 Whiteknight whatever, better then nothing
17:46 szabgab that's another thing I wanted to ask, how can I parse perl6 from perl5?
17:46 moritz szabgab: STD.pm already can ;)
17:47 moritz szabgab: it can be compiled to perl5, and then run
17:47 szabgab is that perl5?
17:47 moritz but dead slow
17:47 jonathan Yes, there's that. Another thing I'd really, really like to see tried, is embedding Parrot and using PGE itself to do the parsing.
17:47 szabgab jonathan: right, that would be great
17:47 Whiteknight I asked my girlfriend "I can has chocolate" and she was like "You can has chocolate later!". I'mrubbing off on her
17:47 szabgab so if there is an Inline::Parrot ..
17:48 jonathan szabgab: I'm not promising it'll be easy. ;-)
17:48 szabgab so where is STD.pm ?
17:48 Whiteknight An Inline::Parrot module would be nice to have for Perl 5
17:48 moritz szabgab: pugs repository, src/perl6/
17:49 jonathan Inline::Rakudo could be cool too.
17:49 jonathan I guess that could be a thin layer on top of a more general Inline::Parrot, perhaps.
17:50 szabgab I think I'll release Padre 0.10 with the support as it is now and then see how to add better support
17:51 jonathan Sure. Step by step. :-)
17:51 * jonathan goes to cook dinner, learn more Russian and continue packing
17:52 szabgab hey std.pm is Perl 6
17:52 szabgab I cant run that yet ...
17:52 moritz szabgab: but it can be compiled to perl 5
17:52 moritz szabgab: just type 'make'
17:52 moritz szabgab: and you need some dependencies... like perl-5.10.0 in /usr/local/bin/perl, and re::engine::TRE
17:53 szabgab in the src/perl6 dir, it did notlike me
17:53 szabgab ah I see
17:53 szabgab that will take some time to build
17:53 szabgab so for now I skip this but I'll come back for more help with this
17:56 szabgab in the meantime if anyone wants to try Padre, it is on CPAN, and help to install is on http://padre.perlide.org/wiki/Download
17:56 szabgab the pir/pasm/perl6 colouring is in svn right now
17:58 Whiteknight Padre requiures Wx, right?
17:58 moritz right
17:59 Whiteknight is that going to be a big pain in the ass to install on ActivePerl?
17:59 szabgab yes, that's the biggest issue with it
17:59 Whiteknight (gtk2 was, so I've become leery of new graphics kits)
17:59 szabgab no, on ActivePerl windows you have instructions on the web site
17:59 Whiteknight Tk was easy to install, but Tk looks terrible
17:59 szabgab there are ppd files in a separated repo
18:00 Whiteknight oh, maybe I'll go hunting for them
18:00 szabgab see the padre Download page for instructions
18:00 Whiteknight ok
18:00 szabgab but I think Strawberry is better :-)
18:00 Whiteknight This computer is linux, so that isn't a problem. my other computers are all windows though
18:01 szabgab actually it is a bit harder to install on linux right now
18:01 szabgab we already have instructions for windows both AP and Strawberry but the linux instructions are a bit harder / less existant
18:02 Whiteknight oh really? So I can't just do "install padre"?
18:03 szabgab if you have Wx installed you can
18:03 Whiteknight ok
18:03 szabgab the problem is with the Wx installation
18:03 Whiteknight oh, that installation fails?
18:04 szabgab but for linus I have a binary you can download
18:04 Zaba joined #parrot
18:04 moritz is that PAR packed?
18:04 szabgab Whiteknight: there are all kinds of magic and spells you need to use to get Wx running on linux
18:04 szabgab yes par packed but exe
18:05 Whiteknight i'll play with it a little bit. I know a little magic
18:05 szabgab and it is for 0.09 without the pasm/pir thing
18:06 szabgab and there is the wxperl mailing list and #wxperl
18:06 szabgab but I have to go now
18:06 szabgab &
18:07 rurban_away joined #parrot
18:08 Whiteknight wx *appears* to be building fine on my system
18:08 purl Try a 4-letter station code (see http://weather.noaa.gov/weather/curcond.html for locations and codes)
18:09 rurban Whiteknight: when do you add gc_it to the new pdd09gc branch?
18:09 Whiteknight I dont know, probably soon
18:10 Whiteknight I need to add a few new support functions first to support it
18:10 Whiteknight I'll probably work on that this week a little bit, if there are no more pdd27mmd tasks for me to work on
18:11 rurban ah, pdd27. that's why
18:11 masak rakudo: say eval("\$foo".perl)
18:11 polyglotbot OUTPUT[Null PMC access in get_string()␤current instr.: 'print' pc 14071 (src/gen_builtins.pir:8773)␤called from Sub 'say' pc 14093 (src/gen_builtins.pir:8783)␤called from Sub '_block11' pc 44 (EVAL_12:15)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called
18:11 polyglotbot ..from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 108...
18:19 moritz masak: rakudo doesn't do lexicals in eval()s yet
18:21 masak I can tell.
18:21 masak but note -- somewhat subtle, I know -- that I didn't evaluate the program $foo
18:21 masak I evaluated the string "$foo"
18:22 moritz that tries to access the lexical $foo as well
18:22 masak yes, due to the non-escaping of $
18:22 masak if Rakudo implemented Perl 6 a bit more, it wouldn't
18:23 moritz right
18:23 moritz .oO( we're working on it ;)
18:23 masak aye
18:23 masak didn't mean to sound harsh :)
18:23 * masak hugs Rakudo
18:25 masak moritz: where did this [Book] mail in p6c drop down from?
18:26 moritz masak: I just copied & pasted the change message and some parts of the diff in
18:26 Whiteknight that [Book] mail was about a change I made to pugs/docs/tutorial
18:26 masak aha, so it's not from some other list. I see
18:26 Whiteknight i added some details which might not be true, depending on how well I've read some information
18:26 moritz and I thought I'd cc p6c in case somebody knew the answers
18:27 Whiteknight I didn't cc my reply to p6c though
18:27 masak moritz: FWIW, I agree with you. inner classes are not automatically subclasses
18:27 Whiteknight i probably should have
18:27 moritz Whiteknight: also the matching against a grammar will be done differently
18:27 moritz Whiteknight: stuff ~~ Grammar ist just a type check
18:27 masak in fact, inner classes in Perl 6 are quite pointless as I understand them.
18:27 Whiteknight it will be? Calling $string ~~ Grammar doesnt call Grammar.TOP?
18:28 moritz Whiteknight: no. I'll look for the discussion in the #perl6 logs, just a sec
18:28 Whiteknight i read that somewhere, but my source may have been very old
18:28 Whiteknight that's also the way it's working in PGE now, so you can understand my confusion
18:29 moritz it used to work that way, but it's a conflict with how other stuff works in Perl 6
18:29 moritz Whiteknight: http://irclog.perlgeek.de/​parrot/2008-05-31#i_322490
18:53 ruoso joined #parrot
18:58 ruoso joined #parrot
19:06 ruoso joined #parrot
19:09 Zaba joined #parrot
19:23 Maddingu1 joined #parrot
19:23 masak joined #parrot
19:23 baest joined #parrot
19:24 Whiteknight joined #parrot
19:25 ruoso joined #parrot
19:29 ruoso joined #parrot
19:44 leo_ joined #parrot
19:47 jonathan_ joined #parrot
19:50 ruoso joined #parrot
19:51 Zaba_ joined #parrot
19:52 jan joined #parrot
19:53 slavorg joined #parrot
19:54 PacoLinux joined #parrot
19:54 baest joined #parrot
19:57 Zaba joined #parrot
19:58 Ontolog joined #parrot
20:01 ruoso joined #parrot
20:06 grim_fandango joined #parrot
20:08 nopaste joined #parrot
20:14 ruoso joined #parrot
20:32 Theory joined #parrot
20:35 Zaba joined #parrot
20:37 dalek r31322 | fperrad++ | trunk:
20:37 dalek : [Markdown]
20:37 dalek : - refactor: now use only token (no rule)
20:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31322
20:39 Zaba_ joined #parrot
20:42 Andy joined #parrot
20:45 dalek r31323 | fperrad++ | trunk:
20:45 dalek : [Lua]
20:45 dalek : - fix exception
20:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31323
20:54 Ontolog joined #parrot
20:56 Zaba joined #parrot
20:58 nopaste joined #parrot
21:01 dalek r31324 | julianalbo++ | trunk:
21:01 dalek : add delete_keyed_int to resizableintegerarray
21:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31324
21:02 Zaba_ joined #parrot
21:09 ruoso joined #parrot
21:28 nopaste joined #parrot
21:29 Zaba joined #parrot
21:31 grim_fandango joined #parrot
21:50 dalek r31325 | julianalbo++ | trunk:
21:50 dalek : fix C90 violations in core.ops
21:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31325
21:57 Zaba_ joined #parrot
22:09 apeiron joined #parrot
22:13 dalek r31326 | julianalbo++ | trunk:
22:13 dalek : many fixes and improvements to pirric
22:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31326
22:13 nopaste joined #parrot
22:32 dmknopp joined #parrot
22:43 apeiron joined #parrot
22:57 dalek r31327 | coke++ | pdd30_install:
22:57 dalek : [docs] add pointer to old RT for this item.
22:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31327
23:02 cognominal pmichaud, can you clarify what you said here two days ago about .item and .list in the context of slurp()
23:04 baest joined #parrot
23:16 cognominal cocoacast++
23:16 Whiteknight joined #parrot
23:22 pmichaud cognominal: I'm not sure I can clarify it fully, no.
23:22 Whiteknight what's the easiest way to delete a branch?
23:22 pmichaud I just know that 'want' is generally an indication that we're not thinking about things correctly.
23:23 Tene Whiteknight: svn rm http://whatever/foo/bar
23:23 pmichaud just be sure to get the url correct :-)
23:23 Whiteknight okay, I'll try really hard
23:23 pmichaud we've had it occur where someone accidentally deleted   http://svn.perl.org/parrot/branches
23:23 pmichaud (OOPS!)
23:23 Whiteknight yeah, that sounds bad
23:23 NotFound pmichaud: except when someone say "I want you", I suppose.
23:23 Tene svn rm https://svn.perl.org/parrot/trunk
23:24 Tene oops, wrong window
23:24 purl sudo rm -rf /
23:25 Tene I need to figure out this PMC_pmc_val, PMC_data, etc. stuff.
23:26 Whiteknight I completely garbaged up the pdd09gc branch somehow, probably in a merge somewhere
23:26 Tene I know what that's like.  :)
23:26 Whiteknight so I'm going to just delete it because there haven't been many changes yet and I'm not ready to work on it full-time yet
23:26 Tene I've done that more times than I'm comfortable admitting.
23:26 Whiteknight yeah, svn seems to make it very easy to screw things up
23:28 * jonathan has a slight fear of branches, so bullies other people into maintaining his ;-)
23:28 AndyA joined #parrot
23:29 Tene I can do branches just fine, as long as I get to deal with them through git.  I always harass other people into doing svn stuff for me.
23:30 cognominal pmichaud, do you mean that we would want to multi a sub on context? because my initial motivation was to fix the slurp sub
23:32 cognominal I don't think the type is part of the signature, but somehow the context should be. btw I don't think that TimToady speaks of a hash contect.
23:32 cognominal I meant "the return type"
23:33 Whiteknight ...okay, I think I deleted the branch without causing any major problems
23:33 * Whiteknight crosses his fingers
23:33 dalek r31328 | Whiteknight++ | pdd09gc:
23:33 dalek : Branch is old, I haven't been focusing on it like I should have, and I screwed it up in a merge somewhere so I'm deleting it
23:33 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31328
23:36 baest joined #parrot
23:38 * cognominal reread the synopses part that deal with context
23:47 TiMBuS joined #parrot
23:54 Whiteknight where is the pdd27 tasklist at?
23:58 Whiteknight i think it's been lost somewhere in the move to the new site

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

Parrot | source cross referenced