Camelia, the Perl 6 bug

IRC log for #parrot, 2012-07-30

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:32 dngor joined #parrot
00:44 kid51 joined #parrot
01:01 Tene delicious segfaults.
01:03 woosley joined #parrot
01:07 dalek rakudo/nom: 1d4eb48 | pmichaud++ | / (2 files):
01:07 dalek rakudo/nom: Refactor unary hypers to avoid .pick(*) and for loops, resulting in a 9x speed improvement for @array>>.xyz calls.
01:07 dalek rakudo/nom:
01:07 dalek rakudo/nom: Even with this level of improvement, unary hyper methods are not yet
01:07 dalek rakudo/nom: faster than @array.map( *.xyz ).  This is partially due to some
01:07 dalek rakudo/nom: indirect block call overhead and some unneeded boxing of native
01:07 dalek rakudo/nom: values..  More improvements are forthcoming, but this is a really
01:07 dalek rakudo/nom: good first step.
01:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1d4eb481ef
01:07 kid51 Ooh, I love to see those pmichaud commits :-)
01:28 whiteknight joined #parrot
02:02 preflex_ joined #parrot
02:13 kid51 Eeek! No commits to master in nine days! :-(
02:36 Psyche^ joined #parrot
05:30 moritz it seems parrot wants to be a stable platform :/
05:34 muixirt joined #parrot
05:34 muixirt probably they have closed all issues ;-)
05:42 moritz I'd know about that :-)
05:53 brrt joined #parrot
06:02 dalek mod_parrot: 7fe167c | (Bart Wiegmans)++ | / (2 files):
06:02 dalek mod_parrot: Added some documentation
06:02 dalek mod_parrot: review: https://github.com/bdw/mod​_parrot/commit/7fe167c289
06:02 dalek mod_parrot: 673a3cb | (Bart Wiegmans)++ | pudding/psgi.pl:
06:02 dalek mod_parrot: Resolve a minor test issue
06:02 dalek mod_parrot: review: https://github.com/bdw/mod​_parrot/commit/673a3cb89f
06:06 fperrad joined #parrot
06:24 alvis joined #parrot
07:08 brrt joined #parrot
07:49 dalek Heuristic branch merge: pushed 217 commits to nqp/dyncall-callbacks by arnsholt
08:22 arcnor joined #parrot
08:22 arcnor hi
08:22 arcnor I was wondering if I can get some help with some PIR code not working from the docs
08:23 moritz I can try :-)
08:23 arcnor http://docs.parrot.org/parrot/devel/ht​ml/docs/book/pir/ch07_objects.pod.html
08:23 arcnor first example
08:23 arcnor I mean, the full first example, with the main
08:24 arcnor I've tried to compile it, and the compiler says there is no class "[" "Foo" "]" found
08:24 moritz might miss the newclass opcode mentioned earlier in that chapter
08:24 dalek nqp: 3a126fd | (Arne Skjærholt)++ | / (4 files):
08:24 dalek nqp: Initial callback handling.
08:24 dalek nqp:
08:24 dalek nqp: It works, but it'll leak memory since all the information needed to handle a
08:24 dalek nqp: callback is recreated (and allocated on the heap) on each call without ever
08:24 dalek nqp: being freed.
08:24 dalek nqp: review: https://github.com/perl6/nqp/commit/3a126fd73a
08:24 dalek nqp: 0897370 | (Arne Skjærholt)++ | src/ops/nqp_dyncall.ops:
08:24 dalek nqp: Add caching of callback handling data.
08:24 dalek nqp: review: https://github.com/perl6/nqp/commit/0897370953
08:24 dalek nqp: fc4115b | (Arne Skjærholt)++ | / (12 files):
08:24 dalek nqp: Merge branch 'master' into dyncall-callbacks
08:24 dalek nqp: review: https://github.com/perl6/nqp/commit/fc4115b2d1
08:24 dalek nqp: e74bc7e | (Arne Skjærholt)++ | / (37 files):
08:24 dalek nqp: Merge branch 'master' into dyncall-callbacks
08:24 dalek nqp: review: https://github.com/perl6/nqp/commit/e74bc7ea33
08:24 dalek nqp: e63f932 | (Arne Skjærholt)++ | src/ops/nqp_dyncall.ops:
08:24 dalek nqp: Decontainerize callback return value.
08:24 dalek nqp: review: https://github.com/perl6/nqp/commit/e63f9325fd
08:24 arcnor well, I've noticed I'm using parrot 4.5, and I've noticed docs are for devel version
08:24 dalek nqp: ef3e3e4 | (Arne Skjærholt)++ | / (10 files):
08:25 dalek nqp: Merge remote branch 'origin/master' into dyncall-callbacks
08:25 dalek nqp: review: https://github.com/perl6/nqp/commit/ef3e3e4b29
08:25 arcnor but I hipe this is basic enough to work on previous versions
08:25 arcnor s/hipe/hope
08:25 moritz arcnor: yes, the examples should work. When they don't, it's a bug
08:26 arcnor could you tell me if it's working for you?
08:26 moritz just a second
08:26 arcnor of course :)
08:27 moritz Class '[ 'Foo' ]' not found
08:27 arcnor exactly :P
08:27 arcnor also, I've checked 4.5 docs, same example
08:27 moritz if you insert a
08:28 moritz $P0 = newclass 'Foo'
08:28 moritz in .sub 'main'
08:28 moritz it gets a bit further
08:28 moritz Creating a new Foo
08:28 moritz get_iter() not implemented in class 'Foo'
08:28 moritz current instr.: 'main' pc 25 (oo.pir:16)
08:28 moritz that's caused by the 'say args'
08:34 moritz arcnor: I've opened https://github.com/parrot/parrot/issues/802 for you
08:34 moritz arcnor++ # finding bugs
08:48 benabik_ joined #parrot
08:57 arcnor hehe, thanks a lot!
08:57 arcnor I was looking for a way to implement classes and objects, and thought this was the "standar" way of doing things in PIR
08:57 arcnor so it's a pity it doesn't work as advertised :(
08:57 arcnor waiting for the bug to be fixed, then :)
09:02 arcnor oh, I've read it better, and it's not really a bug with the language, but with the example itself
09:02 arcnor sorry, I'm a bit tired :P
09:03 arcnor anyway, "say args" doesn't seem to be the culprit, as removing it throws the same error
09:03 muixirt arcnor: you know about Winxed? http://whiteknight.github.co​m/Rosella/winxed/index.html
09:03 arcnor even with an empty "init_pmc" I got the same
09:04 arcnor nop, NQP was the only thing I saw last time I checked
09:04 arcnor thanks for the link, will check
09:11 schm00ster joined #parrot
09:26 arcnor also, wanted to know if there is any way to compile PIR code to native code
09:26 arcnor maybe some tool that generates a wrapper with libparrot and my PIR or something like that
09:27 brrt joined #parrot
09:29 brrt oh, by the way
09:29 brrt i have the name for an entry point
09:29 brrt for the PSGI handler
09:29 brrt ParrotApplication
09:33 moritz arcnor: yes, you can compile PIR to PBC, and then there's pbc_to_exe to turn that into a "fakexecutable"
09:33 moritz ie something that looks like an exectutable, though it just contains the bytecode and links to parrot
09:34 arcnor yeah, thanks!
09:34 arcnor not working on my side because architecture issues, but maybe I did something wrong during parrot compilation
09:34 arcnor but great to know!
09:34 moritz it works fairly reliable for rakudo (Perl 6 on parrot)
09:35 arcnor yeah, I mean i386/x86_64 issues
09:35 moritz though rakudo always uses an installed parrot, never one from the build tree
09:35 arcnor although it seems I have everything compiled for x86_64, not sure why it's failing
09:35 moritz maybe that makes a difference
09:35 arcnor oh, ok, permissions :P
09:36 arcnor it installed with root only permissions, although the error says "error for x86_64 architecture"
09:37 arcnor yeah, working great!
10:10 dalek rakudo/nom: 3a20b76 | moritz++ | / (2 files):
10:10 dalek rakudo/nom: remove some deprecated subs and methods
10:10 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3a20b76b46
11:08 JimmyZ joined #parrot
12:27 arcnor joined #parrot
12:55 schm00ster joined #parrot
12:56 PacoAir joined #parrot
13:05 dalek rakudo/nom: f4b83df | moritz++ | tools/build/NQP_REVISION:
13:05 dalek rakudo/nom: bump NQP revision to get dyncall callbacks, arnsholt++
13:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f4b83df6d7
13:05 dalek rakudo/nom: 705fabb | (Felix Herrmann)++ | src/core/Main.pm:
13:05 dalek rakudo/nom: make Main.pm output a usage message on an unexpected named argument instead of bind failing
13:05 dalek rakudo/nom:
13:05 dalek rakudo/nom: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
13:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/705fabb531
13:26 bluescreen joined #parrot
13:40 brrt left #parrot
15:37 dalek joined #parrot
15:37 Util joined #parrot
15:42 Coke joined #parrot
15:46 jashwanth joined #parrot
15:58 preflex_ joined #parrot
16:16 rurban joined #parrot
16:27 rurban joined #parrot
16:33 darbelo joined #parrot
17:23 mtk joined #parrot
17:26 dmalcolm joined #parrot
17:35 whiteknight joined #parrot
17:52 particle joined #parrot
18:49 particle joined #parrot
19:02 Patterner joined #parrot
19:39 darbelo joined #parrot
19:54 dalek rakudo/trait-exceptions: afe141b | moritz++ | src/ (2 files):
19:54 dalek rakudo/trait-exceptions: refactor World.rethrow a bit
19:54 dalek rakudo/trait-exceptions:
19:54 dalek rakudo/trait-exceptions: you can now throw typed exceptions without file/line information, and have World.ex-handle add them for you
19:54 dalek rakudo/trait-exceptions: previously only untyped exceptions were supported, and wrapped into X::Comp::AdHoc.
19:54 dalek rakudo/trait-exceptions: arnsholt++ for poking me
19:54 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/afe141bda9
19:54 dalek rakudo/trait-exceptions: de73915 | moritz++ | src/ (3 files):
19:54 dalek rakudo/trait-exceptions: enable throwing of X::Comp exceptions from trait handlers
19:54 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/de73915ef9
20:03 dalek rakudo/trait-exceptions: 92b627f | moritz++ | src/Perl6/Actions.pm:
20:03 dalek rakudo/trait-exceptions: ex-handle routine traits
20:03 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/92b627fc9e
20:11 tuxit joined #parrot
20:15 dalek rakudo/trait-exceptions: 85800a0 | moritz++ | src/ (2 files):
20:15 dalek rakudo/trait-exceptions: more exception fixes
20:15 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/85800a066f
20:38 dalek rakudo/trait-exceptions: ff98fd1 | moritz++ | src/core/Exception.pm:
20:38 dalek rakudo/trait-exceptions: X::Export::NameClash now also does X::Comp
20:38 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/ff98fd1f50
20:44 dalek rakudo/trait-exceptions: fe675c9 | moritz++ | src/Perl6/ (2 files):
20:44 dalek rakudo/trait-exceptions: fix pod
20:44 dalek rakudo/trait-exceptions: review: https://github.com/rakudo/rakudo/commit/fe675c9cc5
21:01 dalek rakudo/nom: afe141b | moritz++ | src/ (2 files):
21:01 dalek rakudo/nom: refactor World.rethrow a bit
21:01 dalek rakudo/nom:
21:01 dalek rakudo/nom: you can now throw typed exceptions without file/line information, and have World.ex-handle add them for you
21:01 dalek rakudo/nom: previously only untyped exceptions were supported, and wrapped into X::Comp::AdHoc.
21:01 dalek rakudo/nom: arnsholt++ for poking me
21:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/afe141bda9
21:01 dalek rakudo/nom: de73915 | moritz++ | src/ (3 files):
21:01 dalek rakudo/nom: enable throwing of X::Comp exceptions from trait handlers
21:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/de73915ef9
21:01 dalek rakudo/nom: 92b627f | moritz++ | src/Perl6/Actions.pm:
21:01 dalek rakudo/nom: ex-handle routine traits
21:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/92b627fc9e
21:01 dalek rakudo/nom: 85800a0 | moritz++ | src/ (2 files):
21:02 dalek rakudo/nom: more exception fixes
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/85800a066f
21:02 dalek rakudo/nom: ff98fd1 | moritz++ | src/core/Exception.pm:
21:02 dalek rakudo/nom: X::Export::NameClash now also does X::Comp
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ff98fd1f50
21:02 dalek rakudo/nom: fe675c9 | moritz++ | src/Perl6/ (2 files):
21:02 dalek rakudo/nom: fix pod
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fe675c9cc5
21:02 dalek rakudo/nom: e99dd90 | moritz++ | src/ (4 files):
21:02 dalek rakudo/nom: Merge remote-tracking branch 'origin/trait-exceptions' into nom
21:02 dalek rakudo/nom:
21:02 dalek rakudo/nom: This enables throwing of X::Comp derived exceptions in traits,
21:02 dalek rakudo/nom: and Perl6::World.rethrow adds file name and line number
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e99dd90c74
21:08 dalek rakudo/nom: 96699c0 | jnthn++ | docs/ChangeLog:
21:08 dalek rakudo/nom: Be a little more precise/informative about magnitude of memory improvements.
21:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/96699c0ae5
21:11 dalek rakudo/nom: 7b678c3 | jnthn++ | docs/ChangeLog:
21:11 dalek rakudo/nom: Mention PIRT.
21:11 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7b678c3971
21:13 dalek rakudo/nom: 7c4c8b1 | moritz++ | docs/ChangeLog:
21:13 dalek rakudo/nom: mention trait exception improvements in ChangeLog
21:13 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7c4c8b1359
21:22 benabik joined #parrot
21:31 dalek nqp: 127288f | jnthn++ | src/QAST/Operations.nqp:
21:31 dalek nqp: Using 'pure' is gonna confuse everyone as to what it means, so just call it inlinable.
21:31 dalek nqp: review: https://github.com/perl6/nqp/commit/127288f242
21:31 dalek nqp: d94369f | jnthn++ | src/QAST/Operations.nqp:
21:31 dalek nqp: Collect op inlinability information and allow it to be queried.
21:31 dalek nqp: review: https://github.com/perl6/nqp/commit/d94369fccc
21:44 benabik joined #parrot
22:17 dalek nqp: a8df907 | jnthn++ | / (12 files):
22:17 dalek nqp: Add a QAST::InlinePlaceholder to represent a place in the QAST where an argument needs to be filled in when inlining. Implement a first cut of producing a tree with the placeholders substituted in.
22:17 dalek nqp: review: https://github.com/perl6/nqp/commit/a8df907adb
22:41 dalek nqp/sigsp: 5c0a24b | pmichaud++ | src/ (2 files):
22:41 dalek nqp/sigsp: Initial patches to ignore leading whitespace in rules.
22:41 dalek nqp/sigsp: review: https://github.com/perl6/nqp/commit/5c0a24b64c
23:01 whiteknight joined #parrot
23:06 dalek rakudo/setops: f0c5c2d | jnthn++ | src/ (4 files):
23:06 dalek rakudo/setops: Initial stab at porting of set operations from Niecza's CORE.setting. Doesn't pass set.t yet, but worse somehow slows down CORE.setting parse quite a bit. Pushing this to allow @other to investigate either issue; need to resolve whether the ops even belong in core before this is merged also.
23:06 dalek rakudo/setops: review: https://github.com/rakudo/rakudo/commit/f0c5c2d7b9
23:18 whiteknight good evening, #parrot
23:26 benabik joined #parrot

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

Parrot | source cross referenced