www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
Set by moderator on 19 August 2008.
cotto_work NotFound, did those ATTR questions go to the list? 00:05
00:07 bacek_ joined
NotFound cotto_work: sorry, I was busy, will put it tomorrow. 00:33
00:33 particle1 joined
cotto_work ok. I just want to be sure it doesn't get lost 00:33
01:00 particle joined 01:10 cognominal joined 01:12 stef_ joined 01:22 kid51 joined 01:35 paco joined 01:43 bacek_ joined 01:44 bacek__ joined 01:47 paco left
dalek r30583 | jkeenan++ | trunk: 01:49
: Applying patch relevant to
: rt.perl.org/rt3/Ticket/Display.html?id=58076. Apply local
: $Storable::Deparse =1 and $Storable::Eval=1 to two subs in Parrot::Configure.
: Split up t/steps/inter_progs.01.t to play better with triggers.
diff: www.parrotvm.org/svn/parrot/revision?rev=30583
02:59 gmansi joined 03:02 Ademan joined 03:34 bacek joined 03:47 mriou joined
mriou hi, short question about NQP, I'm having difficulties with the non iterative for loop 03:48
how does that look: for($count := 0; $count < scalar(@params) - 1; $count++) { ... } 03:49
PerlJam "non iterative for loop"? Doesn't sound much like a loop to me :)
mriou: that looks like a syntax error.
mriou heh, right, like not an iterator
PerlJam (and a semantic error)
mriou ah exactly
but I haven't been able to spot the syntax error 03:50
PerlJam unless you mean to leave off the last element of the array
mriou I do :)
handled separately
which is why I do this instead of iterating directly on the nodes
PerlJam mriou: in perl6 (and hence NQP), there is no for(;;) form of loop (I could be wrong though, I haven't looked at this stuff in a long time)
(I mean, I could be wrong about NQP) 03:51
mriou so... how do you iterate on elements until the n-1 ?
PerlJam in perl6, it's loop (;;) { ... }
mriou ah I see
I was looking at: en.wikibooks.org/wiki/Parrot_Virtua...Quite_Perl 03:52
PerlJam or for (0..$n-1) { ... }
mriou but it must be outdated
PerlJam maybe.
PerlJam looks at the source 03:53
it looks like NQP doesn't have a loop() construct, just while loops, and "iterative for" :) 03:54
mriou argh
ok I'll do with while then 03:55
PerlJam yeah, it's the same work as far as code goes, just different syntax.
mriou btw the grammar for NQP isn't under languages? or it's been renamed? 03:56
PerlJam compilers/nqp
mriou so that I can check myself next time
ah compilers ok
thanks for the help PearlJam
nice band too
PerlJam sure, no problem.
mriou ~~ s/Pearl/Perl/ 03:57
(I pre-date them)
mriou I see, you can claim anteriority 03:58
nice band nonetheless :)
PerlJam well, we arose about the same time I think but I was around before they left Seattle I think.
anyway
mriou he he yeah, thanks again 03:59
PerlJam what language are you writing?
mriou trying to bake my own 04:00
PerlJam cool.
mriou yeah, a lot of fun for now
main inspirations are scheme, IO, javascript and perl 04:01
pretty much in that order
scheme having a good lead but syntax being closer to IO
PerlJam sounds like your language has good provenance
mriou that's a start :)
I was kind of targeting Tamarin at the beginning, the plan was to implement a proto in JS (which I have) and migrate 04:02
to bytecode that is 04:03
but... Tamarin has some problems for my needs
anyway, I'm chit chatting but code needs to get written 04:04
PerlJam have fun! 04:05
mriou thanks 04:07
04:26 cognominal joined 04:31 tetragon joined
dalek r30584 | tene++ | trunk: 05:00
: [cardinal]
: * Allow negative numbers
: * Add Array::at
: * Add a line that I accidentally deleted from a test file
diff: www.parrotvm.org/svn/parrot/revision?rev=30584
05:02 chromatic joined
cotto_home rgrjr++ #HLL Interop PDD 05:05
cognominal cotto_home, where is that? 05:16
cotto_home mailing list, although I can nopaste if you like 05:23
it's the most recent message I have 05:24
ymmv 05:25
cognominal ok
thx
05:26 Psyche^ joined
nopaste "cotto" at 96.26.202.243 pasted "rgrjr's HLL Interop PDD" (466 lines) at nopaste.snit.ch/13890 05:26
Tene Huh? Is the 'class' opcode supposed to ever return null? 05:28
Does parrot have objects with null classes?
05:48 Zaba_ joined 06:02 uniejo joined
dalek r30585 | tene++ | trunk: 06:03
: [cardinal]
: * Array::clear
: * infix:<< for Array,*
: * Minor bugfix or bug workaround, unsure which
diff: www.parrotvm.org/svn/parrot/revision?rev=30585
r30586 | tene++ | trunk:
: [cardinal]
: * Work around some parsing issues.
diff: www.parrotvm.org/svn/parrot/revision?rev=30586
06:04 chromatic joined
dalek Stļæ½phane Payrard | dtrace: 06:14
link: www.perlfoundation.org/parrot/index.cgi?dtrace
06:16 allison joined 06:29 Zaba joined
dalek r30587 | cotto++ | trunk: 06:40
: [pipp] freed phparray tests for assign_pmc opcode
diff: www.parrotvm.org/svn/parrot/revision?rev=30587
r30588 | cotto++ | trunk: 06:46
: [pipp] more consistent sub naming
diff: www.parrotvm.org/svn/parrot/revision?rev=30588
06:50 Zaba joined
NotFound cotto_home: I've posted a message with a patch and the rationale for the ATTR struct problem. 07:06
dalek r30589 | chromatic++ | trunk: 07:30
: [config] Changed PMC initialization to occur in rough hierarchical order, such
: that a PMC only gets initialized after its parents have completed their
: initialization. This is step one in reducing vtable code size and memory use,
: as well as linking and startup time.
: Please note that you need to run 'make realclean' before you run Configure.pl
: again.
diff: www.parrotvm.org/svn/parrot/revision?rev=30589
07:35 Zaba joined 07:36 masak joined 08:10 jdv79 joined 08:32 Zaba_ joined 08:34 Ademan joined 08:36 iblechbot joined 08:48 rba joined 08:59 ejs joined 09:00 gmansi joined 09:32 Whiteknight joined
dalek r30590 | moritz++ | trunk: 09:50
: [rakudo] more junction tests for spectest_regression, (Stephen Simmons)++
diff: www.parrotvm.org/svn/parrot/revision?rev=30590
09:52 kj joined 10:33 Whiteknight joined 10:59 bacek joined 11:05 kid51 joined 11:20 Whiteknight joined 11:56 jdv79 joined
bacek msg moritz #58308 slightly updated ;) 12:20
purl Message for moritz stored.
12:31 jan joined
moritz bacek: "Find last occurence of C<substring> starting from C<start> position. 12:31
"
that's ambigous
or more accurately, it doesn't describe what it (hopefully) does
12:31 paco joined
dalek r30591 | moritz++ | trunk: 12:41
: [rakudo] add subs pass and fail to Test.pm
diff: www.parrotvm.org/svn/parrot/revision?rev=30591
12:47 tetragon joined
bacek moritz: English not even my second language ;) 12:56
12:58 rdice joined
moritz bacek: I just tried your patch, and it looped during the build, trrying again with a clean copy now 12:59
bacek moritz: hmm... Works for me...
moritz looks better
yes, builds
bacek: do you build in parallel? (make -j 2)
bacek moritz: no. 13:00
bacek waiting for his new laptop. 2 days more. 13:01
moritz bacek: ok, all tests pass (except for codingstd, but that's easily fixed) 13:05
bacek: I don't know if it needs tests on the parrot level, though 13:06
bacek S29-str/rindex.t passed 13:08
moritz yes
bacek with this patches applyed
moritz which is the purpose of this whole exercise
bacek what's wrong with coding standard?
moritz traling spaces
bacek yak...
moritz unclosed C<...>
nothing serious
as I said, easily fixed
but S29-str/rindex.t is a test at the rakudo level; I guess it should also have a test at the parrot level (so that if somebody screws up reverse_index a simple 'make test' will detect it) 13:09
but since I've never implemented a function in parrot itself, I'm not really sure
NotFound moritz: is better to have a test, surely. 13:11
moritz is that clearer? Find last occurence of C<substring>, but not after the C<start> position. 13:12
bacek just ask chromatic/pmichaud for advise. (And I'm going almost offline now... Unfortunately I don't have much time to spend on Rakudo atm.)
moritz I'll comment on the ticket and leave it to them
masak methinks it's dangerous to speak of "last occurrence" 13:22
better to say "first occurrence from the end of the string"
13:24 gryphon joined
moritz masak: feel free to add that to the ticket 13:27
#58308
masak moritz: hokay
13:47 dmknopp left 14:05 AndyA joined
dalek r30592 | moritz++ | trunk: 14:32
: [rakudo] remove fail() from Test.pm, it's a duplicate of flunk()
diff: www.parrotvm.org/svn/parrot/revision?rev=30592
r30593 | moritz++ | trunk: 14:40
: [rakudo] added S04-statements/if.t to spectest_regression
diff: www.parrotvm.org/svn/parrot/revision?rev=30593
14:57 rurban joined
dalek r30594 | moritz++ | trunk: 15:13
: [rakudo] two more S04-statement/ files for spectest_regression
diff: www.parrotvm.org/svn/parrot/revision?rev=30594
Tene ... so I woke up today to see some confusing looking parts of something in Cardinal. 15:21
I guess it's a bad idea to hack while I'm falling asleep.
moritz ;) 15:22
Tene $P0 = new 'CardnalArrray'
$P0= "I thought i loved her,.......,
moritz I sometimes wake up and think "OMG, I f*cked up this feature I commited yesterday night"
Tene is the hilight
moritz (usually it turns out that what I wrote wasn't bad at all) 15:23
Tene Let's see what other treasures 'git diff' reveales to me.
$P0 = $P0
moritz ;)
15:41 donaldh joined
dalek r30595 | tene++ | trunk: 15:43
: [cardinal]
: * Array::delete
: * First vague draft of nil.
: * I don't remember writing any of this. It looks mostly sane, though.
diff: www.parrotvm.org/svn/parrot/revision?rev=30595
Tene I really need to get around to fixing block arguments in cardinal. 15:46
Also, I need ot have a list discussion about some design choices in cardinal.
rurban Tene: Can I also request a minimal command-line SYNOPSIS in the cardinal.pir pod section? If a docs/running.pod is too much. 15:49
There's also no reference at all expecting ruby files 15:50
15:52 tez joined 15:53 tezuya78 joined
moritz Tene++ # hacking while sleeping, "I don't remember writing any of this" 15:54
cotto_work moritz++ #pointing that out 15:55
15:55 tezuya78 joined 16:05 Zaba joined 16:08 masak joined 16:17 iblechbot joined
cotto_work I'd appreciated it if someone could file languages/pipp/t/pmc/array.t 16:18
line 878 should use p2, not p1
particle s/file/change/ ? 16:19
moritz I can make test and then commit if you want
cotto_work yes, that
thanks
moritz pipp/t/pmc/array.............Can't exec parrot at pipp/t/pmc/array.t line 1. 16:20
pipp/t/pmc/array............. Dubious, test returned 2 (wstat 512, 0x200)
should I commit nonetheless, cotto_work ? 16:21
cotto_work it won't pass because I can't commit the phparray.pmc code
particle uggh, lawyers.
cotto_work it's an obvious fix, though, and I'll catch it tonight if it's not correct
lawyers-- 16:22
moritz Q: what are ten dead layers? A: A good start
cotto_work s/code/code, yet/
moritz ok, commited
dalek r30596 | moritz++ | trunk:
: [pipp] small typo or braino by cotto++
diff: www.parrotvm.org/svn/parrot/revision?rev=30596
cotto_work moritz++ 16:24
now I need to figure out how to get karma every time I do something stupid
particle cotto_work++ 16:26
does that help?
cotto_work yes, but don't do it manually. It'll take too long. 16:27
cognominal what is the convention to inline pir in rakudo? 16:37
same as nqp?
indeed 16:38
Tene rurban: what would you like there? 17:04
rurban Some SYNOPSIS so that pod2man will generate a useful man(1) page. 17:05
Tene 'kay 17:06
I'll do that when I get back from lunch.
rurban best would be a full podcs/*.pod enchilada, but better fix your bugs first.
Tene Eh? Example? 17:07
17:17 rurban_ joined
rurban I've implemented now the new 57548-CONDITIONED_LINE syntax perl-style and changed all the makefiles. Maybe some new command like #ALSO: would be nice. For the three #IF(darwin) lines in the languages. 17:25
sorry tene: I read that wrong. it was "fixing block arguments in cardinal" 17:51
17:56 Ademan joined
rurban stupid svn question: how do I overwrite all my local changes with the one from the repo? without a fresh svn co 18:07
cotto_work rm -rf * && svn up (or is that too close to a fresh co?) 18:08
particle svn revert
rurban I wanted to avoid that :)
particle maybe -R
rurban revert -R is it, thanks. 18:09
I have two svn repos of my branch, with both the same revision. but a svn diff > patch and a svn revert -R on the other repo and patch -p0 < patch produces rejects. stupid. 18:13
18:15 purl joined
moritz svn-- 18:16
rurban Anyway, not so important. just two short .rej in my patch to the list. moritz, could you apply that please? 18:18
[PATCH] cygwin070patches_4.patch
moritz rurban: just a second
rurban sure
particle do the condition expressions accept spaces around the = sign? and why = instead of ==? 18:19
those are easy changes, if they're to be made
iunno if the existing syntax worked that way already
rurban no space, no ==. I wanted it to be as short as possible.
particle i want it to be as maintainable as possible :) 18:20
rurban Okay, that would a 3 char change
in cond_eval_single()
particle ok
rurban oh sorry. not so easy. the expr parser would also need to grok that change. = needs to be promoted to a op. 18:21
particle ah
because of the spaces? 18:22
rurban yes, only because of that 18:23
The seperators are ws and |&!, but not =. = belongs to the word 18:24
this way I have only rules for 3 ops
imho #ALSO: instead of 3x #IF(darwin): would make a good addition. 18:26
But most important is that make works now with an already installed libparrot.so|dll 18:27
particle yes, that's most important indeed! 18:29
moritz committing as we speak 18:30
upstream is slow 18:31
dalek r30597 | moritz++ | cygwin070patches: 18:32
: * Finished implementation of the makefile expansion - "perl-style"
: * Changed all relevant makefile templates.
: rurban++, patch courtesy by Reini Urban
diff: www.parrotvm.org/svn/parrot/revision?rev=30597
rurban moritz++ 18:33
Did you have .rej with my patch? Out of curiosity. I had two in a fresh svn co 18:35
in bf and tcl
moritz looks
yes 18:36
and ./ports/cygwin/README.rej
rurban aah. good to know. thanks.
moritz but I don't know if my checkout was 100% clean 18:37
rurban I'll compare to debian svn now. maybe it's a new cygwin svn feature.
If it is I'll switch to git immediately
18:43 Zaba_ joined 19:14 clunker3 joined
rurban mriou asked about for($count := 0; $count < scalar(@params) - 1; $count++) { ... } today for nqp 19:28
=> loop (;;) { ... }
en.wikibooks.org/wiki/Parrot_Virtua...Quite_Perl has it wrong. 19:29
moritz for ($count .. @params.end) { ... }?
rurban And the testcase for the for-style loop is missing!
12-list.t is the only one 19:30
$list := (1,2,3); for $list {} 19:31
dalek r30598 | pmichaud++ | trunk: 19:33
: [rakudo]: spectest-progress.csv update: 127 files, 2278 passing tests
diff: www.parrotvm.org/svn/parrot/revision?rev=30598
rurban echo 'for (1,2,3) { say($_) }' | parrot compilers/nqp/nqp.pbc 19:34
19:34 allison joined
moritz rurban: there are still some FAILED hunks in the _5 patch - maybe wrong line endings? 19:34
rurban strange. can you paste the .rej files? 19:35
moritz rurban: sial.org/pbot/32020 19:36
rurban Ok, I have the same. That's good. bf already has it. 19:37
Almost, svn revert is my friend now. Another one will come. 19:39
moritz languages/tcl/config/makefiles/root.in is changed (the POD2MAN line)
and docs/pdds/draft/pdd30_install.pod
should I commit those two
?
rurban ok, why not. 19:40
just CP , POD2MAN and MKPATH needs to be defined.
in bf and tcl
dalek r30599 | moritz++ | cygwin070patches: 19:43
: * Add docs/pdds/draft/pdd30_install.pod
: * Fix tcl makefile
: Patch courtesy of Reini Urban, rurban++
diff: www.parrotvm.org/svn/parrot/revision?rev=30599
nopaste "rurban" at 212.183.85.199 pasted "bf is also missing" (31 lines) at nopaste.snit.ch/13896 19:45
moritz also fails 19:48
nopaste "rurban" at 212.183.85.199 pasted "one tiny tcl bit" (11 lines) at nopaste.snit.ch/13897
rurban I have everywhere unix eol, no DOS \\r\\n. 19:49
moritz applies the patch now manually
19:50 paco joined
moritz rurban: commited, please check if I did it write 19:52
moritz doesn't feel qualified to replace /usr/bin/patch
19:52 uniejo joined
dalek r30600 | moritz++ | cygwin070patches: 19:52
: [config] fix bf makefile, rurban++
diff: www.parrotvm.org/svn/parrot/revision?rev=30600
rurban I just fixed en.wikibooks.org/wiki/Parrot_Virtua...Constructs 19:53
moritz rurban++
cotto_work I know someone who's going to be happy when his CLA clears. 19:57
moritz will also be happy ;) 19:58
rurban I'm sure he meant moritz :)
moritz oh, my CLA was cleared some time ago ;)
rurban You parrot folks are by miles faster than p5p 19:59
Appreciated.
Bob Roger's interop draft sounds nice, but a bit rough. nopaste.snit.ch/13890 20:03
it should go to draft at first, not to pdds 20:04
pmichaud phone
cotto_work googling for "bounce routine" didn't yield what I was expecting
moritz is it SFW? ;-) 20:05
rurban the name should pdd31_language_interop.pod as I remember.
cotto_work yes
just trampoline stuff
er.. physical trampoline stuff
moritz ;)
rurban Re: "What does Lisp do with a Perl 5 Scalar" - A perl5 scalar can be number + string at once. in lisp that would be special class that would use the two in context, as in perl5. 20:09
The "Fuzzy" scalars sectioon shoudl talk about the context, not the content of the type. Also scalars are promoted to other types if needed, such as bigints. 20:10
20:11 davidfetter joined
rurban moritz: tcl is still wrong. just the very first line. LANG => TMPL please 20:20
dalek r30601 | moritz++ | cygwin070patches: 20:22
: [tcl] fixed makefile, rurban++
diff: www.parrotvm.org/svn/parrot/revision?rev=30601
rurban moritz++ 20:24
Build tests look good on cygwin and debian. I'll go to sleep now. just multi core annoys me. The new gc maybe, but on a single-core no failures 20:29
moritz msg rurban just tested the cygwin070patches branch on debian, with parallel build and tests, all pass. languages-test has many failures, the lua failures could be related to the Makefile changes. 20:50
purl Message for rurban stored.
dalek r30602 | Whiteknight++ | pdd09gc: 20:53
: [pdd09gc] updating to trunk from r30581
diff: www.parrotvm.org/svn/parrot/revision?rev=30602
21:13 clunker9__ joined 21:25 cognominal joined
dalek r30603 | Whiteknight++ | vtable_self: 21:35
: [vtable_self] huge and long-overdue merge to trunk from r29113
diff: www.parrotvm.org/svn/parrot/revision?rev=30603
21:36 Whiteknight joined
cotto_work what's the vtable_self branch for? 21:36
Whiteknight Some of the vtable methods don't properly handle the "self" variable 21:40
the "self" keyword in a vtable should refer to the object that it's called on, and sometimes it isnt 21:41
21:56 japhb joined 22:12 bacek joined 22:20 kid51 joined 22:40 AndyA joined
Whiteknight pmichaud, ping? 22:57
seen pmichaud? 22:58
purl pmichaud was last seen on #parrot 2 hours, 54 minutes and 17 seconds ago, saying: phone
23:01 Zaba joined 23:07 tetragon joined
dalek r30604 | Whiteknight++ | trunk: 23:26
: [DOCS] Document Parrot_call_method as per RT#36243. Also, document a function that is a dependency of this one.
diff: www.parrotvm.org/svn/parrot/revision?rev=30604
23:32 AndyA joined 23:42 Ademan joined 23:46 cognominal joined