Camelia, the Perl 6 bug

IRC log for #parrot, 2012-02-24

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 bacek_at_work aloha, whiteknight
00:33 dngor_ joined #parrot
01:47 kid51 joined #parrot
01:56 kid51 joined #parrot
01:57 kid51 joined #parrot
01:58 kid51 joined #parrot
01:59 kid51 joined #parrot
02:02 preflex_ joined #parrot
02:36 dalek Rosella: c83ff06 | Whiteknight++ | src/unstable/native/Library.winxed:
02:36 dalek Rosella: [Native] flesh out some logic for creating libraries and searching through a bunch of paths
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/c83ff065c8
02:36 dalek Rosella: d6c703c | Whiteknight++ | s (2 files):
02:36 dalek Rosella: [String] Add in an experimental new Trie type
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/d6c703cfd9
02:36 dalek Rosella: 6e7f0a3 | Whiteknight++ | src/string/Trie.winxed:
02:36 dalek Rosella: [String] Add in a new method to add multiple entries to the Trie from a hash
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6e7f0a3b56
02:36 dalek Rosella: 29fad38 | Whiteknight++ | s (4 files):
02:36 dalek Rosella: [String] Add a SimpleCode tokenizer, which performs lexing of simple code-like sequences
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/29fad3865d
02:36 dalek Rosella: 6b63d38 | Whiteknight++ | src/string/ (2 files):
02:36 dalek Rosella: [String] Trie fix to return the sequence that was matched. Update the SimpleCode tokenizer
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6b63d38990
02:36 dalek Rosella: 0b0a5d4 | Whiteknight++ | src/ (15 files):
02:36 dalek Rosella: [Template] Several cleanups to Template. Fix the If node to generate correct (and more streamlined) code
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/0b0a5d4a85
02:36 dalek Rosella: ff14008 | Whiteknight++ | / (13 files):
02:36 dalek Rosella: [Reflect] Add in some new classes to start deep opcode-level introspection. This borrows some ideas explored by benabik++ in his PACT disassembler
02:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/ff14008876
02:36 whiteknight wow, I forgot about some of those commits
03:04 preflex_ joined #parrot
05:22 benabik joined #parrot
05:36 cotto ~~
06:23 dalek nqp: 9843c1d | moritz++ | tools/build/PARROT_REVISION:
06:23 dalek nqp: bump parrot revision to something after the cont_reuse merge
06:23 dalek nqp: review: https://github.com/perl6/nqp/commit/9843c1da1f
06:24 dalek rakudo/nom: 546343d | moritz++ | src/binder/multidispatch.c:
06:24 dalek rakudo/nom: Merge remote branch 'origin/cont_reuse' into nom
06:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/546343d9cc
06:24 dalek rakudo/nom: ad349d5 | moritz++ | tools/build/NQP_REVISION:
06:24 dalek rakudo/nom: bump NQP revision
06:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ad349d5859
07:14 jsut joined #parrot
07:16 plobsing joined #parrot
07:47 mj41 joined #parrot
08:06 dalek rakudo/nom: 1ccc79f | moritz++ | src/ (2 files):
08:06 dalek rakudo/nom: typed exception for numeric parameter
08:06 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1ccc79fa27
08:33 dalek rakudo/nom: 8a29c50 | moritz++ | src/ (2 files):
08:33 dalek rakudo/nom: X::Syntax::Reserved
08:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8a29c50061
09:18 lucian joined #parrot
09:56 dalek rakudo/nom: f9c788d | moritz++ | src/ (2 files):
09:56 dalek rakudo/nom: typed NYI exceptions from Grammar.pm
09:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f9c788d898
09:56 dalek rakudo/nom: 8ee2aa3 | moritz++ | src/Perl6/Actions.pm:
09:56 dalek rakudo/nom: more consequent NYI errors from Actions.pm
09:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8ee2aa3a68
10:02 alin joined #parrot
10:08 krunen joined #parrot
10:45 dalek Rosella: 381cc28 | Whiteknight++ | src/reflect/ (2 files):
10:45 dalek Rosella: [Reflect] Break some of the deserialization logic into a new Deserializer type, so we can share it. Not added to build, features are broken
10:45 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/381cc28e63
11:06 JimmyZ joined #parrot
11:08 dalek rakudo/nom: 867f9d5 | moritz++ | src/ (2 files):
11:08 dalek rakudo/nom: X::Syntax::Regex::Adverb
11:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/867f9d5cb9
11:45 fperrad_ joined #parrot
12:17 bluescreen joined #parrot
12:18 mj41 joined #parrot
12:53 moritz hi all
12:54 moritz parrot implements both unlink and rmdir, but exposes them only through one magic interface, OS.rm
12:54 moritz would it be OK if I exposed both directly?
13:03 moritz ok, forgiveness > permission
13:04 nine channel's been quiet all day
13:07 dalek nqp: 6d1c5ff | moritz++ | / (30 files):
13:07 dalek nqp: Merge remote branch 'jimmyz/master'
13:07 dalek nqp: review: https://github.com/perl6/nqp/commit/6d1c5ff486
13:16 dalek parrot: 7f58626 | moritz++ | src/dynpmc/os.pmc:
13:16 dalek parrot: [os] expose unlink and rmdir as separate methods
13:16 dalek parrot:
13:16 dalek parrot: Perl 6 wants them separate, so it is much more convenient this way.
13:16 dalek parrot: Also the .rm approach is prone to race conditions between the stat and
13:16 dalek parrot: the unlink/rmdir call
13:16 dalek parrot: review: https://github.com/parrot/parrot/commit/7f58626e96
13:19 dalek nqp: d44ab2e | moritz++ | tools/build/PARROT_REVISION:
13:20 dalek nqp: bump PARROT_REVISION to get separate unlink and rmdir primtives
13:20 dalek nqp: review: https://github.com/perl6/nqp/commit/d44ab2eba1
13:21 dalek rakudo/nom: 1c93f3c | moritz++ | / (2 files):
13:21 dalek rakudo/nom: bump NQP revision
13:21 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1c93f3c501
13:38 seme joined #parrot
13:38 seme hi guys ;)
13:38 moritz hello
13:43 travis-ci joined #parrot
13:43 travis-ci [travis-ci] parrot/parrot#80 (master - 7f58626 : Moritz Lenz): The build passed.
13:43 travis-ci [travis-ci] Change view : https://github.com/parrot/par​rot/compare/aca5acc...7f58626
13:43 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/734575
13:43 travis-ci left #parrot
13:44 dalek rakudo/nom: e45989e | moritz++ | docs/ROADMAP:
13:44 dalek rakudo/nom: document optimization ideas, sisar++ for proposing it
13:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e45989e663
13:45 fperrad joined #parrot
14:26 dalek Rosella: 74612ad | Whiteknight++ | s (2 files):
14:26 dalek Rosella: [Reflect] Add Deserializer to the build, fixes so it builds and runs
14:26 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/74612ad6b6
14:26 dalek Rosella: c913d45 | Whiteknight++ | src/reflect/ (2 files):
14:26 dalek Rosella: [Reflect] Add accessor method to get list of instructions from a packfile.
14:26 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/c913d45034
14:26 dalek Rosella: b133bcf | Whiteknight++ | src/reflect/ (5 files):
14:26 dalek Rosella: [Reflect] add in a routine to get the current Function. Add in several TODO notes.
14:26 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/b133bcf948
14:36 dalek Rosella: f16001d | Whiteknight++ | src/reflect/ (3 files):
14:36 dalek Rosella: [Reflect] Add in an accessor to get the PackfileView and Packfile from the Module. Use this in the Deserializer to clean up some code
14:36 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/f16001d93a
14:41 PacoAir joined #parrot
15:08 dalek rakudo/nom: bd9cb3a | (Filip Sergot)++ | src/core/IO.pm:
15:08 dalek rakudo/nom: changed &unlink and new &rmdir
15:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bd9cb3a6ac
15:08 dalek rakudo/nom: 0f96959 | moritz++ | src/core/IO.pm:
15:08 dalek rakudo/nom: Merge pull request #58 from sergot/nom
15:08 dalek rakudo/nom:
15:08 dalek rakudo/nom: changed &unlink and new &rmdir
15:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/0f969596b5
15:44 Psyche^ joined #parrot
15:49 seme hey guys are there any books on parrot... like print books
15:51 Coke seme:  nothing recent.
15:53 seme interesting... I was just reading my language theory book and I thought it would be interesting if something like that existed using parrot as a tool for practical examples of various concepts, etc.
16:01 contingencyplan joined #parrot
16:01 contingencyplan_ joined #parrot
16:20 dmalcolm joined #parrot
16:30 GeJ joined #parrot
17:04 whiteknight joined #parrot
17:04 benabik joined #parrot
17:12 whiteknight good afternoon, #parrot
17:16 benabik o/ whiteknight
17:26 whiteknight hello benabik
17:26 whiteknight last night I threw some of those opcode disassebly ideas together as a test
17:42 plobsing joined #parrot
17:54 lucian joined #parrot
18:08 cotto ~~
18:10 whiteknight hello cotto
18:17 cotto 'morning, whiteknight
19:17 lucian joined #parrot
19:37 benabik joined #parrot
19:56 bluescreen joined #parrot
20:02 mj41 joined #parrot
20:04 dngor joined #parrot
20:10 whiteknight benabik: ping
20:10 benabik whiteknight: pong
20:11 whiteknight I've been prototyping some of those ideas in Rosella, but you're more than welcome to steal anything back for use in PACT that you want
20:11 whiteknight I didn't sleep much last night, so I used the extra time to play with code
20:12 benabik Yeah, saw that last night.  Looks like a reasonable start, although having the PC attached to the instruction seemed a bit odd.
20:12 whiteknight Yeah, it's all very first-draftish
20:13 whiteknight Rosella wants it for introspection purposes, so knowing where an instruction is in the code seems like a good thing to me
20:14 whiteknight I'm thinking about rewriting the whole thing as an iterator, for lazy cycling through the ops instead of assembling them all into a big array
20:15 whiteknight then it would probably be something like this: for (int pc in bytecode) var instruction = bytecode[pc];
20:15 whiteknight the only part of that I don't like is that the integer keys would by definition not be sequential
20:15 whiteknight or, if you picked a PC value that wasn't on an op boundary you would get nonsensical results
20:16 * whiteknight mumbles something under his breath about non-fixed-width and variadic opcodes
20:17 * benabik chuckles.
20:19 benabik You could try to create a map from 0-N to sub.start - sub.end
20:25 whiteknight yeah, but I do want access to the pc in some way
20:25 whiteknight if I'm using this library to build a disassembler, I want pc information to be displayed
20:26 whiteknight or in a custom error handler when I get an error I can print out a short blurb of disassembled bytecode to highlight where the error is
20:42 plobsing joined #parrot
20:45 whiteknight either way, It's not something I expect to be used too often in the context of Rosella, so maybe the interface doesn't need to be 100% sane and pretty
20:47 whiteknight We'll save the real pretty interfaces for PACT
20:49 dngor joined #parrot
21:59 bluescreen joined #parrot
23:04 plobsing joined #parrot
23:05 dngor joined #parrot

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

Parrot | source cross referenced