Parrot 1.9.0 "Blue-fronted Amazon" released! | parrot.org | Roadmap: icanhaz.com/parrotroadmap | Latest modified TT's: icanhaz.com/parrotbugs
Set by moderator on 16 December 2009.
00:01 nopaste joined 00:39 patspam joined
nopaste "kid51" at 71.246.110.134 pasted "r43148: Build error: IMCC syntax error (Linux/i386)." (624 lines) at nopaste.snit.ch/19143 00:50
kid51 Build error! All hands on deck! 00:51
dukeleto OH SHIT 00:56
kid51: that is after a realclean? are you using make -j ? 00:57
mikehh it builds for me on Ubuntu 9.10 amd64 (g++) 00:58
kid51 I believe so, as I compulsively do make realclean. I only use plain make.
dukeleto kid51: try a realclean again just to be sure? maybe try a fresh checkout? 00:59
kid51 Same results after make realclean 01:01
mikehh I did a make -j corevm / make coretest, make -j world / make test 01:02
dukeleto kid51: can you try a fresh checkout? if that is still broken, we shall call the cavalry
kid51 Hmm, likely cause: No space left on device. 01:05
Coke that could pose a problem. 01:11
01:11 nopaste joined
kid51 I forget what it's like to have built trunk and a couple of branches simultaneously. 01:12
nopaste "kid51" at 70.85.31.226 pasted "context_unify3 at r43148: make fulltest failures" (64 lines) at nopaste.snit.ch/19144 01:13
kid51 Okay, that's what I was trying to do when things went kaflooey. 01:14
mikehh pre/post-config, make corevm/makecoretest, smoke (#31082) PASS - fulltest FAIL at at r43148 - Ubuntu 9.10 amd64 (g++) 01:17
t/examples/pir.t - Failed test: 2 in examples_tests 01:18
all other tests PASS
kid51 Okay. Retract paste 19143. Trunk builds.
Coke incoming. 01:24
purl duck!
Coke up to 14 passing tests for partcl-nqp 01:27
14/62 ?
14/62
purl 0.225806451612903
dalek rtcl-nqp: 96686bf | coke++ | src/Partcl/commands/namespace.pm:
update [namespace] to generate the proper error message, use helper method.
01:28
rtcl-nqp: f465131 | coke++ | src/Partcl/Actions.pm:
When creating a list, be sure to use our specific HLL type.
rtcl-nqp: d6688f6 | coke++ | (4 files):
Add NQP overrides to TclList; getIndex(), similar to TclString's
rtcl-nqp: e005f28 | coke++ | (2 files):
flesh out [lindex] - all tests pass.
rtcl-nqp: d37d2ae | coke++ | build/Makefile.in:
add 'make testj' for 'prove -j'; add -j to fulltest as well.
mikehh test 2 of t/examples/pir.t has had a few problems recently - it passed pre r43092 failed up to r43113 passed up to in r43140, failed at r41341 again 01:29
argh r43141 01:30
dalek rrot: r43149 | jkeenan++ | branches/context_unify3/src/call/context.c:
[codingstd] No trailing spaces.
01:31
nopaste "kid51" at 70.85.31.226 pasted "atomic/gcc_pcc.h: codingstd failure" (18 lines) at nopaste.snit.ch/19145 01:33
mikehh BTW how do you resolve karma issues with purl? 01:35
for example:
karma jkeenan
purl jkeenan has karma of 2744
mikehh karma kid51
purl kid51 has karma of 108
kid51 grepping under include/parrot/, I find no other files with 'inline static'. So I don't have other files I can use as models to fix paste 19145.
karma kid51
purl kid51 has karma of 108
kid51 (so just opening one's mouth does nothing for one's karma) 01:36
mikehh so how do you suggest to purl that some people have different ids and how do you combine them? 01:38
dukeleto mikehh: the CREDITS file
msg japhb i have a present for you 01:40
purl Message for japhb stored.
01:41 TonyC joined 01:43 TonyC joined 01:50 TonyC joined 01:51 japhb joined, nopaste joined 02:11 lucian joined 02:18 patspam joined
Coke adds 'make testj' to partcl-nqp to use "prove -j" 02:21
Coke memes, "IT'S A FRAP!" 02:24
02:25 lucian joined
dalek rrot: r43150 | mikehh++ | branches/context_unify3/src/call/args.c:
fix codetest failure - c function documentation
02:52
02:57 TimToady joined
dukeleto 'ello 03:25
03:28 brooksbp joined
dukeleto TimToady: hola 03:30
TimToady I'm usually here, but had to restart my irssi 03:33
dalek rrot: r43151 | jkeenan++ | branches/noalignptrs:
Creating noalignptrs in �svn.parrot.org/parrot/branches
03:40
rrot: r43152 | jkeenan++ | tags/noalignptrs-43150:
Tagging trunk at r43150 so that the noalignptrs can later be synched to it.
dukeleto TimToady: are you serious about 'so' being a truthy value in perl 6 now? 03:42
dalek rrot-plumage: 50b4ea9 | leto++ | (4 files):
[t] Plumage gets to be the first kid on the block to use the Tapir test harness

ext/Tapir/. A PBC or fakecutable for Tapir could be generated, but it complicates the build process for no good reason. The make target for
  'test' now invokes Tapir and there is now also a 'testv' target which is
verbose, i.e. prints out all TAP output. In theory, we could add the Tapir git repo as a git submodule, but the current setup is the simplest possible setup that could work.
03:45
nopaste "mikehh" at 81.149.189.7 pasted "test failures in context_unify3 barnch - r43150 - Ubuntu 9.10 amd64 (g++ with --optimize)" (64 lines) at nopaste.snit.ch/19146 03:48
dukeleto TimToady: how are you liking twirssi? 03:51
dalek TT #498 closed by jkeenan++: Alignment test is unreliable on linux due to unaligned access fixups in ... 04:04
TT #1382 created by jkeenan++: auto::alignptrs: Eliminate this config step
TimToady I hae yet to find a twitter client I like, but twirssi is tolerable, except for the fact that it picks an old message and repeats it every hour or so 04:06
dukeleto TimToady: interesting 04:07
TimToady re: 'so', I don't usually edit the specs to make a joke
dukeleto TimToady: just making sure :)
TimToady I need a 'funny' verb so I can say 'so not funny' now :) 04:08
dalek rrot: r43153 | jkeenan++ | branches/noalignptrs (9 files):
See what happens when we eliminate configuration step auto::alignptrs. (�trac.parrot.org/parrot/ticket/1382)
04:13
05:09 brooksbp joined
dalek p-rx: 7009fe7 | pmichaud++ | src/Regex/Cursor-protoregex-peek.pir:
Switch to using getattribute for contexts instead of hash interface.
05:51
p-rx: eb9c75a | pmichaud++ | (5 files):
Update bootstrap, PARROT_REVISION.
Coke anyone here able to answer a PAST question? 06:59
treed No, but I could maybe answer a FUTURE question. 07:01
Tene Coke: maybe. no guarantees. 07:08
Coke I am trying to add a Glob grammar/actions - I have everything except "*" working. the * in glob should be like a .* in a regex; looking at the RE stuff in nqp-rx and ARE, my best guess on this is: 07:23
my $ast := PAST::Regex.new( :pasttype<charclass>, :subtype<.>, :node($/));
$ast.push(PAST::Regex.new( :pasttype<quant>, :node($/) ));
make $ast;
does that look reasonable? 07:24
Tene Dunno. I don't know what the PAST::Regex API is like.
Nothing stands out as absurd to me, though.
Coke the pasttypes are lifted from their counterparts in the RE engine. 07:25
does the $ast manipulation look ok? 07:26
Tene Yes.
treed do you have to tell it more about the quantity? 07:27
Coke no, it seems to default to * 07:30
Ah. I wanted $ast = <thing for *>, $ast.unshift(thing for .)
07:33 brooksbp joined
Coke Whee. Glob is now passing 100%, and I found the bug that caused the occasional regexp failure in ARE. 07:38
msg pmichaud: in ARE, [0-9] was parsing as [0-8], which is why the timer test would fail every so often. 07:41
purl Message for pmichaud stored.
dalek rtcl-nqp: 3e3f9be | coke++ | src/Partcl/commands/array.pm:
fix array usage typo
07:49
rtcl-nqp: 433bbeb | coke++ | src/Partcl/commands/main.pm:
fix arg usage for [set]
rtcl-nqp: 596ecb9 | coke++ | (6 files):
implement globbing, make [string match] use it.
rtcl-nqp: 2697468 | coke++ | src/ARE/Actions.pm:
fix off-bye-one bug in ARE logic; [0-9] was being compiled to [0-8]
rtcl-nqp: 6d6eace | coke++ | docs/todo.pod:
done.
dukeleto Coke++ # nice bugfix 07:50
Coke danke. 07:51
esp. considering it's nearly 3am.
07:51 JimmyZ joined
Coke msg perljam - hey, if you're bored (^_^) switch looks like it's mostly doable at this point. (-glob and -regexp are both doable now.) 07:54
purl Message for perljam stored.
08:50 JimmyZ joined, Zak joined
dalek TT #1383 created by cotto++: [PATCH] add a cli option to set Parrot's hash seed 09:01
tracwiki: v12 | cotto++ | CottoTasklist 09:07
tracwiki: trac.parrot.org/parrot/wiki/CottoTa...ction=diff
09:16 iblechbot joined 09:39 fperrad joined 09:49 fperrad_ joined 10:20 raaggh joined
raaggh hello... 10:20
dukeleto raaggh: howdy 10:21
raaggh is parrot VM realy speed ? 10:23
vs java vm or .net vm... 10:25
i'm beggin to write something like parrot but before I know parrot... I use many assembler subroutine 10:28
it's not really a VM... so... it's speed 10:31
10:37 bacek joined
dalek rkdown: 2521de9 | fperrad++ | setup.pir:
add doc_files field
10:41
a: 857f04d | fperrad++ | setup.pir:
add doc_files field
10:42
l: 65caaf6 | fperrad++ | setup.pir:
add doc_files field
10:44
lscript: 5097337 | fperrad++ | setup.pir:
add doc_files field
rrot: r43154 | fperrad++ | trunk (2 files):
[distutils] add option doc_files
10:49
11:12 JimmyZ joined
JimmyZ raaggh: parrot will be faster. 11:13
raaggh ok 11:21
how find doc about parrot lib ? 11:22
where find..
purl i heard find was okay unless the filesystem is huge or search.cpan.org/perldoc?DBIx::Class...ltSet#find
JimmyZ raaggh: trac.parrot.org/parrot/browser/trunk/docs 11:25
raaggh: others are in the source code 11:26
bacek purl, forget find
purl bacek: I forgot find
bacek Good evening
purl Ah, evening. The tumultuous mind tarries and contemplates, reveling in the silence afforded by the diurnal proletariat. Good evening, indeed.
bacek stupid girl 11:27
raaggh, what exactly do you want to know about "parrot lib"? 11:29
11:29 iblechbot joined
bacek how to use parrot as lib? 11:29
how to bring some lib to parrot?
raaggh for exemple... TCL shipped with parrot 11:33
mikehh pre/post-config, make corevm/makecoretest, smoke (#31092) PASS - fulltest FAIL at at r43154 - Ubuntu 9.10 amd64 (g++ with --optimize)
t/examples/pir.t - Failed test: 2 in examples_tests
all other tests PASS
bacek raaggh, easiest way to check sources. runtime/parrot/library 11:35
there is quite lot of them
mikehh, (context_unify) t/pmc/object-meths.t doesn't fail on my box... 11:36
mikehh, shoutout test failure is... weird. Something is really-really broken. 11:37
raaggh I don't find exemple... it's not shipped with parrot zip ? 11:38
dalek rrot: r43155 | bacek++ | branches/context_unify3 (2 files):
Don't reset interp->current_object in invoke_from_sigobject.
mikehh bacek: I think kid51 got that failure with testg as well 11:40
bacek raaggh, oookey. It's little bit more complicated. Sources are still best start. For most of the libraries shipped with parrot there are test-suite. It's probably best way to look at. 11:43
raaggh, t/library/
raaggh, there is also some examples in (guess) examples/ directory 11:44
mikehh, ok. Maybe it's runcore related.
raaggh I haven't examples directory :-( 11:46
bacek raaggh, interesting. Where did you get sources? 11:48
raaggh I don't get source but binary win32 11:49
bacek raaggh, ah. Gotcha.
raaggh, trac.parrot.org/parrot/browser/trunk/examples 11:50
raaggh, or you can download whole tarball of latest parrot release.
raaggh I'm not skilled with C++ :-( 11:51
bacek raaggh, you don't have to be "skilled in C++" :)
it's just for getting sources (which includes examples in PIR/NQP/etc) 11:52
raaggh ok... but I need compile source...
bacek raaggh, nope. 11:53
raaggh and I never try It
NotFound raaggh: you don't need to compile sources to read them
raaggh ..oh... I get source but use bin...
bacek you can use pre-compiled binaries. "source" is just for reference
11:54 mikehh joined
raaggh OK... is it easy to use lib from other language (parrot compiled) ? 11:55
If I well understand parrot philosophy.. i can use LUA lib in JavaScript source (parrot compiled) 11:57
bacek raaggh, correct 11:59
msg fperrad irclog.perlgeek.de/parrot/2009-12-19#i_1854832 can you include "examples" into pre-compiled windows binaries? It will be helpful. 12:01
purl Message for fperrad stored.
mikehh bacek: the failures in t/library/streams.t (test 12) and t/examples/streams.t (test 4) seems to be the same (or similar) - Failed test 'Stream::Coroutine' 12:03
raaggh bacek : Can I disturb you time again ? 12:04
bacek mikehh, indeed. I'm still trying to fix it.
raaggh, just shout your questions. Anyone will try to help you. 12:05
raaggh in exemple of relay.pir I read : stream."write"( "1" ).. 12:06
ok.. "write" is hash..
mikehh bacek: (I reran fulltest at r43155) - benchmark_tests PASS, t/pmc/object-meths.t (test 15) only fails testg - PASSes in all other cores (and make test)
bacek raaggh, nope. "write" is method of stream 12:07
mikehh, so it's runcore related... sigh...
raaggh yes... but this method is stored in a hashtable no ?
bacek raaggh, it's implementation details. It's not quite hash. 12:08
raaggh, from "end user" point of view it's just method of some class 12:09
raaggh right... but I want just know this details... 12:10
this hashtable... is-it a complet string stored or a calculation ? (to fit to 32 bits or 64bits for exemple) 12:12
bacek raaggh, are you prepared for scaring details? :) 12:15
raaggh I think it's not really complex. I write my own VM-like... (in FPC/asm) 12:16
bacek raaggh, "MMD" 12:17
dalek nxed: r278 | julian.notfound++ | trunk/winxedst1.winxed:
== and != comparaisons with null in stage 1
raaggh bacek : mmd ? 12:18
purl i heard mmd was multi-method dispatch
raaggh by string and by calculation ?
bacek raaggh, which stands for "Multi Method Dispatch". Parrot determine which subroutine to call based on many thigs
things
class
types of arguments
sometimes phase of moon (just joking :) 12:19
NotFound raaggh: you can call a method by name, and also can call by the sub object of the method if you have it by other means.
raaggh I think, primary search have only 3 method : complet string, calculation, index... 12:21
bacek mikehh, object-meth should be fixed in r43156
raaggh, inheritance
raaggh, args types based dispatch 12:22
raaggh, it's not "so" trivial :)
manhatten distance? 12:23
purl, manhatten distance?
purl bacek: no idea
raaggh ok... but dispatch is proceed AFTER "write" token found
bacek raaggh, erm... "write" is "compile-time" token.
after processing source we just store something like "invoke method 'write' on this object" 12:24
(in bytecode)
raaggh ok... in bytecode... something tell to use "write" method of object... right ? 12:25
this thing... (bytecode) is... "write" word or a calculation or a index ? 12:26
NotFound Is a word
bacek index in string constants
NotFound, :) 12:27
dalek rrot: r43156 | bacek++ | branches/context_unify3/src/ops/object.ops:
Store sub in "op callmethodcc" before preparing call. Otherwise registers will be pointer to wrong context.
bacek raaggh, NotFound and I both right. It's a "word" from your point of view. But we store all strings in special "constants" pool for performance reason. This pool is constructed on fly. 12:29
raaggh ok... i have understand 12:30
NotFound And is stored in the constants table of the bytecode file.
bacek mikehh++, jkeenan++ # for helping with r43156 12:31
12:35 mikehh joined
raaggh in my own VM-like I'm stored only calculation (to fit to a 32bit).. I must try which one is speed better... 12:37
but I think your method (constant pool) is better secure... 12:40
12:40 lucian joined
bacek raaggh, it's even "better" (or "worth") when interaction between different HLL involved. 12:48
We can try to call method "foo" implemented in language "bar" from language "baz". 12:49
raaggh my calculation method can store 5 letters in 32bits without collision 12:52
more if u dont take care about maj/min in name 12:54
bacek raaggh, interesting idea. But it's already tomorrow here and I'm not quite capable to understand any CS now... 13:02
See you!
raaggh thakns 13:05
dalek rrot: r43157 | fperrad++ | trunk/examples (3 files):
[examples] add doc_files in setup.pir
13:16
nxed: r279 | julian.notfound++ | trunk/winxedst1.winxed:
start implementing optimize step in stage 1
13:19
13:27 kid51 joined
dalek rrot: r43158 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] refactor install, uninstall & spec_rpm
13:48
13:51 JimmyZ joined 14:15 joeri joined
dalek rrot: r43159 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] add option root
14:21
TT #1384 created by jkeenan++: t/examples/pir.t: test #2 (quine_ord) failing 14:30
14:35 Whiteknight joined 15:03 patspam joined
Whiteknight good morning parrot 15:05
kid51 good morning 15:06
JimmyZ good morning there. 15:07
dalek rrot: r43160 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] bdist_wininst handles doc_files
15:10
nxed: r280 | julian.notfound++ | trunk/ (2 files):
build stage 1 fakecutable and use it in make test1
15:15
15:33 Psyche^ joined
dalek rrot: r43161 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] tweak spec rpm
15:59
16:48 mj41 joined 16:55 kid51 joined
dalek nxed: r281 | julian.notfound++ | trunk/winxedst1.winxed:
optmize literal strings + in stage 1
17:14
Coke pmichaud: IWBNI if "my @list;" created a TclList. 17:28
(I don't think that mapping is exposed back to PIR, though.) 17:29
dalek rtcl-nqp: aa6d047 | coke++ | (3 files):
Add enough of [eof] to pass our sanity test.
17:35
rtcl-nqp: b613b9b | coke++ | src/Partcl/commands/main.pm:
Fix [catch]'s usage message.
rtcl-nqp: 19094e7 | coke++ | (2 files):
implement [lrepeat]
17:38 tetragon joined
dalek rrot: r43162 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] pure PIR rmtree
17:52
18:08 theory joined
dalek nxed: r282 | julian.notfound++ | trunk/winxedst1.winxed:
some refactoring on unary and binary ops and optimize unary - for literal
18:21
nxed: r283 | julian.notfound++ | trunk/winxedst1.winxed:
minor clean and refactor
18:30
kudo/master: 8dc1895 | masak++ | src/setting/Any-str.pm:
[Any-str.pm] added method form of eval
18:32
18:35 cotto joined
dalek nxed: r284 | julian.notfound++ | trunk/winxedst1.winxed:
assign to indexed expr in stage 1
18:45
18:48 Zak joined 18:55 cotto joined
dalek nxed: r285 | julian.notfound++ | trunk/winxedst1.winxed:
while and continue in stage 1
19:18
19:45 Psyche^ joined 19:56 lucian joined 20:01 iblechbot joined 20:14 bacek joined
dalek nxed: r286 | paco.linux++ | trunk/t/div.t:
basic tests for /
20:30
NotFound Welcome to Winxed 20:31
PacoLinux :) 20:34
dalek nxed: r287 | paco.linux++ | trunk/Makefile:
add test for / for stage1 in makefile
20:35
20:58 bacek joined 21:05 Whiteknight joined 21:06 nopaste joined 21:16 nopaste joined
japhb dukeleto, for the Tapir copy of qx(), you can drop the 4-line block that sets $! -- that's only needed for Perl. 21:22
dukeleto++ # Almost forgot to thank you for upgrading Plumage's test harness! :-)
dukeleto, and you're right, it was a nice present. :-) 21:23
pmichaud, ping
21:31 nopaste joined 21:46 kid51 joined
dalek nxed: r288 | paco.linux++ | trunk/winxed.winxed:
More informative error message in compiler driver
22:06
22:19 theory joined
dalek rrot: r43163 | jkeenan++ | branches/tt473_remove_memcpy_aligned:
Creating tt473_remove_memcpy_aligned in �svn.parrot.org/parrot/branches
23:01
rrot: r43164 | jkeenan++ | tags/tt473_remove_memcpy_aligned-43162:
Tagging trunk at r43162 so that the tt473_remove_memcpy_aligned can later be synched to it.
23:01 TonyC joined
nxed: r289 | julian.notfound++ | trunk/winxedst1.winxed:
do while in stage 1
23:08
23:19 bacek joined 23:21 mikehh joined
bacek msg chromatic Sorry, I predated second part of context_unify3 branch with reordering caller/callee context pushing. context_unify3_simple is just merge of CallSignature/Context. It's passing fulltest apart from codetest. 23:26
purl Message for chromatic stored.
dalek nxed: r290 | julian.notfound++ | trunk/winxedst1.winxed:
some more optimize propagation
23:27
nxed: r291 | julian.notfound++ | trunk/Makefile:
build fakecutable with make stage1
23:33
rrot: r43165 | bacek++ | branches/context_unify3_simple:
Simplified version on context_unify3 branch which doesn't include reordering of pushing Context between caller and callee
23:34
rrot: r43166 | bacek++ | branches/context_unify3_simple/t (4 files):
Update tests to use CallContext instead of Context and CallSignature.
rrot: r43167 | bacek++ | branches/context_unify3_simple/t/native_pbc (4 files):
Rebuild native pbcs
rrot: r43168 | bacek++ | branches/context_unify3_simple/src/pmc (2 files):
Use previously created signature as context in Sub and Coro.invoke.
Whiteknight bacek: so are we going to merge context_unify3_simple first? 23:36
or, more general: what is the merge plan? 23:44