Parrot 4.1.0 "Black-headed Parrot" | parrot.org | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 23 February 2012.
bacek_at_work aloha, whiteknight 00:00
00:33 dngor_ joined 01:47 kid51 joined 01:56 kid51 joined 01:57 kid51 joined 01:58 kid51 joined 01:59 kid51 joined 02:02 preflex_ joined
dalek sella: c83ff06 | Whiteknight++ | src/unstable/native/Library.winxed:
[Native] flesh out some logic for creating libraries and searching through a bunch of paths
02:36
sella: d6c703c | Whiteknight++ | s (2 files):
[String] Add in an experimental new Trie type
sella: 6e7f0a3 | Whiteknight++ | src/string/Trie.winxed:
[String] Add in a new method to add multiple entries to the Trie from a hash
sella: 29fad38 | Whiteknight++ | s (4 files):
[String] Add a SimpleCode tokenizer, which performs lexing of simple code-like sequences
sella: 6b63d38 | Whiteknight++ | src/string/ (2 files):
[String] Trie fix to return the sequence that was matched. Update the SimpleCode tokenizer
sella: 0b0a5d4 | Whiteknight++ | src/ (15 files):
[Template] Several cleanups to Template. Fix the If node to generate correct (and more streamlined) code
sella: ff14008 | Whiteknight++ | / (13 files):
[Reflect] Add in some new classes to start deep opcode-level introspection. This borrows some ideas explored by benabik++ in his PACT disassembler
whiteknight wow, I forgot about some of those commits
03:04 preflex_ joined 05:22 benabik joined
cotto ~~ 05:36
dalek p: 9843c1d | moritz++ | tools/build/PARROT_REVISION:
bump parrot revision to something after the cont_reuse merge
06:23
kudo/nom: 546343d | moritz++ | src/binder/multidispatch.c:
Merge remote branch 'origin/cont_reuse' into nom
06:24
kudo/nom: ad349d5 | moritz++ | tools/build/NQP_REVISION:
bump NQP revision
07:14 jsut joined 07:16 plobsing joined 07:47 mj41 joined
dalek kudo/nom: 1ccc79f | moritz++ | src/ (2 files):
typed exception for numeric parameter
08:06
kudo/nom: 8a29c50 | moritz++ | src/ (2 files):
X::Syntax::Reserved
08:33
09:18 lucian joined
dalek kudo/nom: f9c788d | moritz++ | src/ (2 files):
typed NYI exceptions from Grammar.pm
09:56
kudo/nom: 8ee2aa3 | moritz++ | src/Perl6/Actions.pm:
more consequent NYI errors from Actions.pm
10:02 alin joined 10:08 krunen joined
dalek sella: 381cc28 | Whiteknight++ | src/reflect/ (2 files):
[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
11:06 JimmyZ joined
dalek kudo/nom: 867f9d5 | moritz++ | src/ (2 files):
X::Syntax::Regex::Adverb
11:08
11:45 fperrad_ joined 12:17 bluescreen joined 12:18 mj41 joined
moritz hi all 12:53
parrot implements both unlink and rmdir, but exposes them only through one magic interface, OS.rm 12:54
would it be OK if I exposed both directly?
ok, forgiveness > permission 13:03
nine channel's been quiet all day 13:04
dalek p: 6d1c5ff | moritz++ | / (30 files):
Merge remote branch 'jimmyz/master'
13:07
rrot: 7f58626 | moritz++ | src/dynpmc/os.pmc:
[os] expose unlink and rmdir as separate methods

Perl 6 wants them separate, so it is much more convenient this way. Also the .rm approach is prone to race conditions between the stat and the unlink/rmdir call
13:16
p: d44ab2e | moritz++ | tools/build/PARROT_REVISION:
bump PARROT_REVISION to get separate unlink and rmdir primtives
13:19
kudo/nom: 1c93f3c | moritz++ | / (2 files):
bump NQP revision
13:21
13:38 seme joined
seme hi guys ;) 13:38
moritz hello
13:43 travis-ci joined
travis-ci [travis-ci] parrot/parrot#80 (master - 7f58626 : Moritz Lenz): The build passed. 13:43
[travis-ci] Change view : github.com/parrot/parrot/compare/a......7f58626
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/734575
13:43 travis-ci left
dalek kudo/nom: e45989e | moritz++ | docs/ROADMAP:
document optimization ideas, sisar++ for proposing it
13:44
13:45 fperrad joined
dalek sella: 74612ad | Whiteknight++ | s (2 files):
[Reflect] Add Deserializer to the build, fixes so it builds and runs
14:26
sella: c913d45 | Whiteknight++ | src/reflect/ (2 files):
[Reflect] Add accessor method to get list of instructions from a packfile.
sella: b133bcf | Whiteknight++ | src/reflect/ (5 files):
[Reflect] add in a routine to get the current Function. Add in several TODO notes.
sella: f16001d | Whiteknight++ | src/reflect/ (3 files):
[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
14:41 PacoAir joined
dalek kudo/nom: bd9cb3a | (Filip Sergot)++ | src/core/IO.pm:
changed &unlink and new &rmdir
15:08
kudo/nom: 0f96959 | moritz++ | src/core/IO.pm:
Merge pull request #58 from sergot/nom

changed &unlink and new &rmdir
15:44 Psyche^ joined
seme hey guys are there any books on parrot... like print books 15:49
Coke seme: nothing recent. 15:51
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. 15:53
16:01 contingencyplan joined, contingencyplan_ joined 16:20 dmalcolm joined 16:30 GeJ joined 17:04 whiteknight joined, benabik joined
whiteknight good afternoon, #parrot 17:12
benabik o/ whiteknight 17:16
whiteknight hello benabik 17:26
last night I threw some of those opcode disassebly ideas together as a test
17:42 plobsing joined 17:54 lucian joined
cotto ~~ 18:08
whiteknight hello cotto 18:10
cotto 'morning, whiteknight 18:17
19:17 lucian joined 19:37 benabik joined 19:56 bluescreen joined 20:02 mj41 joined 20:04 dngor joined
whiteknight benabik: ping 20:10
benabik whiteknight: pong
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
I didn't sleep much last night, so I used the extra time to play with code
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
Rosella wants it for introspection purposes, so knowing where an instruction is in the code seems like a good thing to me 20:13
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:14
then it would probably be something like this: for (int pc in bytecode) var instruction = bytecode[pc]; 20:15
the only part of that I don't like is that the integer keys would by definition not be sequential
or, if you picked a PC value that wasn't on an op boundary you would get nonsensical results
whiteknight mumbles something under his breath about non-fixed-width and variadic opcodes 20:16
benabik chuckles. 20:17
You could try to create a map from 0-N to sub.start - sub.end 20:19
whiteknight yeah, but I do want access to the pc in some way 20:25
if I'm using this library to build a disassembler, I want pc information to be displayed
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:26
20:42 plobsing joined
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:45
We'll save the real pretty interfaces for PACT 20:47
20:49 dngor joined 21:59 bluescreen joined 23:04 plobsing joined 23:05 dngor joined