Parrot 4.5.0 "Buff-faced Pygmy Parrot" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 8 July 2012.
00:09 whiteknight joined
whiteknight good evening, #parrot 00:23
msg benabik: no such method exists...yet. You can add one (marked experimental in api.yaml) or I can do it. I'm away this weekend, if you're in a hurry 00:31
aloha OK. I'll deliver the message.
01:04 benabik joined
benabik whiteknight: I'll see about adding one. If I'm seeing it right, I should just be able to use the existent get/set_pointer VTABLEs. 01:05
whiteknight okay, there is a .view() method to get the PackFileView from the PackFile 01:11
so we need a method to go in the other direction
benabik Right. Step 1) Document view(). :-D
whiteknight ....damn 01:12
hold on, let me throw something together
benabik I'm poking at it, if you'd rather do something else.
whiteknight NO 01:14
benabik oooooookay?
whiteknight I've got something of a very muddy, undocumented long-term vision for all this crap
benabik *snerk* Fair enough. That's how I ended up working on PACT. 01:15
whiteknight yeah, sucker 01:18
I mean....Great!
dalek rrot: c925e6e | Whiteknight++ | src/pmc/packfileview.pmc:
Add an init_pmc vtable to PackFile PMC so we can get it from Packfile without serializing/deserializing. benabik++ for the suggestion
01:20
rrot/whiteknight/io_cleanup1: e858601 | Whiteknight++ | src/io/ (3 files):
Some initial changes to make readline use a STRING delimiter. Not finished
whiteknight my long-term preference is for the Packfile PMC and friends to be moved out of core
or, if not moved out of core, to be moved off to the side somewhere
benabik I prefer to have interfaces to the core chunks of the VM available with the VM. ;-) 01:21
whiteknight well, either way. All the logic for creating a packfile will be in the Packfile PMC 01:22
PackfileView is, and will never pretend not to be, read only
benabik I suppose I could see that. PfView stays core so you can interact with them and this unwieldy PackfileWhatever stuff can stay hidden to most poeple? 01:23
whiteknight exactly
ideally, the core VM libparrot will only operate on pre-built bytecode files in the form of PackfileView 01:24
some other frontend (PACT, IMCC, etc) will generate those packfiles and will need the additional machinery
benabik I suppose PackfileAndFriends can move off to the side with the theoretical PACT C assembler. 01:25
01:26 Maddingue joined
whiteknight theoretically 01:27
anyway, it's bedtime. See you tomorrow 01:30
01:48 travis-ci joined
travis-ci [travis-ci] parrot/parrot#477 (master - c925e6e : Whiteknight): The build was broken. 01:48
[travis-ci] Change view : github.com/parrot/parrot/compare/e...25e6e25743
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/1852036
01:48 travis-ci left
benabik network issues, I think 01:50
06:55 he joined 07:04 brrt joined 07:46 cosimo joined 08:22 lucian joined
moritz given a parrot string, how do I find out which encoding it is stored in? 08:56
brrt .... in C or in pir? 08:57
moritz pir
(or nqp :)
brrt hold on
i can find that
moritz holds on
brrt in pir it is either the encoding opcode (int, str) 08:59
or the encodingname opcode (str, str)
first argument is output
moritz brrt++ 09:00
brrt see src/ops/strings.ops
moritz r: say nqp::p6box_s(pir::encodingname('foo'))
p6eval rakudo 74e183: OUTPUTĀ«use of uninitialized value of type Mu in string context in any <anon> at src/gen/BOOTSTRAP.pm:104␤␤use of uninitialized value of type Mu in string context in any <anon> at src/gen/BOOTSTRAP.pm:104␤␤===SORRY!===␤error:imcc:The opcode 'encodingname_p' (encodingname…
moritz r: say nqp::p6box_s(pir::encodingname__SS('foo'))
p6eval rakudo 74e183: OUTPUTĀ«use of uninitialized value of type Mu in string context in any <anon> at src/gen/BOOTSTRAP.pm:104␤␤use of uninitialized value of type Mu in string context in any <anon> at src/gen/BOOTSTRAP.pm:104␤␤===SORRY!===␤error:imcc:The opcode 'encodingname_s_s' (encodingna…
moritz r: say nqp::p6box_s(pir::encodingname__SI(pir::encoding__Is('foo'))) 09:01
p6eval rakudo 74e183: OUTPUT«ascii␤»
brrt nice 09:02
moritz r: say nqp::p6box_s(pir::encodingname__SI(pir::encoding__Is('γ'))) 09:03
p6eval rakudo 74e183: OUTPUT«utf8␤»
10:08 brrt1 joined 10:21 Psyche^ joined 10:23 lucian joined 11:51 dngor joined 12:16 JimmyZ joined 12:25 particle1 joined 12:31 plobsing joined 12:55 tiklu joined
tiklu hi all 12:56
tadzik hello tiklu
tiklu is there a java for parrot project going on?
hi tadzik
moritz not that I'm aware of
tiklu ok 12:57
guys i am trying to create a small compiler using coco/r and use parrot as runtime
so far it seems to be working fine
the good thing with coco/r is it already have a grammer written for java 1.4 12:58
so once i am able to write compiler for parrotvm using coco/r
may be it would be easier to implement java 1.4/5 in parrotvm 12:59
does that sounds promissing?
12:59 bluescreen joined
tiklu ? 13:01
i am aware of PCT but I am more comfortable with coco/r 13:02
so i am using that one
instead of PCT
13:11 tiklu joined 13:16 dukeleto joined 13:26 bluescreen joined 14:06 whiteknight joined
whiteknight good morning, #parrot 14:06
tadzik hello whiteknight
14:10 rurban joined
rurban morning #parrot 14:10
I've setup a ppc image now for parrot testing, but have no accesss from outside to it. I can setup a smoker though. 14:11
blogs.perl.org/users/rurban/2012/07...sting.html
JimmyZ rurban++ 14:16
good post 14:18
rurban very very short. But I did not want to go into much detail, as other such posts 14:20
whiteknight rurban++ indeed! 14:25
14:26 dukeleto joined
dalek rrot: 1c69857 | alvis++ | docs/index/book.json:
Removed file now that it's useless.
14:32
rrot: 8f20634 | alvis++ | docs/index/index.json:
Updated file to make it display 'Parrot Developer's Guide' more in-keeping with the other books on the 'index.html' page. Just a minor change for the sake of uniformity of document presentation.
rrot: 2cffaf3 | alvis++ | MANIFEST:
Ran 'perl tools/dev/mk_manifest_and_skip.pl' to remove 'book.json' from the 'MANIFEST' since we no longer need it.
rrot: 10eab20 | alvis++ | ChangeLog:
Updated ChangeLog about the updates to 'docs/index/index.json' and 'docs/index/book.json'.
15:20 dmalcolm joined 15:26 jashwanth joined 15:53 particle joined, brambles joined
benabik ~~ 16:21
Coke there was "cola", which was java like back in the day (which drove IMCC IIRC), but I haven't seen any java-specific parrot projects. 16:28
dalek rrot: 5cba8ae | alvis++ | tools/release/parrot_github_release.pl:
This should get it. Make the whole 'parrot.github.com' release thing simplier and more robust, that is.
16:29
dukeleto ~~ 17:13
17:14 patspam joined 17:30 dukeleto joined 18:18 patspam_ joined 18:21 patspam_ joined 19:34 patspam joined
dalek p/toqast: 5c66ca4 | jnthn++ | src/QAST/Operations.nqp:
vivify => ifnull; pmichaud++.
19:49
kudo/toqast: ecd9c1b | jnthn++ | src/QPerl6/Actions.pm:
Chase op name change.
19:50
19:51 patspam joined 19:52 patspam left 19:53 patspam joined
dalek p/toqast: 20331f5 | jnthn++ | src/QRegex/ (2 files):
Add a way to turn an NFA into QAST rather than PAST.
20:24
p/toqast: 0eb3cc4 | jnthn++ | / (3 files):
Add BlockMemo, a way to segregate the hack we use for caps and nfa storage.
p/toqast: ecf6316 | jnthn++ | src/QRegex/P6Regex/Actions.nqp:
Use QAST::BlockMemo, to hopefully get QRegex::P6Regex::Actions::qbuildsub to be generating valid QAST (though probably still not quite gonna work yet).
20:25 perlite_ joined 20:36 lucian joined 20:44 plobsing joined 20:48 tuxit joined 20:49 plobsing_ joined 20:56 bluescreen joined
dalek p/toqast: 804bcfa | jnthn++ | src/QAST/ (2 files):
Get some box/unbox infrastructure in place.
21:20
p/toqast: bed7038 | jnthn++ | src/HLL/Compiler.pm:
Make sure $*PASTCOMPILER is available (still some regex engine leftovers there...will clear up later.
21:22 kid51 joined
dalek p/toqast: dd04942 | jnthn++ | src/QAST/ (2 files):
Fix some bugs in BlockMemo handling.
21:33
kudo/toqast: 4498bea | jnthn++ | src/QPerl6/Actions.pm:
Start using qbuildsub for regex building.
21:37 plobsing joined 21:38 bluescreen joined
dalek p/toqast: 014837a | jnthn++ | src/QRegex/P6Regex/Actions.nqp:
Fix qalt_nfas to recurse to itself.
22:15
p/toqast: cd6dfc3 | jnthn++ | src/QAST/Block.nqp:
Implement QAST::Block.symtable.
kudo/toqast: 266d7b6 | jnthn++ | src/QPerl6/Ops.pm:
First crack at box/unbox wiring. Wins some more tests at least.
22:19
kudo/toqast: 101c115 | jnthn++ | src/QPerl6/Actions.pm:
Fix subset compilation.
kudo/toqast: 9edea62 | jnthn++ | src/QPerl6/World.pm:
Fix BEGIN time and thus roles.
22:55 PacoAir joined 23:14 benabik joined
dalek p/toqast: 03261ac | jnthn++ | src/QAST/Compiler.nqp:
Add qastnode, for an abitrary QAST tree inside a QAST::Regex.
23:20
p/toqast: f574160 | jnthn++ | src/QRegex/P6Regex/Actions.nqp:
Various regex related tweaks to help QAST'd Rakudo work.
kudo/toqast: 94bb03f | jnthn++ | src/QPerl6/Actions.pm:
Fix quotepair.
23:21
kudo/toqast: 08c051a | jnthn++ | src/QPerl6/Actions.pm:
s/pastnode/qastnode/ in regex handling.
kudo/toqast: 613d647 | jnthn++ | src/QPerl6/Actions.pm:
Various regex fixes; gets a bunch of S05 tests passing again.
kudo/toqast: f97e527 | jnthn++ | src/QPerl6/Actions.pm:
Fix @bar>>.foo compilation.
23:35