Parrot 1.0 Released | parrot.org | Thanks to everyone who helped get 1.0 out the door!
Set by moderator on 18 March 2009.
lucs Dang, it works fine. 00:00
Yesterday (before upgrading to parrot 1.0, I believe), I was getting an error (which I will try to find again and paste here). 00:02
cotto please do
dalek rrot: r37627 | cotto++ | trunk/docs/intro.pod:
[docs] PIR docs clarification, courtesy of lucs++
00:03
00:04 eternaleye joined
cotto Grrrr. make cover doesn't generate info on PMCs. 00:04
lucs cotto: I appear to be a bit confused. I was getting the error with a previous version of intro.pod (I think), but the patch I submitted was against what I think is a fixed version. 00:05
The failing code was: 00:06
set S0, ...
without the '$'.
(As can be seen for example at nopaste.snit.ch/15940 .) 00:07
Er, no.
At docs.parrot.org/parrot/latest/html/...o.pod.html
shorten lucs's url is at xrl.us/bek6nz
lucs (And I was getting a "error:imcc:'S0' is only a valid register name in PASM mode".) 00:08
00:08 AndyA joined
Coke cotto++ # forgot the karma in the commit. 00:12
kid51: you can add that too, you know. =-) 00:13
gimme a sec.
kid51 Coke: Well, other than what's posted in that ticket, I wouldn't have known why to deprecate it. I was just looking for some ticket to do.
Coke the why doesn't really matter for the notice in the pod. 00:14
what was the ticket #?
kid51 108
dalek rrot: r37628 | coke++ | trunk/t/examples/pod.t:
[t] - add TODO testing of examples

  -- so we track the line number of the offending test
  --- so we change our algorithm from a simple RE
