#parrot Parrot 0.5.2 Released | parrotcode.org/ | see www.parrotcode.org/misc/parrotsketch-logs/ for logs
Set by moderator on 11 February 2008.
wknight8111 although one day I would like to be 00:00
chromatic Do you want to be an expert on installing enterprisey SDKs? 00:02
wknight8111 well, i need to be an expert at something eventually. Otherwise, i'll never find a job :( 00:03
...not that being an occasional parrot bug contributor pays very well 00:04
chromatic Not that being a core committer pays either. 00:05
wknight8111 yeah, but you can put that on a resume "Parrot Core Committer Bomb Diggity". Employers would love that 00:06
chromatic Maybe. My current employer cares more that I occasionally show up at the office. 00:08
particle not mine.
chromatic Yeah, your employer doesn't care about me at all. Jerks.
particle they'd be upset if i showed up.
00:09 skids joined
chromatic I wear pants when I show up. 00:09
particle 'pants.' that word makes me giggle.
t/dynoplibs/myops.t test 7 fails for me. 00:10
ah, it's that /alarm\\nalarm\\nalarm/ test
chromatic Scheduler granularity? 00:11
Win32?
purl Win32 is the God forsaken platform. It is not fickle about slashes; its system calls do not care. or ....DEEP HURTING. or a dying legacy system collapsing under its own weight. or see also:win32 for perl
particle win32
btw perl -v and prove -v are *not* the same thing
not ok 7 - repeating alarm 00:12
# Exited with error code: 255
# Received:
# alarm
#
00:15 rdice joined
wknight8111 well, I think I just satisfied 1 ticket: 46679 00:20
so now we're at 107. Progress!
Tene harasses particle for paperwork. 00:24
particle tene google tpf for cla
tene: www.perlfoundation.org/legal 00:28
cla is text or pdf
harass chromatic for his cat's fax number, or drop $.41 to him 00:29
Tene peers out over the balcony to check if chromatic is below. 00:35
I should be able to find a fax machine this weekend. 00:36
Although, hmm... Maybe the hotel has something appropriate. 00:38
Steve_p purl, it's? 00:42
purl i heard it's was a homonym of "its", no really, its!
Steve_p purl, its?
purl bugger all, i dunno, steve_p
particle ooh, i should try to get rule/token/regex working right 00:52
Tene particle: excellent idea! 00:53
svnbotl r25879 | particle++ | trunk: 00:58
: [src] fix pod copy/paste error
diff: parrotvm.org/svn/parrot/revision/?rev=25879
r25880 | particle++ | trunk: 01:10
: [RELEASE] update news to r25878
diff: parrotvm.org/svn/parrot/revision/?rev=25880
01:37 Ademan joined 01:56 Ademan joined
svnbotl r25881 | chromatic++ | trunk: 02:18
: [t] Mark several tests as TODO until someone resolves RT #49718. This only
: applies to the JIT core, which doesn't yet handle pending events.
diff: parrotvm.org/svn/parrot/revision/?rev=25881
chromatic particle, ping 02:30
Coke particle: there was no macport NEWS. When there is, I'll add it. 02:37
chromatic Coke, are you a metacomitter?
Coke particle: I can check on the APL, but have no clue going in.
(having not PCT-ized anything myself. =-)
Tene chromatic: RESPONSIBLE_PARTIES lists Coke as a metacommitter. 02:41
chromatic aha, Coke are you around? 02:43
svnbotl r25882 | chromatic++ | trunk: 02:44
: [t] Only TODO the JIT/event tests if the JIT core is active for the test.
: Also avoid an uninitialized value warning when plain Parrot runs.
diff: parrotvm.org/svn/parrot/revision/?rev=25882
Coke chromatic: a metacommitter for parrot? yes. 02:46
chromatic: pong.
chromatic Coke, Tene just faxed in his CLA, so he's all set for a commit bit and the lecture. 02:47
Coke Tene: If you break anything, we will be MOST DISPLEASED. 02:48
and BE HOME BY MIDNIGHT!
chromatic: that good?
Tene Coke: which time zone?
purl which time zone is, like, UTC
Coke *thwap*
chromatic Works for me.
Coke I am only half around. I will engage your commit bit before I sleep, ok? 02:49
Tene Hmm. Any parrot hackers near Phoenix?
Coke ...but you have to promise to go through RT and work on all the lolcode tickets that are still open.
Tene Coke: Okay.
Coke particle: APL cleanup completed.
coke_tene_commit_bi ... that's unfortuate. 02:50
Tene Eh, not too bad.
svnbotl r25883 | coke++ | trunk: 02:57
: [APL]
: Delete files which are no longer needed after the conversion to PCT.
r25884 | chromatic++ | trunk:
: [codingstd] Removed hard tabs (or revised file to avoid tripping the P::C
: no-hard-tabs policy).
diff: parrotvm.org/svn/parrot/revision/?rev=25884
r25885 | chromatic++ | trunk: 03:03
: [codingstd] Removed trailing spaces.
r25886 | chromatic++ | trunk:
: [codingstd] Added Perl code coda.
r25887 | chromatic++ | trunk:
: [codingstd] Replaced bareword filehandle with lexical.
diff: parrotvm.org/svn/parrot/revision/?rev=25887
r25888 | chromatic++ | trunk: 03:10
: [codingstd] Added strict to Makefile.PL. Excluded NQP blue_rect.pl example
: from Perl file checks.
diff: parrotvm.org/svn/parrot/revision/?rev=25888
chromatic That's the last of the Perl::Critic tests, until I install Perl::Critic::Bangs.
svnbotl r25889 | chromatic++ | trunk: 03:16
: [codingstd] Added warnings pragma. 03:17
diff: parrotvm.org/svn/parrot/revision/?rev=25889
r25890 | chromatic++ | trunk: 03:23
: [t] Report only those lines that fail this check, not all lines that need
: checking.
diff: parrotvm.org/svn/parrot/revision/?rev=25890
coke_tene_commit_bi tene: do you have a bitcard.org account? 03:25
Coke tene: Peeeeeeeeeng. 03:28
Tene Coke: yes
svnbotl r25891 | chromatic++ | trunk:
: [src] Cast all char pointers passed to isXXX() stdlib functions to unsigned
: char.
diff: parrotvm.org/svn/parrot/revision/?rev=25891
Coke read docs/project/meta* - you need a bitcard account and to login a few places before I can enable commit bits.
I can wait if you can do this right now; Otherwise I can hit it before I go to work in the morning. 03:29
Tene I can do it right now.
Tene reads.
Coke tap tap taps.
Tene Done 03:31
Coke what's your ID? 03:32
Tene tene
tene@allalone.org
Coke Welcome aboard! 03:35
03:35 particle joined
Tene Thanks. 03:36
Coke Tene: basically: before you commit: update & test.
'make test' is usually sufficient. 03:37
chromatic Also recommended: at least browsing the commit messages mailing list once in a while. 03:38
Coke ... Should be mandatory that you have to be sub'd to the list to be a committer. 03:40
but yes. I try to skim them all; I even try to comment on the ones I understand and disagree with. 03:41
chromatic++
tene++
(stupid slow home wireless network)-- 03:42
chromatic: I re-enabled the codingstd test you just fixed. 03:44
-> zzz
chromatic Most of the other codingstd tests looked too scary to fix in one swell foop. 03:45
but make fulltest runs cleanly for me now through that point. 03:46
svnbotl r25892 | coke++ | trunk:
: [codingstd]
: chromatic++ made this test pass, so run it by default again.
diff: parrotvm.org/svn/parrot/revision/?rev=25892
03:53 mire joined 04:01 mire_ joined 04:08 AndyA joined 04:16 mire__ joined 04:29 jjore joined
svnbotl r25893 | chromatic++ | trunk: 05:50
: [config] Added hints for QNX (RT #49818, Matt Kraai).
r25894 | chromatic++ | trunk:
: [t] Don't bother running Subversion if there's no .svn directory; this can't be
: a checkout in that case.
06:14 elsa22 joined 06:18 stephen joined 06:56 petdance joined 07:00 uniejo joined 07:01 uniejo joined 07:02 allison left 07:08 stephen joined 07:12 flora29 joined
petdance my make is failing. 07:22
dig dig dig
07:24 diakopte1 joined 07:26 Dave joined 07:50 iblechbot joined
svnbotl r25895 | chromatic++ | trunk: 08:00
: [Lua] Fixed a couple of memory leaks in LuaString PMC.
diff: parrotvm.org/svn/parrot/revision/?rev=25895
r25896 | chromatic++ | trunk: 08:06
: [lua] Fixed several memory leaks related to exceptions; removed unreachable
: code after exceptions.
diff: parrotvm.org/svn/parrot/revision/?rev=25896
08:10 slightlyoff joined
svnbotl r25897 | chromatic++ | trunk: 08:26
: [Lua] Ensured that every place that creates a new Lua PMC sets the appropriate
: mark/destroy flags. Some clone() calls didn't.
diff: parrotvm.org/svn/parrot/revision/?rev=25897
09:27 cognominal_ joined 09:29 cognominal_ joined 09:43 HG` joined 10:33 Daveman joined 10:51 wknight8111 joined 10:55 kj joined
svnbotl r25898 | kjs++ | trunk: 11:01
: [pdd19]
: o move the part about = and morphing, so it's before the macro section.
: o fix a few pod issues (no errors, but forgotten markup)
: o add a note about NCI and short-invocation syntax
: o add a note about braced arguments; taken from docs/imcc/macros.pir
: o add a note about compilers/pirc/new being able to handle heredoc arguments in macro expansions.
diff: parrotvm.org/svn/parrot/revision/?rev=25898
r25899 | kjs++ | trunk: 11:14
: [pdd19]
: add a note about search order of the include directive.
diff: parrotvm.org/svn/parrot/revision/?rev=25899
11:24 IllvilJa joined
svnbotl r25900 | kjs++ | trunk: 11:56
: [pirc|heredoc] align assignments and add a comment. No need to regenerate the C file; it's just a matter of layout.
diff: parrotvm.org/svn/parrot/revision/?rev=25900
r25901 | kjs++ | trunk: 12:09
: [pirc|macro] add a comment to clarify; it was confusing even to me; and I wrote the thing.
: No need to regenerate the C; it's just a comment; nobody should inspect the generated C file.
diff: parrotvm.org/svn/parrot/revision/?rev=25901
12:10 rdice joined 12:15 cognominal_ joined
cognominal_ is there a way to say parrot do croak (die with a stack trace) instead of merely dying? 12:25
13:00 skv_ joined 13:12 cognominal_ joined 13:22 cognominal_ joined
svnbotl r25902 | petdance++ | trunk: 13:42
: combined similar allocates into a single realloc
diff: parrotvm.org/svn/parrot/revision/?rev=25902
13:53 skids joined 14:10 gryphon_ joined 14:11 davidfetter joined 14:22 stephen left
pmichaud good morning, world 14:22
davidfetter OH HAI
particle hey pm 14:29
14:30 marmic joined
Coke quick, everyone check in their 6KLOC diffs! 14:42
davidfetter "on a really productive day, i removed 1000 lines of code" --kernighan 14:43
Coke cognominal_: probably? I know that we probe for a library that facilitates such things (glib?) but I don't know the particulars. 14:44
davidfetter: projet I'm on, I plan to remove 50% of the code, damnit. =-) 14:45
davidfetter Coke, great :)
lathos There's PDB_backtrace, which dumps the Parrot-level backtrace. 14:48
Coke lathos: you're back!
lathos I never went away! 14:49
I just have a bit less time right now. But I am still working on a strings PDD.
pmichaud lathos++ # strings PDD
lathos And, who knows, I may be looking at an ARM port. (We can cross compile, right? *cough) 14:50
14:50 rdice joined
particle i believe we've built on arm 14:53
pmichaud kjs++ # many NEWS updates 14:54
particle ahem.
svnbotl r25903 | petergibbs++ | trunk:
: Add the JIT core test on TODO for "repeating alarm" test that chromatic forgot.
diff: parrotvm.org/svn/parrot/revision/?rev=25903
pmichaud oh, did I miss something?
(likely :-)
particle check the $Id$ in NEWS :P 14:55
pmichaud oh, I was looking at the commit messages to parrot-porters
and the svn diffs
particle ah, you just haven't gotten to the end yet
pmichaud particle++ # because he deserves it
particle anyway, i'm working on a t/dynoplibs/myops.t failure, should have platforms updates soon 14:56
pmichaud okay, great. I got a myops.t TODO pass just a moment ago
I'll probably do the release a bit later today
particle ah, somebody todo'd my failing test 14:57
lathos particle: When I say ARM I mean iPhone really.
particle so, i'll fix it for you, too
Andy_ OK, who's sitting on Andy? 14:59
davidfetter looks up the /ghost command 15:00
particle you are, you dingbat
15:00 Andy_ left, Andy_ joined, Andy_ left, Andy_ joined
particle crud, this is tricky. 15:04
t/dynoplibs/myops.t fails with msvc, and also under jit
let's see if i can fix msvc 15:05
15:27 bphillips joined 15:28 cognominal_ joined
pmichaud particle: ping 15:28
particle pong 15:29
pmichaud for RT#50968 (capturing .*? in perl6doc), what are you using to test this?
particle i'll nopaste 15:30
pmichaud okay, great
nopaste "particle" at 24.19.3.148 pasted "pod6 test file" (35 lines) at nopaste.snit.ch/12361 15:31
pmichaud then just run perl6doc.pbc with --target=parse? 15:32
particle correct
pmichaud it works for me with (.*?) 15:33
particle gah.
pmichaud did you try -G ?
particle no, i didn't
will do, after i finish debugging dynoplibs/alarm.t 15:34
pmichaud I'm betting it's another -G bug :-)
particle that would make me happy
pmichaud should I post reply to the ticket, or just wait for you to try it later?
particle wait. should be ~10m
pmichaud okay, no problem.
particle i'm hoping to get regex/token/rule working in rakudo before release 15:35
it's ~3 lines of code, but haven't had a chance yet
pmichaud I think the current parsing code isn't quite correct 15:36
at least, it's not the way I envisioned it
particle feel free to beat me to it. whatever gets it done for release
pmichaud it should be
<quote_expression: :regex :ratchet> instead of <quote_expression: :token> 15:37
i.e., I didn't want to define special :token and :rule adverbs (unless that's also the way that STD.pm is now doing it)
particle AHA! t/dynoplibs/alarm.t test 7 is a GC BUG! yay! 16:04
dynoplibs/myops.t that is 16:05
pmichaud afk, lunch & errands 16:28
16:28 mire__ joined
Andy_ I would love to figure out how to free the memory from all the yyparsing. 16:48
16:55 DarkWolf84 joined 17:04 cognominal_ joined 17:05 parrot-poke joined
particle pmichaud: so, you see something like <quote_expression: :regex :sigspace :ratchet> instead of :token? that's what i'm thinking, just want to make sure we're on the same page 17:09
er, i mean instead of :rule, of course 17:15
particle wonders if <quote_expression: :$<sym>> works yet 17:25
17:58 kismet joined
kj Andy_: memory from yyparsing: It's my guess that most of it is allocated in the lexer. 18:10
Andy_ that much I know.
It's just beyond my understanding of the code at this point tofigure where to free it. 18:11
kj ok good. :-)
right. I don't know either.
I don't know where the mapping from instruction names to instruction numbers is done
that's very important I think.
but IMCC has instruction names/strings all over the place (in the code generation) 18:12
18:12 Theory joined
pmichaud I don't know if interpolation is defined in <regex: text> .... I don't think it is 18:26
i.e., <regex: $foo> is the same as <regex('$foo')>, iiuc
and yes, I was thinking that rule would be <quote_expression: :regex :ratchet :sigspace>
particle pmichaud: i have that in now, but it's not working (yet) 18:27
pmichaud okay. I really don't want to hold up the release for a working regex/token/rule, though 18:28
nopaste "particle" at 24.19.3.148 pasted "towards correcting regex/token/rule" (38 lines) at nopaste.snit.ch/12362
particle i figured i could just pass :ratchet and :sigspace in the 'options' hash to p6regex, but it's not working 18:29
pmichaud you can, but be sure to eliminate the colons
particle ah, hrmm.
pmichaud and we may also need to store ratchet/sigspace in the PAST node that comes back
particle the colons are removed already, automatically 18:30
just like :qq etc
pmichaud I think we may need to store them in the PAST::Node, then 18:31
and that may require a modification to PCT/PAST/POST to handle 18:32
particle yep, i think it does
ok, release away!
hrmm, i suppose my patch won't hurt anything, and is closer to what we want
pmichaud sure, that'd be great
at the moment the important thing is to get regex working 18:33
we can get token and rule shortly after that
particle from an interactive run:
rule abc { a b c }; say $/ if 'abc' ~~ /<abc>/;
abc
regex abc { a b c }; say $/ if 'abc' ~~ /<abc>/;
abc
token abc { a b c }; say $/ if 'abc' ~~ /<abc>/;
abc
pmichaud looks correct except for rule 18:34
particle yep
everything is acting like regex
pmichaud right
particle r25904 18:35
svnbotl r25904 | particle++ | trunk: 18:40
: [rakudo] bringing regex/token/rule support closer to correct -- everything still acts like regex
diff: parrotvm.org/svn/parrot/revision/?rev=25904
18:44 proq left
svnbotl r25905 | particle++ | trunk: 18:46
: [RELEASE] PLATFORMS updates for msvc
diff: parrotvm.org/svn/parrot/revision/?rev=25905
18:47 rdice joined 19:10 chromatic joined 19:20 rdice joined 19:21 cotto__ joined 19:28 Ron joined
Coke should failures in PLATFORMS be failed test files or individual tests? 19:33
chromatic Files, I believe.
particle i don't recall what i've done in the past
19:39 PacoLinux joined
Coke rant: where the heck is my smoke? 19:41
chromatic Inside the device. 19:42
Hit it with a hammer to release it.
Tene Coke: you've got the power hooked up backwards. You're running it in smoke-retention mode. 19:43
Coke hurm. smoke just reports # of individual test failures. close enough.
svnbotl r25906 | coke++ | trunk: 19:51
: [docs]
: Update status for intel mac; compress footnote #'s.
diff: parrotvm.org/svn/parrot/revision/?rev=25906
jonathan particle: if $I0 goto regex_start 19:52
92 \t\tgoto word_start
87 \tunless $I0 goto word_start
if $I0 wasn't true, it's clearly going to be false ;-) 19:53
particle look closer
19:53 mire__ joined
jonathan Oh! 19:53
These colorful diffs... :-) 19:54
particle builds on centos 5.1 x64
jonathan I actually had that ladder there for once I figured out how to pass on the right modifiers or call the Right Thing in PGE. Though I never got around to working out how to go do the Right Thing. 19:55
Those options don't get passed on at all, though.
particle jonathan: yep, but mine is closer to the right thing
:ratchet and :sigspace should be passed along to p6regex
that's the only bit that needs fixing now 19:56
jonathan If you can figure out how to do that bit, then it's fine. :-)
particle i'll get there eventually 19:57
jonathan I tried a couple of different things, but none of them were the Right One. Then, I don't understand PGE guts. Yet.
particle yep, pge is a beast.
chromatic PGE needs optimization. 19:58
particle we'll talk about that in two minutes
chromatic wants callgrind-compatible output for PIR
jonathan chromatic: How much do you think it's PGE that needs it, and how much Parrot?
Coke jonathan: we'd need some profiling to tell for sure. 19:59
chromatic PGE is recursive descent, not LR, so there are some definite inefficiencies.
If we could find spots in PGE that did too much work, I think we could speed it up notably.
jonathan Algorithmic optimizations are the best ones. 20:00
particle phone 20:01
jonathan I'm flying to Kiev tomorrow for UPW, I'll probably do some Rakudo hacking en route.
Coke conference season? duck season!
jonathan Plus some at the workshop, then I'm around in Holland for 5 days.
chromatic: Did you look at the sub introspection stuff with regard to call optimization? 20:02
chromatic Not yet.
Making that use arity seems useful. 20:03
jonathan Well, all the other bits (is it named, etc) are there too.
jdv79 is ppd25 up to date?
chromatic I had a thought last night before I fell asleep to extract lots of smaller functions from the larger functions.
jonathan I've always looked at inter_call.c and been like, "I'll try to understand this another day". :-) 20:04
Coke jdv79: anything in draft is suspect.
... which that isn't. whoops! 20:05
jonathan :-)
Coke I believe it is mostly up to date; allison pushed that out of draft in the last few months.
jdv79 thanks
jonathan And did a chunk of implementation work on it too.
Coke (alon.... right.) 20:06
particle seems -G doesn't help my perl6doc bug :( 20:14
20:21 jhorwitz joined 20:26 kjs_ joined
Coke I can't build the pdd17pmc branch atm. 20:30
particle coke: what fails? 20:33
purl fails are rare
nopaste "coke" at 72.228.52.192 pasted "pdd17pmc" (25 lines) at nopaste.snit.ch/12364
Coke (that's with a realclean and no modifications outside of languages/) 20:36
chromatic header problem? 20:37
particle try make headerizer 20:41
see if svn st tells you that it modified something
Coke couldn't read 'src/revision.c': No such file or directory at tools/build/headerizer.pl line 362. 20:45
particle you have a new Makefile? 20:47
Coke how new?
(I updated, realcleaned, config'd, made. boom.)
particle post realclean. i assume so.
hrmm.
ok, well try looking for /^headerizer in Makefile 20:48
Andy_: ping 20:52
Andy_ yes 20:53
particle wrt headerizer, should it really *die* if a source file isn't found?
coke has this problem currently.
chromatic Coke, that's really weird. There's no Parrot_Class on line 139 of src/oo.c for me. 21:05
blodgettm.blogspot.com/2008/02/coro...t-law.html 21:08
shorten chromatic's url is at xrl.us/bghqu
svnbotl r25907 | particle++ | trunk:
: [RELEASE] PLATFORMS updates for linux-x86_64
diff: parrotvm.org/svn/parrot/revision/?rev=25907
pmichaud particle: changing .*? to (.*?) works on my platform with the test input you nopasted earlier. what are you getting? 21:10
particle pmichaud: that test has many, many pod paragraphs/blocks/etc 21:12
Coke hurm.
particle if i change any single .*? to (.*?), i get ...
hang on
pmichaud (I just changed the one you mentioned in the ticket) 21:14
particle ok, if you change the last one (pod_abbreviated_block) 21:15
you no longer get =FirstName and =MiddleName in the output
if you change all three of them, you get 'No POD found.'
pmichaud ah, it's because converting to a capture actually changes the meaning (inside of token) 21:16
whether it _should_ or not is a question for TimToady :-)
particle *phew*
pmichaud in PGE at least, token containing (.*?) actually acts like (.*?): 21:17
particle as in, a capture in a token returns ...
ok.
pmichaud which means that we lose the backtracking
whereas a bare .*? will properly backtrack
particle hrmm.
TimToady that's not right
.*: is the default under ratchet, and .*? turns off the : 21:18
as does .*!
pmichaud correct, but does :ratchet affect groupings?
TimToady not unless they have alternatives
pmichaud it's not that it's treating .*? like .*: -- it's that (.*?) under :ratchet has an implied ':' after the )
TimToady by itself grouping doesn't have any branch points 21:19
ah, I see what you're saing
saying
pmichaud okay, so [ a* | ab ] won't backtrack
?
but [ a* ] would ?
(all assuming :ratchet)
TimToady thinking 21:20
purl www.terrybisson.com/meat.html
TimToady which is hard right now...
pmichaud (and I should've made those *'s into *?'s
)
chromatic Oh wait, Coke you're on the PDD 17 branch. 21:21
particle chromatic: i think coke knows that
chromatic Now I know that too. 21:22
Merging from trunk might help.
I know there have been a lot of changes and improvements since the previous merge.
Alternately, if Allison moved the Parrot_Class struct definition due to the PMC change.... 21:23
TimToady seems like there's two natural ways to run ratchet, and we could default it either way
pmichaud particle: in the meantime, perhaps try (.*?):! 21:29
TimToady I guess <foo>! could override the : now that ! is always meta
but <foo>? wouldn't work as a shorthand, since it means something already 21:30
particle i'd like $<body>=[.*?]! will that work? lemme see
pmichaud should work, I think. 21:31
may need :! instead of just !
particle No POD found.
TimToady defaulting to <foo>: is probably more useful from an optimization point of view 21:32
yeah, bare ! isn't specced
pmichaud having :ratchet treat <foo> as <foo>: seems like the correct approach
TimToady well, leave it that way for now. 21:33
pmichaud I agree that converting .*? to (.*?) causes it to lose backtracking is counter-intuitive 21:34
(under :ratchet). I don't have an obvious answer.
particle i colud turn ratchet off for that
pmichaud but at least I can claim it's not a PGE bug :-)
particle would it help me?
:!ratchet
pmichaud I'm curious to know why $<body>=[.*?]:! didn't work 21:35
particle you're curious? me too.
pmichaud trying it now 21:36
Coke chromatic: this is in pdd17pmc. does that matter? 21:38
chromatic Yeah. That's why I couldn't find that line of code in my version. I was looking at trunk. 21:39
Coke (catching up)
"when is this?"
pmichaud particle: $<body>=(.*?):! works
TimToady note that we can give a compile-time warning on ratcheted (.*?) specifically because it can never produce anything other than ""
Coke was trying to validate pdd17pmc branch before you opened it up to the HLL folk for review. =-)
chromatic The Parrot_Class declaration is at src/pmc/pmc_class.h:133. 21:40
My guess is that we need a header include for that. 21:41
TimToady or we could just say that any subgroup that ends with ? is bad that way
particle pmichaud++ for giving me a workaround
TimToady++ for clearing up the spec
TimToady (foo .*?): can only match "foo" ever
so if we can warn about that, that makes everything okay :) 21:42
Coke chromatic: regarding profiling subs: if we do the generic "let me attach another sub to run before this one starts and one after it stops", we can roll our own profiling. (and we need that feature anyway)
TimToady nap &
particle subclass Sub?
Coke insufficient. I need to do this to any sub.
(that could be a first step for HLLs, of course.) 21:43
particle ok, add ATTRs to Subs in pdd17pmc branch
then modify invoke to run them properly
what happens with a tailcall? 21:44
Coke I would imagine you'd have to unroll it if the sub you're leaving had an onexit handler.
pmichaud could we somehow do something magic with invoke, itself? 21:46
rather than having to wrap subs?
(just an idle thought) 21:47
chromatic I was thinking of a very simple runloop that could spit out callgrind-compatible output.
valgrind.org/docs/manual/cl-format.html
afk
Coke Ok. that helps with the profiling, but not my feature need. =-) 21:49
but, first things first. (profiling will help tcl immensely, too.) 21:50
AndyAway Hey if we're gonna talk profiling, let's talk tonight some time, and I'll see what I can do under shark, if we have a reasonable target 21:59
but now I must run.
Coke (profiling parrot level subs, not c level, if that matters) 22:00
jonathan I was pondering that it could be useful to be able to have a :pmc(...) adverb for .sub's, specifying what PMC to use for sub. 22:12
Since in Perl 6, there are different types of subs...
Regex, Routine, Code, etc. 22:13
particle ah, what subclass of sub
or whatever
22:13 cotto_ joined
particle flavor. gotcha. 22:13
jonathan particle: Yes.
Insane, or worth writing to the list?
particle i'm wondering if .const already works for that 22:15
.const Routine foo = $P0 22:16
the syntax is way different, of course
but it seems more general
there are questions. like does .const register something in the proper namespace slot? 22:17
...like .sub does 22:18
22:29 wknight8111 joined 22:36 Limbic_Region joined 22:56 Andy joined 22:57 x joined 22:58 x joined
jonathan sleeps, 5:30am start tomorrow 23:02
Coke nite
23:38 slightlyoff joined 23:40 wknight8111 joined