Parrot 4.4.0 "Banana Fanna Fo Ferret" | parrot.org | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 3 June 2012.
whiteknight I hate it when I'm linking a library, and then ldd says it can't find one, but I don't get ANY warnings from the linker 00:16
it just silently fails, and I end up with a non-working binary
msg brrt: Nevermind, ldconfig saves the day. It's working fine, tests run fine. It looks great! 00:39
aloha OK. I'll deliver the message.
00:58 kid51 joined
dalek rrot/m0: 690bb74 | (Gerhard R)++ | config/gen/makefiles/root.in:
[m0] build m0 via recursive make

needs to be wired up properly once the codebase has stabilized
01:02
rrot/m0: 11274a1 | jimmy++ | config/gen/makefiles/root.in:
Merge pull request #785 from gerdr/m0-fix-build

fix m0 build
aloha (parrot/parrot) Issues closed : 785 (fix m0 build) by gerdr : github.com/parrot/parrot/issues/785 01:04
01:50 benabik joined 02:11 wagle joined 02:51 kurahaupo joined 04:06 wagle joined 04:59 fperrad joined 05:55 benabik joined, brambles joined, mj41 joined, p6eval joined, dalek joined, cosimo joined, GeJ joined, szbalint joined, schmooster joined, Woodi joined 06:06 contingencyplan joined
dalek : e6078cc | jimmy++ | / (12 files):
implement continue statement
07:10
07:15 brrt joined
dalek kudo/altnfa: 4ebbdbd | moritz++ | lib/Test.pm:
[Test] fix diag in failed isa_ok
07:43
kudo/altnfa: 4545eb9 | moritz++ | src/Perl6/Grammar.pm:
reorder pod parsing rules
07:45 contingencyplan joined
dalek kudo/altnfa: 9194077 | moritz++ | src/Perl6/Grammar.pm:
try to make Pod parsing a bit more LTM friendly
08:04
kudo/altnfa: a85033e | moritz++ | src/Perl6/Grammar.pm:
fix "=for comment" parsing
08:18
08:18 lucian joined
dalek kudo/altnfa: a1dde83 | moritz++ | src/Perl6/Grammar.pm:
LTMify pod_block:sym<abbreviated_raw>