00:15
Coke done.
kid51 Thx 00:16
Coke yay, actually running the TODO tests pointed out a wrongly TODO'd sample. 00:19
dalek rrot: r37629 | coke++ | trunk/DEPRECATED.pod:
[docs] add Data::Replace
rrot: r37630 | coke++ | trunk/docs/book/ch05_pasm.pod:
[t/docs] - This code actually works, un TODO it.
00:23
Coke ... why do we have an Iter class in our library? 00:26
00:26 bsdz joined
Coke timbunce++ 00:31
cotto lucs, it looks like that file didn't get updated before the release. It'll be regenerated from docs/intro.pod at the next release.
bsdz hi, I'm getting a segfault in a nci.c/pcf_... function on linux using trunk specifically in VTABLE_set_integer_native(interp, t_1541, i_1541). gdb tells me i_1541 = 9 and t_1541 = (PMC *) 0x9. any one know if it's something i'm doing or a bug i should file on trac? 00:43
cotto bsdz, sounds buggy. How can I reproduce it? 00:44
i.e. what's the command you're running to get that?
bsdz it's in matrixy (matlab clone). it's an autogen nci function pcf_i_33p333 connecting to a func in a clapack.so i've built. you'd have to checkout the latest svn and i'd have to send you this shared lib to reproduce 00:46
or i could send the pbc, so and t file? 00:47
cotto is it a custom .so or can it be built from your svn repo?
bsdz it's a custom one. well it's one built using netlib's clapack. i've adapted it so it can be shared. there are slightly out dated build instr in svn repo 00:51
perhaps i should create a patch 00:52
that can be applied to clapack
cotto Problems like that will be hard to fix if they can't be reproduced easily. Have you tried to get it down to a minimal test case? 00:54
You could try modifying src/nci_test.c to add a function with the same signature. 00:55
bsdz ah okay. i can take a look at nci_test.c. i will also see if i can boil it down. 00:56
01:50 Theory joined
dalek rrot: r37631 | coke++ | trunk/lib/Parrot/Docs/POD2HTML.pm:
remove ref to rejected RT
01:51
cotto I suspect that the benchmarks could be significantly pruned without losing significant test coverage. 02:08
dalek rrot: r37632 | coke++ | trunk/config/init/hints/darwin.pm:
switch a bug from RT To trac
02:20
02:22 Theory joined 02:33 TiMBuS joined, Theory_ joined 02:36 kid51 joined 02:49 Ademan joined 03:07 tetragon joined 03:16 dan joined
dan I'm starting to play with Parrot, it's pretty awesome. 03:17
dalek rrot: r37633 | cotto++ | trunk/src/pmc/hash.pmc:
[PMC] Add get/set_pointer VTABLE functions to Hash-like PMCs.
03:18
cotto mmmm. drive by compliment 03:35
03:48 janus joined
Coke wierd that it was dan. 03:58
/a/ dan.
dalek rrot: r37634 | cotto++ | trunk (6 files):
[PMC] remove the Bound_NCI PMC and the code that used it, bump PBC_COMPAT
04:04
rrot: r37635 | cotto++ | trunk/MANIFEST:
[MANIFEST] update MANIFEST for previous commit
04:08
cotto pmichaud, ping 04:11
pmichaud, nm 04:19
dalek rrot: r37636 | cotto++ | trunk/src/pmc/hash.pmc:
[PMC] delete an old and vague comment
04:23
04:36 Andy joined
dalek rrot: r37637 | cotto++ | trunk (3 files):
[PMC] add get_iter VTABLE function and tests to *IntegerArray
05:05
05:09 dukeleto joined
dalek rrot: r37638 | cotto++ | trunk (3 files):
[PMC] add get_iter + tests to *BooleanArray
05:21
rrot: r37639 | cotto++ | trunk/src/pmc/fixedintegerarray.pmc:
[codingstd] trailing space fix
05:25
05:27 eternaleye joined
dalek rrot: r37640 | cotto++ | trunk (3 files):
[PMC] add get_iter + tests to *FloatArray
05:36
06:38 Eevee joined 08:55 masak joined 09:01 barney joined 09:29 alvar joined 09:52 Ademan joined
barney Has anybody seen that error: 10:00
/home/bernhard/devel/Parrot/svn/parrot/parrot -o pipp_library/pipplib.pbc src/common/builtins.pir
push_string() not implemented in class 'Hash'
make: *** [pipp_library/pipplib.pbc] Fehler 1
?
10:09 alvar joined 10:19 Tene joined
dalek lectus: 496762c | (Bernhard Schmalhofer)++ | (5 files):
Copy configure system from Pipp.
10:20
shorten dalek's url is at xrl.us/bek7q9
dalek lectus: 94219f4 | (Bernhard Schmalhofer)++ | build/templates/Makefile.in:
Add dummy target 'clean-test'
shorten dalek's url is at xrl.us/bek7rb
dalek lectus: 2f40642 | (Bernhard Schmalhofer)++ | (3 files):
Add src/pmc/Makefile
shorten dalek's url is at xrl.us/bek7rd
dalek lectus: d993a5f | (Bernhard Schmalhofer)++ | (3 files):
build PMCs from src/pmc/Makefile.in
shorten dalek's url is at xrl.us/bek7rf
10:20 szabgab joined 10:22 skv joined
dalek lectus: 8949292 | (Bernhard Schmalhofer)++ | .gitignore:
ignore src/pmc/Makefile
10:24
shorten dalek's url is at xrl.us/bek7rj
10:28 barney joined, elmex joined, Hunger joined
dalek lectus: ce377c4 | (Bernhard Schmalhofer)++ | dynext/.gitignore:
Add directory dynext with a .gitignore
10:31
shorten dalek's url is at xrl.us/bek7rq
10:31 bsdz joined 10:34 namenlos joined
dalek lectus: ec5a767 | (Bernhard Schmalhofer)++ | (2 files):
Make implementation of EclectusBoolean closer to PhpBoolean
10:42
shorten dalek's url is at xrl.us/bek7r8
dalek lectus: e9ce304 | (Bernhard Schmalhofer)++ | build/templates/src/pmc/Makefile.in:
clean up $(PMC_GROUP)
10:57
lectus: b43badf | (Bernhard Schmalhofer)++ | t/harness:
tidbits in order to make diffs to Pipp smaller
shorten dalek's url is at xrl.us/bek7st
shorten dalek's url is at xrl.us/bek7sv
dalek pp: 0f4b83a | (Bernhard Schmalhofer)++ | build/templates/src/pmc/Makefile.in:
clean up $(PMC_GROUP)
shorten dalek's url is at xrl.us/bek7sx
dalek pp: d0e6482 | (Bernhard Schmalhofer)++ | (3 files):
minor changes
shorten dalek's url is at xrl.us/bek7s3
11:01 NordQ joined
dalek lectus: 22bbb8d | (Bernhard Schmalhofer)++ | build/templates/Makefile.in:
Fix cut&paste error, PMC_GROUP
11:21
lectus: 2eea25c | (Bernhard Schmalhofer)++ | t/pmc/boolean.t:
Check loading of eclectus_group.so
shorten dalek's url is at xrl.us/bek7tq
shorten dalek's url is at xrl.us/bek7ts
11:36 AndyA joined
dalek lectus: e6eb077 | (Bernhard Schmalhofer)++ | build/templates/src/pmc/Makefile.in:
eclectuspair prevents loading of eclectus_group.so
12:08
shorten dalek's url is at xrl.us/bek7wa
dalek lectus: 2347641 | (Bernhard Schmalhofer)++ | (6 files):
Pull the Pair implementation into EclectusPair
shorten dalek's url is at xrl.us/bek7wc
dalek rrot: r37641 | jkeenan++ | trunk/tools/dev (2 files):
Remove tools/dev/testyamd as it depends on an option long-gone from t/harness.

  rt.perl.org/rt3/Ticket/Display.html?id=41912 (12/27/2008 posting).
