Camelia, the Perl 6 bug

IRC log for #parrot, 2011-10-16

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:18 dalek rakudo/nom: 300627d | Coke++ | t/spectest.data:
00:18 dalek rakudo/nom: track failure modes.
00:18 dalek rakudo/nom:
00:18 dalek rakudo/nom: (mostly slightly reworded due to optimization branch.)
00:18 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/300627d296
00:39 preflex_ joined #parrot
00:46 plobsing_ joined #parrot
01:30 rfw joined #parrot
01:34 jsut joined #parrot
02:45 dalek parrot/kid51/testsets2: 5f133a8 | jkeenan++ | lib/Parrot/Harness/DefaultTests.pm:
02:45 dalek parrot/kid51/testsets2: Merge branch 'master' of git@github.com:parrot/parrot
02:45 dalek parrot/kid51/testsets2: review: https://github.com/parrot/parrot/commit/5f133a843f
02:45 dalek parrot/kid51/testsets2: afc69ec | jkeenan++ | lib/Parrot/Harness/ (2 files):
02:45 dalek parrot/kid51/testsets2: Second try at extracting test group assignments.
02:45 dalek parrot/kid51/testsets2: review: https://github.com/parrot/parrot/commit/afc69ec52b
02:45 dalek parrot/kid51/testsets2: b32b558 | jkeenan++ | MANIFEST:
02:45 dalek parrot/kid51/testsets2: Update MANIFEST to include new file.
02:45 dalek parrot/kid51/testsets2: review: https://github.com/parrot/parrot/commit/b32b558a63
03:11 dalek plumage: e04372d | soh_cah_toa++ | src/plumage.nqp:
03:11 dalek plumage: Fixed 'help' command to display usage information if an unrecognized command is passed so that it doesn't thrown an exception.
03:11 dalek plumage: review: https://github.com/parrot/​plumage/commit/e04372dfdd
03:13 dalek plumage: bba3824 | soh_cah_toa++ | src/plumage.nqp:
03:13 dalek plumage: Combined multiple calls to say() in command_help() into just one since doing otherwise is just wasteful.
03:13 dalek plumage: review: https://github.com/parrot/​plumage/commit/bba382407b
04:55 dalek rakudo/nom: 05d6117 | moritz++ | docs/ChangeLog:
04:55 dalek rakudo/nom: update ChangeLog
04:55 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/05d6117e00
04:55 bluescreen joined #parrot
04:59 dalek rakudo/nom: ea25f3e | moritz++ | src/core/List.pm:
04:59 dalek rakudo/nom: tweak error message
04:59 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ea25f3effd
06:51 lateau1 joined #parrot
07:12 fperrad joined #parrot
07:32 mj41 joined #parrot
08:54 AzureStone joined #parrot
09:10 TonyC joined #parrot
09:10 Tene joined #parrot
09:10 nopaste joined #parrot
09:32 fperrad joined #parrot
09:32 nine In case anyone's here, I'd be grateful for feedback on this idea: http://perl6.niner.name/parrot/getti​ng_rid_of_nested_runloops/index.html
09:40 moritz nine: it seems you have lumped togehter NCI with all other kind of C code
09:40 moritz like custom ops
09:40 nine and these can call back into PIR?
09:41 contingencyplan joined #parrot
09:41 moritz nine: sure
09:42 moritz nine: imagine you write a custom math op
09:42 moritz you'll likely call the get_number vtable
09:42 moritz which can very well be implemented in PIR
09:42 nine moritz: makes sense, yes. Do you see any reason the same system could not be applied to ops?
09:42 nine Apart from sounding very slow :/
09:45 moritz nine: I have trouble seeing how it works
09:45 moritz nine: if you write some C pseudo code that illustrates how I would get the result from a get_number vtable without a nested runloop, that might help
09:50 nine moritz: will do. This will probably help me as well
09:54 nine moritz: thanks already :)
10:01 dalek rakudo/nom: aa1ea2a | moritz++ | src/core/Complex.pm:
10:01 dalek rakudo/nom: prefix:<abs>(Complex)
10:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/aa1ea2a97d
10:01 dalek rakudo/nom: 25af2d0 | moritz++ | src/core/Complex.pm:
10:01 dalek rakudo/nom: add return type annotations to Complex ops
10:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/25af2d076a
10:45 nine moritz: updated with some more thoughts. I guess the callstacks should explain a little better how I imagine this to work
10:46 nine moritz: in short: ideally this would be a purely internal implementation change invisible to HLL
11:00 ttbot joined #parrot
11:07 moritz nine: so in summary, you propose that all parrot API calls look up the outer runloop, and there schedule to perform the task they are supposed to do, plus some scary C magic that brings resumes execution in the C function that called them?
11:09 ttbot Parrot 6026393c MSWin32-x86-multi-thread make error http://tt.taptinder.org/cmdinfo/52782
11:09 moritz I could imagine that this might lead to stack corruption very quickly
11:10 moritz you'd need to maintain a stack of C stacks
11:13 nine moritz: that's why I think there should still be some nesting going on. But nested scheduler loops instead of nested runloops. For task preemption there needs to be only _some_ scheduler loop running, not neccessarily the outer most.
11:15 nine The advantage being only one PIR runloop being active at any time making preemption possible.
11:15 nine Actually this would be _less_ magic than we have now
11:37 Psyche^ joined #parrot
11:43 Coke joined #parrot
12:15 Coke joined #parrot
12:30 awwaiid moritz/nine -- starting to sound like Coro :)
12:31 moritz awwaiid: well yes, coroutines are a solution to nested runloops
12:31 awwaiid I meant with the C stack juggling specifically
12:33 dalek parrot/kid51/testsets2: 638c465 | jkeenan++ | lib/Parrot/Harness/TestSets.pm:
12:33 dalek parrot/kid51/testsets2: Update docs to reflect switch to glob patterns.
12:33 dalek parrot/kid51/testsets2: review: https://github.com/parrot/parrot/commit/638c465371
12:35 awwaiid perl5 Coro splices out/in C stacks to deal with any XS modules. That's why Coro is so Scarily Awesome (Awesomely Scary?) -- it deals both with perl5 internals and XS/C extensions
13:11 not_gerd joined #parrot
13:11 not_gerd hello, #parrot
13:16 not_gerd nine: I don't think you can get rid of nested runloops without taking a snapshot of the C stack
13:18 not_gerd nine: this is indeed possible, eg by manually creating a copy of the stack on the heap (eg gnu guile does it this way)
13:19 not_gerd nine: a more portable approach could be to create a new os-level thread for each C call and schedule these the same way as PIR tasks
13:19 not_gerd nine: however, all three approaches (nested runloops, manual stack copying, threads) have their own issues
13:31 benabik There are POSIX functions for dealing with the stack:  getcontext/setcontext.
13:31 benabik I have pondered that writing Parrot would be easier if we had a C-with-continuations.
13:32 benabik (Of course, writing parrot in an environment with GC and continuations is somewhat the point of M0, as I understand it.)
14:54 bluescreen joined #parrot
14:57 not_gerd joined #parrot
15:03 mj41 joined #parrot
15:05 Coke joined #parrot
15:25 mj41 joined #parrot
15:58 whiteknight joined #parrot
16:13 lateau left #parrot
16:16 GodFather joined #parrot
17:17 dalek PACT: 622c8ee | benabik++ | / (10 files):
17:17 dalek PACT: Rename Markdown files to .mkd
17:17 dalek PACT:
17:17 dalek PACT: This makes Vim much happier.
17:17 dalek PACT: review: https://github.com/parrot/PACT/commit/622c8eea00
17:26 benabik Q: Does Winxed ignore POD comments, or do I need to wrap them in /* */?
17:27 sorear winxed: do you have an evalbot
17:30 benabik I guess I'll just test it when I'm done building Parrot.
17:31 benabik Need to wrap them.  Check.
17:34 eternaleye_ joined #parrot
17:38 zby_home joined #parrot
17:47 GodFather joined #parrot
17:50 soh_cah_toa joined #parrot
17:59 GodFather joined #parrot
18:16 dalek digest-dynpmcs: b5dd829 | fperrad++ | / (2 files):
18:16 dalek digest-dynpmcs: use get_id instead of get_addr
18:16 dalek digest-dynpmcs: so remove useless get_pointer
18:16 dalek digest-dynpmcs: review: https://github.com/fperrad/dig​est-dynpmcs/commit/b5dd8292b2
18:16 dalek lua: 945450f | fperrad++ | dynext/pmc/luaany.pmc:
18:16 dalek lua: remove useless get_pointer
18:16 dalek lua: review: https://github.com/fperrad/lua/commit/945450f3f1
18:24 mj41 joined #parrot
18:24 benabik I was going to work on PACT, but first I want a Winxed syntax highlighter…  So wheee..
18:40 wagle joined #parrot
18:42 Coke joined #parrot
18:43 benabik … Interesting.  Winxed uses String.unescape, which is marked experimental.
18:47 soh_cah_toa what the heck? parrot-nqp only supports private class attributes?
18:47 soh_cah_toa that's kinda lame...
18:47 benabik nqp is not a good system language.
18:48 soh_cah_toa is parrot-nqp = nqp || nqp-rx?
18:48 benabik nqp-rx
18:48 soh_cah_toa is it actually kept in sync w/ nqp-rx or is it kinda our own version?
18:49 benabik It's kept in sync with nqp-rx, but nqp-rx is barely ever updated these days.
18:50 soh_cah_toa rakudo uses nqp (not nqp-rx), right?
18:51 benabik Yes.
18:51 benabik nom does.  b uses -rx
18:51 soh_cah_toa ok
18:52 soh_cah_toa why the switch?
18:52 benabik nap has 6model, native types, and probably a few other things.
18:52 benabik *nqp
18:53 soh_cah_toa oh and doesn't it have the new qregex engine too?
18:53 benabik Yes.
18:53 soh_cah_toa so then it's not really true the nqp = nqp w/o regex and nqp-rx = nqp w/ regex
18:54 benabik Yeah...
18:54 benabik I think there was an nqp before nqp-rx that didn't have them.
18:54 soh_cah_toa yeah
18:54 soh_cah_toa it sounds like we'd be pretty stupid to continue using nqp-rx when nqp is clearly superior
18:55 benabik It went nqp -> nqp-rx -> nqp.
18:55 soh_cah_toa and more actively maintained
18:55 benabik We may change when 6model is in parrot.
18:55 benabik But probably not before that.
18:55 benabik (my guess)
18:56 soh_cah_toa so then...never? ;)
18:56 benabik :P
18:57 soh_cah_toa what version of perldoc does parrot-nqp use: p5 or the unrenderable p6?
18:57 benabik I think 6.
18:58 benabik There's POD6 parser now in nom…  but I don't know how tied it is to the Perl6 parser.
18:58 soh_cah_toa o rly?
18:58 soh_cah_toa what's it called? how do i use it?
18:59 soh_cah_toa i've been dying to actually render p6 pod
19:00 benabik It was a GSoC project.  I'd ask over in #perl6
19:00 soh_cah_toa oh right, tadzik i think
19:00 benabik Right.
19:05 alvis_ Hello all.
19:05 alvis_ benabik: If I may, are there any docs, of which you are aware, which denote the differences between 'nqp' and 'nqp-rx'?
19:05 dalek parrot/kid51/testsets2: cdae7a7 | jkeenan++ | / (4 files):
19:05 dalek parrot/kid51/testsets2: Add program t/fullharness.
19:05 dalek parrot/kid51/testsets2:
19:05 dalek parrot/kid51/testsets2: This enables us to run the equivalent of 'make fulltest' as a single target
19:05 dalek parrot/kid51/testsets2: rather than a sequence of individual targets.  This brings us closer to being
19:05 dalek parrot/kid51/testsets2: able to submit a smoke report on 'fulltest'.
19:05 eternaleye_ joined #parrot
19:05 dalek parrot/kid51/testsets2:
19:05 dalek parrot/kid51/testsets2: Restructure lib/Parrot/Harness/TestSets.pm so it's more hash-focused than
19:05 dalek parrot/kid51/testsets2: array-focused.  Correct documentation in lib/Parrot/Harness/DefaultTests.pm
19:05 dalek parrot/kid51/testsets2: and use new interface to TestSets.pm.
19:05 dalek parrot/kid51/testsets2: review: https://github.com/parrot/parrot/commit/cdae7a7b79
19:05 benabik alvis_: NQP is what I would call "documentation light".  :-/
19:06 benabik Wheee…  I'm writing a Winxed syntax file by reading the tokenizer.
19:06 alvis_ benabik: :-)
19:07 alvis_ benabik: Also, you are saying parrot development "should" be with nqp-rx (or parrot-nqp) instead of nqp (or Winxed)?
19:07 benabik alvis_: I would personally recommend winxed for parrot development at this point.
19:08 soh_cah_toa agreed
19:08 alvis_ benabik: May I ask why?  (I'm just for a basic idea as to why, at this point.)
19:08 soh_cah_toa it's prettier and way faster ;)
19:08 benabik Faster agreed.
19:09 benabik (Prettier depends on how much you like Perl, I suppose.)
19:09 alvis_ Ok, sounds good. (And I like Perl, quite a
19:09 alvis_ a'lot, actually)
19:09 benabik alvis_: Mostly winxed is much closer to the actual semantics of the Parrot VM.  NQP{,-rx} try to layer Perl semantics on top of it.
19:10 soh_cah_toa yes, it's more natural
19:10 benabik (
19:10 alvis_ benabik: Oh, ok.  Thanks you.  That helps.
19:10 alvis_ Make that, Thank you. (Can't type today.)
19:11 soh_cah_toa they're both quite poorly documented but i think winxed does a little better job
19:11 soh_cah_toa alvis_: are you still new to winxed? have you used it before?
19:12 bluescreen joined #parrot
19:12 benabik winxed has documentation, which puts it ahead of NQP.  Agreed it's a little sparse.
19:12 alvis_ soh_cah_toa: Very.  I've only looked at it and read through the docs on the Rosella website.
19:12 soh_cah_toa alvis_: ah good. that's exactly what i was gonna recommend you go read
19:13 benabik I'm also fairly unused to Winxed.  Writing a syntax highlighter is my starting point.  :-D
19:13 benabik (I may be crazy)
19:13 alvis_ benabik: Yeah, I cloned PACT.  I really like the idea/drive behind the project, fwiw.
19:15 soh_cah_toa also, winxed follows the principle of least surprise a lot better than nqp does. that's b/c nqp wasn't really designed to be a general purpose language and only used by rakudo devs
19:16 alvis_ soh_cah_toa: Ahh ..., that makes sense then.
19:17 soh_cah_toa benabik: wasn't there a project that would allow pct users to write they're action methods in winxed?
19:17 soh_cah_toa s/they're/their/ #whoops
19:17 benabik soh_cah_toa: I don't think there needs to be a project for it…  PCT just calls methods on an object.
19:17 benabik s/PCT/nqp-rx/
19:18 benabik The real use of nqp-rx at this point is grammars, IMHO.  It's the best parsing system we have.
19:18 soh_cah_toa sure
19:20 soh_cah_toa sometimes i think it might just be a good idea to offer an alternative syntax at least to pct users who aren't crazy about perl. in particular, python devs
19:20 alvis_ Fwiw, the whole PCT is a cool idea. Reminiscent of re2c or PEGs, but, for me at least, very unfamilar.
19:21 alvis_ When I *first* started looking and digging around, I was really expecting a flex/bison related tool chain.
19:21 soh_cah_toa indeed, it is reminiscent of peg's
19:22 benabik It's a fancy recursive decent parser.
19:22 benabik I'd love something with a similar syntax but better backeng.
19:22 benabik backend.
19:22 soh_cah_toa i wish we had a better and up to date tutorial for pct though :\
19:22 benabik The best I can offer is my cish writeup.
19:23 benabik https://github.com/benabik/cish
19:23 soh_cah_toa yeah, and squaak but it's old
19:23 alvis_ soh_cah_toa: Second, big time, on the tutorial for pct.
19:23 benabik alvis_: ^^ my cish project was an overview for a class.  Not structured as a tutorial, but fairly detailed.
19:23 alvis_ benabik: Yeah, I just found that a day or two ago.  I just haven't gotten 'round to looking at it yet.
19:24 benabik Squaak isn't bad.  It just needs to be updated.  I don't think it's too out of date though...
19:24 alvis_ benabik: Agreed.
19:26 alvis_ soh_cah_toa, benabik:  Well, thank you both very much.  I appreciate it.  But I gtg to Ft. Worth now.
19:26 benabik alvis_: Have a good trip!
19:26 soh_cah_toa alvis_: sure, no problem
19:52 NotFound ~~
19:52 logie joined #parrot
19:54 benabik Winxed syntax file for vim: https://gist.github.com/1291335
20:01 soh_cah_toa benabik++
20:01 * NotFound never use syntax coloring
20:01 soh_cah_toa vim syntax files can be a bit of a pain to write
20:01 benabik soh_cah_toa: This is a very very simple one.  I basically just ran down the Javascript syntax and added the Winxed keywords.
20:01 benabik It's enough to make it more readable.
20:01 soh_cah_toa cool
20:02 soh_cah_toa NotFound: how come? it makes things more readable
20:02 NotFound soh_cah_toa: it may be a generational barrier
20:03 soh_cah_toa whatever floats your boat, i guess
20:03 soh_cah_toa your boat just isn't very colorful :P
20:06 NotFound Just the name "Winxed" is much more colorful than any other programming language.
20:06 soh_cah_toa i'll give you that :)
20:29 plobsing_ soh_cah_toa: (re: alternate syntax) people could always start using Ωη;)XD </shameless-plug>
20:30 soh_cah_toa oh
20:33 plobsing_ PCT at its core, IIRC, is simply a means of plugging different compiler stages together. A different parser shouldn't be too much trouble.
20:36 dalek parrot: 2aca3a1 | dukeleto++ | tools/dev/mk_language_shell.in:
20:36 dalek parrot: [tools] Prevent mk_language_shell.pl from creating svn $Id$ lines
20:36 dalek parrot: review: https://github.com/parrot/parrot/commit/2aca3a1ec9
20:39 soh_cah_toa agh, where the heck is the coding conventions document?
20:39 soh_cah_toa i can never find it >:(
20:40 soh_cah_toa you'd think it'd be in docs/project or docs/dev but no
20:42 plobsing_ you mean  docs/pdds/pdd07_codingstd.pod?
20:42 soh_cah_toa ah, yes
20:42 plobsing_ find docs | grep coding # ftw
20:42 soh_cah_toa not sure i like it in a pdd but whatever
20:44 plobsing_ PDDs are supposed to be more binding or something. Which is, of course, why they are for the most part some of the least accurate descriptions of Parrot available in our docs.
20:44 plobsing_ I don't really like anything as a PDD.
20:44 soh_cah_toa yeah, codingstd has nothing to do w/ the "design" of parrot though
20:45 soh_cah_toa a more appropriate place would be docs/dev or docs/project
20:45 plobsing_ soh_cah_toa: If you'd like to put our docs in order, I'm sure it would be much appreciated.
20:45 soh_cah_toa but it really doesn't matter b/c hardly anybody follows it anyway
20:46 plobsing_ that's not true. we have codingstd tests
20:46 soh_cah_toa that usually fail :P
20:46 plobsing_ oh?
20:46 soh_cah_toa yeah. i'd actually like to make a git hook that runs codingstd tests before commiting
20:46 plobsing_ I thought we had magical awesome code gnomes that fixed those.
20:47 soh_cah_toa usually the release manager b/c they're the only ones who *have* to run 'fulltest'
20:47 plobsing_ I run fulltest regularly on my branches.
20:47 soh_cah_toa wow, i'm surprised. good
20:48 plobsing_ yeah, little good it does me. it seems my changes always cause problems anyways.
20:48 soh_cah_toa i suppose i could open an rfc ticket to see how people would feel about a pre-commit hook that runs codingstd tests. that's the best way to get people to actually follow them
20:49 plobsing_ I'd be -1 for that. I know several developpers (myself included) whose workflow includes breaking codingstds in minor ways for intermediate states.
20:50 plobsing_ for example, bacek and myself use // to indicate temporary comments, which should be dealt with before merge to master.
20:50 soh_cah_toa can hooks just display a warning rather than totally preventing the commit?
20:50 soh_cah_toa i'll have to check
20:50 plobsing_ plus commit hook is the wrong granularity
20:50 plobsing_ it should be a 'merge to master' hook
20:51 soh_cah_toa that would certainly help
20:51 soh_cah_toa and wouldn't whine about intermediate states
21:01 dalek app-parrot-create: f804aa6 | dukeleto++ | LICENSE:
21:01 dalek app-parrot-create: add artistic license 2.0
21:01 dalek app-parrot-create: review: https://github.com/letolabs/app-​parrot-create/commit/f804aa6cb9
21:01 dalek app-parrot-create: 6c1e876 | dukeleto++ | bin/new_parrot_language.pl:
21:01 dalek app-parrot-create: Fork tools/dev/mk_language_shell.pl from parrot.git so I can bend it to my will
21:01 dalek app-parrot-create: review: https://github.com/letolabs/app-​parrot-create/commit/6c1e876d27
21:07 benabik Whee… Reading a packfile! https://gist.github.com/1291423
21:16 bubaflub joined #parrot
21:18 logie joined #parrot
21:23 mj41 joined #parrot
21:32 dalek winxed: 33a55cb | NotFound++ | winxed.winxed:
21:32 dalek winxed: add ability to use custom stages to non installable driver
21:32 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/33a55cb728
21:37 benabik Huh.  The Packfile PMCs are telling me that this has 0 PMC constants.  pbc_dump says 2
21:42 NotFound benabik: I'll not be surprised if both are wrong.
21:42 benabik NotFound: pbc_dump I think is right…  1 empty FIA for the return, 1 Sub PMC
21:43 dalek rakudo/nom: 6f86603 | (Geoffrey Broadwell)++ | src/core/Main.pm:
21:43 dalek rakudo/nom: Merge WIP snapshot 2 of main-usage
21:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6f866035f8
21:43 NotFound Sounds likely
21:46 dalek plumage: 13e45b8 | soh_cah_toa++ | docs/hacking/ (6 files):
21:46 dalek plumage: Fixed all perldoc in docs/hacking so that `perl6 --doc` renders it correctly. Also fixed a bunch of grammatical errors.
21:46 dalek plumage: review: https://github.com/parrot/​plumage/commit/13e45b8f0e
21:46 benabik $S0 = $P0[$I0]  should be calling get_string_keyed_int($S0, $P0, $I0), yes?
21:47 NotFound benabik: yes
21:47 benabik :-(
21:47 benabik I'm thinking that the Packfile PMCs are not very well tested.
21:48 NotFound Ehhhh... not exactly: should be: $S0 = get_string_keyed_int(nterp, $P0, $I0)
21:48 benabik NotFound: Er, yes, that's what I mean.
21:49 * benabik was thinking opcode-like, not C func like.
21:49 soh_cah_toa no, they definitely are not
21:49 benabik Well, I'm going to finish this and then start poking at the guts.
21:49 benabik https://gist.github.com/1291423
21:49 NotFound Thet are probably incomplete, also.
21:50 soh_cah_toa good luck. packfile internals are U.G.L.Y.
21:59 benabik soh_cah_toa: I've already poked around in them some.
21:59 soh_cah_toa you poor, poor thing ;)
22:47 dalek PACT: c936f43 | benabik++ | / (6 files):
22:47 dalek PACT: Move documentation to docs directory.
22:47 dalek PACT:
22:47 dalek PACT: Leave README and TODO in place.  This is in preparation for there
22:47 dalek PACT: actually being code in the repository.
22:47 dalek PACT: review: https://github.com/parrot/PACT/commit/c936f438b1
22:47 dalek PACT: a4dd2e5 | benabik++ | src/disasm.winxed:
22:47 dalek PACT: Toy Disassembler
22:47 dalek PACT:
22:47 dalek PACT: Uses Packfile PMCs to get information out of a PBC file.
22:47 dalek PACT: review: https://github.com/parrot/PACT/commit/a4dd2e5ed4
22:47 benabik I'm planning on starting off with disassembly into a PACT structure.  Can then work on the reverse.  :-D
22:48 benabik The gist I've been posting has my current notes. https://gist.github.com/1291423
22:49 soh_cah_toa benabik++
22:49 soh_cah_toa it's exciting :)
22:49 benabik Need to fix the PMC const and filename issues.
23:01 dalek parrot: b160d31 | benabik++ | src/pmc/packfile (3 files):
23:01 dalek parrot: Update Packfile* PMC documentation
23:01 dalek parrot:
23:01 dalek parrot: Packfile:
23:01 dalek parrot:  - Does not have a uuid_length key
23:01 dalek parrot:  - unpack takes a string, does not return one
23:01 dalek parrot:
23:01 dalek parrot: PackfileDebug:
23:01 dalek parrot:  - Doesn't have two get_string_keyed_int methods
23:01 dalek parrot:
23:01 dalek parrot: PackfileOpMap
23:01 dalek parrot:  - Isn't a debug segment
23:01 dalek parrot:  - Has opcode mappings, not filename mappings
23:01 dalek parrot: review: https://github.com/parrot/parrot/commit/b160d312d8
23:01 benabik Rejected commit title: "Make Packfile PMC documentation lie less"
23:02 * soh_cah_toa is seriously traumatized by packfile's after gsoc
23:02 pjcj joined #parrot
23:20 benabik D'oh
23:21 benabik pmc_count is accurate when you call it instead of num_count
23:21 benabik copypasta
23:22 rfw joined #parrot
23:22 soh_cah_toa isn't there a document that describes how to use argument types when calling pir opcodes in nqp? i'm talking about the 'IPs' in `pir::does__IPs()`. i never know when to use lowercase or uppercase
23:24 benabik Is there a way to discover if something can be stringified?
23:25 soh_cah_toa if it 'does string' perhaps?
23:28 benabik Nope!  Fun, fun.
23:35 benabik Hm.  Should FixedIntegerArray have a get_string VTABLE?
23:36 soh_cah_toa well, yeah. if you wanted to display the contents of the array w/ something like say()
23:36 benabik That's my thought, but it doesn't seem to have one.
23:36 soh_cah_toa interesting...
23:37 soh_cah_toa i would see what happens when you try to print one
23:37 benabik It throws an exception about missing get_string VTABLE
23:38 dalek PACT: 98e8269 | benabik++ | src/disasm.winxed:
23:38 dalek PACT: Fix copypasta with PMC constants
23:38 dalek PACT: review: https://github.com/parrot/PACT/commit/98e82690ff
23:38 dalek PACT: 9f17df7 | benabik++ | src/disasm.winxed:
23:38 dalek PACT: Add custom code to print FIAs.
23:38 dalek PACT:
23:38 dalek PACT: Shouldn't it just have a get_string VTABLE?
23:38 dalek PACT: review: https://github.com/parrot/PACT/commit/9f17df720f
23:54 benabik PackfileDebug segment is…  odd.
23:55 benabik It (ab)uses get_string_keyed_int to return an integer.
23:55 soh_cah_toa no kidding
23:55 benabik It's marked experimental.  So if I start mucking with it, nobody will care?
23:56 soh_cah_toa well, i do plan on making the podds segment into the regular debug segment once it's complete but that probably won't be for a while
23:56 soh_cah_toa a long, long while
23:58 benabik When you do, I expect you to update src/pmc/packfiledebug.pmc.  ;-)
23:59 eternaleye_ joined #parrot
23:59 soh_cah_toa if it ever happens at all. i don't even know anymore :(

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

Parrot | source cross referenced