fixes the remaining failures in S26-documentation/05-comment.t
08:27
: bb931ec | jimmy++ | t/continue.m1:
add more tests to continue statement
08:53
09:09 cosimo joined
dalek kudo/altnfa: 1683397 | tadzik++ | lib/Pod/To/Text.pm:
[Pod::To::Text] Avoid stringifying Pod::Config blocks
09:13
kudo/altnfa: 18d51ba | tadzik++ | lib/Pod/To/Text.pm:
[Pod::To::Text] Avoid uninitialized variable warnings
09:21
09:27 kjs joined 09:37 brrt1 joined 10:07 PacoAir joined 10:12 mtk joined 10:42 kjs joined
dalek : f9366b9 | kjs++ | / (2 files):
few updates to docs, and fix return instructions for functions. works in the perl m0 assembler.
11:17
: 1ddb6ae | kjs++ | src/gencode.c:
minor fix again to fun return code.
11:22
11:24 JimmyZ joined
dalek : 7d0f1d4 | kjs++ | src/m1.l:
"continue" was specified twice in lexer. fix it.
11:24
: 4e011d3 | kjs++ | docs/ (2 files):
update docs a bit.
11:29
kjs JimmyZ: ping
JimmyZ kjs: pong
kjs JimmyZ: hi there. I think function calls are working properly now, but only with the perl implemmentation of the interpreter
in other words, i think for make test it's best to use perl m0_interp.pl (for M1) 11:30
JimmyZ kjs: I will take a look at it. :P 11:31
kjs: which test is working only with the perl implemmentation of the interpreter? 11:38
11:51 cosimo joined
moritz ff.v-vvjg Ā ,,,,, 12:09
ff.v-vvjg Ā ,,,,,## 12:10
kjs JimmyZ: it's t/fun.m1 12:11
dalek : 01b64c9 | kjs++ | / (2 files):
make function test a bit more interesting. fix linking chunks in parser's actions.
tadzik moritz: hello Ronja 12:14
JimmyZ kjs: ok, thanks 12:16
moritz left his laptop open and Ronja took it 12:17
and then shut it down
12:20 whiteknight joined
JimmyZ kjs: looks likes m0_interp.pl doesn't work well enough too.... 12:21
kjs: looks like it's not m0_interp.pl's issue 12:24
kjs JimmyZ: it's not working?
JimmyZ kjs: m1 outputs wrong code. 'bar(); ' actually outputs calling 'foo();' m0 code 12:25
kjs ah i see now yes 12:26
mm
ok i'll look into that later
maybe tonight
JimmyZ kjs: great
kjs not sure if it's the generated M0 code or the interpreter though!
JimmyZ kjs: I'm sure it's the m1 outputs wrong code :P 12:28
kjs well there's no test that proves that M0 is correct ;-)
but you're right 12:29
i found the problem
hardcoded value
JimmyZ kjs: yeah 12:30
kjs fixed. update coming 12:32
dalek : 8b04cce | kjs++ | src/gencode.c:
fix hardcoded value in looking up function's const index.
12:32 knewt joined
kjs ah recursion also works it seems 12:33
excellent
JimmyZ kjs++ 12:38
dalek : e8c4a56 | kjs++ | src/ (2 files):
allow to return without expression.
12:42
: 6cfc757 | kjs++ | / (2 files):
update m1 spec. fix layout m1.y
12:55
12:55 crab2313 joined 12:59 jashwanth joined
whiteknight good morning, #parrot 13:00
jashwanth hello whiteknight 13:01
whiteknight hello jashwanth
jashwanth: Have you made any progress with that test program? 13:06
jashwanth yes but did not know who to use the lapack subroutines 13:08
whiteknight:how do you call a subroutine on winxed? 13:11
whiteknight can you commit and push your test program so I can see it? 13:13
13:13 Psyche^ joined 13:50 kjs joined
dalek : 73520d3 | jimmy++ | / (3 files):
fix function call in assign statement, also add a test, though it doesn't really work
13:50
kjs JimmyZ: I don't think that pushreg statement makes sense 13:51
it's only at compile time for another function to get access to registers
JimmyZ kjs: yeah, I don't know how to return a value .... 13:52
kjs no you cant
its not speccedyet
parameters and return values, which i presume will be similar, are not specced andimplmented
JimmyZ kjs: aye. my commit just makes m1 happy 13:53
13:53 bluescreen joined
kjs it wasnt happy? :-) 13:54
JimmyZ kjs: yes, because comp->regstack->sp is 0
kjs is that because of the return statement?
JimmyZ kjs: because i = foo(); 13:55
kjs ah i see
dalek : cf9f824 | jimmy++ | src/gencode.c:
added a comment to make people happy too.
14:00
kjs jimmy++ 14:01
JimmyZ :P
kjs so we wont forget about it! 14:02
JimmyZ kjs: yeah, the c implementation of m0 really needs some loves 14:03
and m0 spec too 14:04
dalek : c1ab983 | kjs++ | src/m1.l:
allwo under_scores in var names.
14:05
14:32 mtk joined 14:38 mtk joined 14:48 mtk joined
dalek : 7dad151 | kjs++ | src/ (5 files):
Implement scopes, naively. Once a scope closes, then all symbols declared are still in the table. These should really be removed.
14:53
: 4ec7178 | kjs++ | docs/TODO.txt:
update TODO.
14:57 dmalcolm joined
JimmyZ kjs: for( int i = 0; i < 10; i++ ) { 15:03
}
print(i);
kjs: will be this working?
kjs cant declare i yet in a for loop
not sure yet how to do it
in C you can write pretty much anything in those 3 spots in the for-header 15:05
I want to limit that somehow
yet keep it flexible enough
JimmyZ kjs: if it can decalre i in a for loop , will print(i) be allowed?
kjs yes
but the current impl of scopes is wrong in that case
it's just a "check the box" at the moment 15:06
improvements willl follow later
JimmyZ deosn't know it in c too
kjs In c it's not allowed no 15:07
it's a C++ thing
JimmyZ so m1 will be unlike c, which is allowed? 15:08
kjs next on my wishlist is getting vtables working to implement PMCs and their methods
M1 will be unlike C yes
it will be better :-)
JimmyZ would like to see m1 is not allowed too :P
kjs you mean for (int i ...? 15:09
15:09 fperrad joined
JimmyZ for (int i .... , where i is scoped 15:09
kjs you do want that or you don't?
brrt1 c99, doesn't compile in standard c
kjs i know, but M1 is not C :-) 15:10
brrt1 fair enough :-)
JimmyZ I want to i is scoped, just like C. I'm not sure whehter it's personal preferences or not :P 15:11
kjs you can't write "pmc X { vtable method add(... ) } either in C
JimmyZ *whether
kjs you can write a wishlist and send it to the list so others may comment? ;-)
i'll go for the majority of votes
but at this stage, getting it to work is more important 15:12
JimmyZ aye, kjs++
personal preferences is trivial ;) 15:13
dalek : aac37af | kjs++ | src/ (5 files):
enum impl. unfinished.
15:39
15:44 JimmyZ joined
dalek : 84b0ed2 | kjs++ | src/ (2 files):
add a struct for enumerations. prevent generation of input funciton, as it is unused according to clang compiler.
15:49
16:01 brrt1 left 16:05 jashwanth joined
dalek : 7a39096 | kjs++ | src/ (6 files):
store enums. various other cleanups and comments.
17:23
17:53 alester joined
dalek kudo/map2: 2125adb | pmichaud++ | src/core/ (2 files):
Add the new MapIter implementation; faster .map, lazier.
19:00
kudo/map2: 099f360 | pmichaud++ | src/ (2 files):
Fix FIRST phasers to work again.