12:20
bsdz hi, can anyone help me with creating an array of structs. getting "Non existent array element in struct: count = 1 max=1" when array size ==1 but okay otherwise? 12:22
12:24 kid51 joined
kid51 bsdz: Can you provide more context? What were you attempting? 12:27
bsdz i have a boiled down test.pir file. can i send it to you?
dalek rrot: r37642 | jkeenan++ | trunk/tools/dev/cc_flags.pl:
Inclusion of patched version of file in previous commit was premature. Reverting to r37201.
12:28
kid51 bsdz: Can you paste it instead? I'm not strong in that area and we'll benefit from more eyeballs. 12:30
12:30 janus joined
bsdz I'm not sure how the formatting will be but here goes: - 12:31
dalek lectus: 8aad04a | (Bernhard Schmalhofer)++ | src/pmc/eclectus (3 files):
s/const_string/CONST_STRING/
shorten dalek's url is at xrl.us/bek7wx
dalek lectus: b982a0a | (Bernhard Schmalhofer)++ | src/pmc/eclectus (7 files):
Add some VTABLE declarations
shorten dalek's url is at xrl.us/bek7wz
bsdz .include 'datatypes.pasm'
.sub main :main
.local int size
size = 1
.local pmc a_rma, a_umc, a_n
a_rma = new 'ResizablePMCArray'
push a_rma, .DATATYPE_DOUBLE
push a_rma, 0
push a_rma, .DATATYPE_DOUBLE
push a_rma, 0
a_umc = new 'UnManagedStruct', a_rma
.local pmc a_rma_outer
a_rma_outer = new 'ResizablePMCArray'
push a_rma_outer, .DATATYPE_STRUCT
$P0 = a_rma_outer[-1]
setprop $P0, "_struct", a_umc
push a_rma_outer, size
push a_rma_outer, 0
a_n = new 'ManagedStruct', a_rma_outer
a_n[0;0;0] = 10.5
kid51 No, when I said paste I meant something like nopaste
bsdz a_n[0;0;1] = 20.2 12:32
# if size = 2,3,4
#a_n[0;1;0] = 10.5
kid51 nopaste
clunker3 pasta.test-smoke.org/ or paste.husk.org/ or nopaste.snit.ch:8001/ or rafb.net/paste or poundperl.pastebin.com/ or paste.scsys.co.uk/
bsdz #a_n[0;1;1] = 20.2
#a_n[0;2;0] = 10.5
#a_n[0;2;1] = 20.2
#a_n[0;3;0] = 10.5
#a_n[0;3;1] = 20.2
.end
oops sorry
kid51 or tools/dev/nopaste.pl
nopaste "bsdz" at 78.105.78.157 pasted "Non existent array element in struct: count = 1 max=1" (49 lines) at nopaste.snit.ch/15941 12:35
dalek rrot: r37643 | jkeenan++ | trunk/MANIFEST:
Update to reflect deletion of file in r37641.
12:58
13:14 Whiteknight joined 13:20 cognominal joined
Whiteknight pmichaud: ping 14:06
14:38 tetragon joined 14:56 jan joined 15:21 Andy joined
dalek tracwiki: v3 | gaurav++ | PIR%20Tutorial 15:32
tracwiki: Added the rest of the content
tracwiki: trac.parrot.org/parrot/wiki/PIR%20...ction=diff
shorten dalek's url is at xrl.us/bek785
15:51 Tene joined
Andy What's Leto's email? 16:48
dukeleto?
purl well, dukeleto is having drinks with the main factor developers at NW lucky lab, I will try to bring them along as well
Andy nm, found it 16:49
dalek kudo: 3d030b0 | jnthn++ | src/builtins/eval.pir:
Fix a braino in my first cut of import; we may only want to load the module once, but we may need to import many times into many different scopes, so checking we only imported the first time was completely bogus.
17:05
kudo: f6e7fcb | jnthn++ | build/gen_setting_pm.pl:
Get gen_setting_pm.pl to generate use statements at the end, which import the various classes in the setting. We also have to make sure we note them in %*INC so it doesn't go trying to load Any.pm, etc from disk. This is fine for when we're compiling - just use a BEGIN - but since those aren't persisted we need to make sure we set up %*INC in the pre-compiled version too. Did it with a sick hack for now; hopefully someone thinks of a good way...
shorten dalek's url is at xrl.us/bek8hd
shorten dalek's url is at xrl.us/bek8hf
dalek kudo: 34d36f0 | jnthn++ | src/ (3 files):
Four more methods from IO moved to the setting, including lines (which is now imported from the setting, by other recent changes, thus why it is safe to mvoe without breaking any tests).
shorten dalek's url is at xrl.us/bek8hh
davidfetter pmichaud, ping 17:12
seen pmichaud 17:17
purl pmichaud was last seen on #parrot 1 days, 2 hours, 35 seconds ago, saying: afk # meeting [Mar 21 15:15:23 2009]
davidfetter hrm
long meeting ;)
seen fperrad 17:27
purl I haven't seen 'fperrad', davidfetter
17:42 braceta joined 17:58 msmatsko_ joined
dalek tracwiki: v4 | gaurav++ | PIR%20Tutorial 18:11
tracwiki: Tweaked the formatting and a few spellings, removed notice
tracwiki: trac.parrot.org/parrot/wiki/PIR%20...ction=diff
shorten dalek's url is at xrl.us/bek8nv
davidfetter anybody had any luck building rakudo vs. an already-installed parrot? 18:31
18:34 bsdz joined 18:45 jq joined
dalek kudo: 02fb9da | (Moritz Lenz)++ | t/spectest.data:
add test file for RT #63956 to t/spectest.data
18:47
kudo: 28a2792 | (Moritz Lenz)++ | src/setting/Any-str.pm:
Str.split used to ignore limits while splitting on the empty string. Corrected that
shorten dalek's url is at xrl.us/bek8r5
shorten dalek's url is at xrl.us/bek8r7
dalek kudo: eefb89f | (Moritz Lenz)++ | src/setting/Any-str.pm:
sub form of split now supports a limit
shorten dalek's url is at xrl.us/bek8r9
dalek kudo: 1d2451d | (Moritz Lenz)++ | Test.pm:
[Test.pm] remove unused function approx()
shorten dalek's url is at xrl.us/bek8sb
dalek kudo: 07ad307 | (Moritz Lenz)++ | src/setting/Match.pm:
add $.ast to Match.perl output
shorten dalek's url is at xrl.us/bek8sd
18:59 alvar_ joined 19:07 NordQ joined 19:15 Whiteknight joined
Whiteknight jonathan: ping 19:15
jonathan Whiteknight: pong
Whiteknight jonathan: I'm going to start hacking some ideas together on that Socket PMC, any ideas/requirements/guidelines you have for it? 19:16
jonathan Whiteknight: Awesome!
purl hmmm... awesome is a window manager or at awesome.naquadah.org
jonathan I don't know much about socket IO to be honest.
But I guess most APIs look like the BSD stack that everyone else stole. ;-)
Whiteknight We used to have a socket implementation, right? If I go digging back through the history I should be able to find it 19:17
jonathan Right.
That'd probably be a start.
Whiteknight I'm going to try to keep the Socket implementation pretty isomorphic to the FileHandle PMC where possible, probably have to have a lot of the same stuff to work with the curret IO system 19:18
Maybe I should shoot Allison an email and make sure I'm not missing anything
jonathan Aye, keeping the API as consistent as is sensible with FileHandle is very likely a good thing. 19:23
Whiteknight okay, I sent allison an email about it. I'll put some ideas together and see how things go. 19:26
jonathan Great. :-)
Thanks for working on this.
Whiteknight no problem. All the languages are going to need it eventualy 19:27
dalek kudo: 351793a | jnthn++ | src/ (2 files):
Move .reverse and .list of List into the setting.
19:30
kudo: 637767b | jnthn++ | (4 files):
Merge branch 'master' of git@github.com:rakudo/rakudo
shorten dalek's url is at xrl.us/bek8v5
shorten dalek's url is at xrl.us/bek8v7
jonathan Whiteknight: Aye, but Rakudo users are really wanting for it. 19:37
Tene argh, I'm really having trouble working with a FixedPMCArray from rakudo. 19:38
I migrated rakudo over to its own .HLL once before... why isn't it there anymore?
Whiteknight jonathan, I have an unrelated question that maybe you can answer: Do you have any information about :pasttype('for 19:41
:pasttype('for')
I can't find any documentation for that kind of node, but I see Rakudo uses it
Tene Whiteknight: compilers/pct/src/PAST/Node.pir 19:42
it's documented there
Whiteknight okay, I didn't see anything in docs/pct/* 19:43
thanks
jonathan Whiteknight: It's for for loops, anyways. :-)
Takes an iterator of its first arg and then runs the block in the second passing in value(s) from the iterator each time.
Whiteknight okay, I think that makes good sense 19:44
now the real test is to see if I can use it for my own needs
Tene oh, right, rakudo isn't in its own .HLL because of the issue with the PMCs. 19:45
><
gah
jonathan: any idea how I can iterate over a fixedPMCArray from rakudo? Everything I try keeps complaining about it not doing array
or method 'item' not found 19:46
oh, idea... 19:49
19:50 msmatsko joined 19:55 msmatsko_ joined
jonathan Tene: Maybe list($the_pmc) will do it. Maybe. :-S 19:56
Tene It doesn't. 19:57
moritz or maybe for ^$the_pmc -> $n { $_ = $the_pmc[$n; ... }
Tene Even passing it :flat from PIR doesn't work.
Hmm... that might work.
20:06 bacek joined 20:19 pancake joined
pancake hi 20:19
purl hi, pancake.
20:25 szabgab joined
Coke-zzz pancake: hello 20:32
pancake I'm looking for a code generator from a C-like syntax 20:40
dalek kudo: f782958 | jnthn++ | src/ (2 files):
Move fmt and interator methods of List to setting.
20:49
shorten dalek's url is at xrl.us/bek87r
20:51 alvar joined 20:56 contingencyplan joined
Coke pancake: you could certain build one with parrot. 20:58
21:26 eternaleye joined
pancake Coke: i was thinking about taking the c99 one and modify it a bit 21:31
but im just going to take the source now
it should be done in pir right?
jonathan pancake: You can write the actions for the grammar rules in NQP rather than PIR. 21:33
pancake is there any tutorial or guide? 21:34
moritz there are plenty of examples, because that's what all the PCT based compilers do 21:36
and docs/pct/ should be of some help too
jonathan pancake: Also en.wikibooks.org/wiki/Parrot_Virtua...k_Tutorial 21:38
pancake thanks
dalek rkdown: 4bf8542 | (Francois Perrad)++ | src/ (4 files):
implement reference link (first step: currently not resolved)
21:42
rkdown: 866ea7f | (Francois Perrad)++ | src/ (4 files):
parse reference (needed by reference link)
rkdown: 8bbb8a7 | (Francois Perrad)++ | (4 files):
implement reference link
rkdown: f4e76fd | (Francois Perrad)++ | (5 files):
implements image (inline & reference)
rkdown: 71811f3 | (Francois Perrad)++ | src/parser/grammar.pg:
optimize grammar (less Capture)
rkdown: e4b3f39 | (Francois Perrad)++ | src/ (3 files):
remove hack for title & its quote
rkdown: 238c9de | (Francois Perrad)++ | (2 files):
email address is obscure (just a few)
21:50 s1n joined
pancake hwo can i download the languages repository? 21:51
svn co svn.parrot.org/languages/punie/trunk punie 21:56
21:56 gryphon joined
pancake the tools/ directory is not installed 22:05
22:08 tetragon joined 22:09 bacek_ joined 22:22 Limbic_Region joined
dalek kudo: 4da394c | (Moritz Lenz)++ | (2 files):
implement and test Match.caps (captures in match order)
22:22
kudo: 1c263b0 | (Moritz Lenz)++ | src/setting/Match.pm:
implement Match.chunks
jonathan eww chunks 22:36
dalek rkdown: 359b274 | (Francois Perrad)++ | .gitignore:
update .gitignore
23:10
rkdown: aa3989c | (Francois Perrad)++ | src/Compiler.pir:
fix escape

  - add specific escape for code
23:10 kid51 joined 23:29 alvar_ joined 23:47 dan joined
dan I did a perl Configure.pl && make && make test && make install, and everything ran fine. Then when I did perl tools/dev/mk_language_shell.pl Squaak, I got the an error: Can't open perl script "/usr/local/lib/parrot/1.0.0/tools/dev/gen_makefile.pl": No such file or directory 23:48
moritz dan: I think you need 'make install-dev' also
dan What does it do? 23:49
Well, it works! :) 23:50
moritz installs the headers, PCT and the like