This commit also reverts part of ecdcc40 on this branch, at least for now, to avoid some method call overhead when invoking some phasers other than FIRST.
kudo/map2: b4d0008 | pmichaud++ | src/core/MapIter.pm:
Fix handling of list generation in .map; remove some debugging leftovers.
kudo/map2: fef467a | pmichaud++ | src/core/MapIter.pm:
Enable a non-flattening MapIter.
kudo/map2: 43975a1 | pmichaud++ | src/core/ (2 files):
Adjust the MapIter.new() interface a bit.
kudo/map2: db81748 | pmichaud++ | src/core/ (2 files):
Code cleanup in Parcel, no functional changes.
kudo/map2: 22694fc | pmichaud++ | src/core/Iterator.pm:
Iterator.list and .flat can now be inherited from Any.
kudo/map2: 1d9ff0d | pmichaud++ | src/core/List.pm:
Add List.lol.
kudo/map2: 6901639 | pmichaud++ | src/core/Mu.pm:
Improve DUMP reporting for RPA.
kudo/map2: 083cd55 | pmichaud++ | src/core/ListIter.pm:
Prevent $flattens from obtaining a non-p6 value.
kudo/map2: 2422204 | pmichaud++ | src/core/MapIter.pm:
Allow $flattens param to take Mu as an argument.
kudo/map2: d884467 | pmichaud++ | src/core/Any.pm:
Add Any.tree.
p: 25c0b53 | pmichaud++ | / (3 files):
Add initial version of QRPA, a quicker ResizablePMCArray implementation.
19:02
p: 27720d1 | pmichaud++ | src/PAST/NQP.pir:
Add (temporary) nqp::qlist() to construct QRPA instead of RPA lists.
p: 98f6a4e | pmichaud++ | / (4 files):
Add nqp::islist().
p: fad75ad | pmichaud++ | src/pmc/qrpa.pmc:
QRPA: Update comment in QRPA.set_integer_native to be a little more accurate.
p: b4d08d1 | pmichaud++ | / (6 files):
Merge branch 'qrpa'
p/altnfa: 1eb6548 | jonathan++ | t/qregex/rx_captures:
Correct tests that had wrong idea about semantics of |.
19:31
p/altnfa: af98a71 | jonathan++ | t/qregex/rx_metachars:
Todo a test that was likely passed for dubious reasons before anyway.
19:35
kudo/nom: 3325402 | pmichaud++ | tools/build/NQP_REVISION:
Bump NQP_REVISION to get a version of nqp w/QRPA.

Rakudo isn't using QRPAs yet, but the merge of the new map code (coming later) will make use of it.
19:44
19:58 lucian_ joined 20:16 benabik joined 20:17 benabik left, benabik joined
dalek Heuristic branch merge: pushed 24 commits to nqp by jnthn 20:26
Heuristic branch merge: pushed 16 commits to rakudo/nom by jnthn 20:27
kudo/nom: 5c00aad | jonathan++ | docs/ROADMAP:
Remove completed item from ROADMAP.
20:28
20:28 contingencyplan joined
dalek kudo/nom: cd26962 | jonathan++ | docs/ChangeLog:
Add a ChangeLog entry about LTM.
20:29
kudo/nom: 81402b9 | moritz++ | t/spectest.data:
run LTM tests
20:48
21:10 perlite_ joined 21:17 kjs joined
kjs good evening #parrot 21:19
dalek : b82543b | kjs++ | / (7 files):
some cleanups docs and layout.
21:30
: f849983 | kjs++ | t/ (5 files):
Fix up a few tests.
21:38
: 2d0fd4d | kjs++ | t/ (6 files):
remove non-descriptive test files. fix up some others.
21:43
: ed1dd0c | kjs++ | t/str (2 files):
add a test for struct. fixup the one for strings.
21:49
: 52eb261 | kjs++ | src/ (3 files):
store args and parameters.
22:20
22:26 whiteknight joined
whiteknight good afternoon, #parrot 22:26
kjs hi whiteknight
whiteknight hello kjs 22:29
great work on all the m1 stuff
kjs yes, thanks!
i got some help, that certainly made things better
although parameters/args have not been specified, I suspect I know how it will be specced. and I just got that working as a proof of concept 22:30
dalek : 033f856 | kjs++ | src/ (4 files):
work on parameter passing.
22:32
: 26ce75b | kjs++ | src/ (3 files):
add arguments to "new" expression.
22:53
22:59 kjs_ joined 23:02 kid51 joined 23:07 particle1 joined