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 15 May 2012.
whiteknight brrt: ping 00:12
I think I'm going to have a present for moritz++ tonight 00:47
00:55 kid51 joined
whiteknight I am reminded, as I am every time I look at this code, that the IO system needs some major cleanups 01:12
After I'm done cleaning the sprintf internals, maybe I'll try to spend a day on that 01:15
Of course, history suggests it will take more than a day 01:16
dalek rrot/whiteknight/gh_610: 195402a | Whiteknight++ | / (6 files):
Add a new Parrot_io_socket_recv_to_buffer to read from a socket to a preexisting buffer. Refactor most of the guts of the FileHandle.read_bytes method into a new Parrot_io_read_byte_buffer_pmc. Move the read_bytes method from FileHandle to Handle to we can inherit it to Socket too.
01:21
rrot/whiteknight/gh_610: 3747017 | Whiteknight++ | / (4 files):
Add a new .write_bytes() method to Handle, which will be inherited by FileHandle and Socket. This method reads bytes from a ByteBuffer and outputs to the handle. Untested and several codestd problems.
rrot: 7833228 | jkeenan++ | t/codingstd/c_function_docs.t:
If a C function declaration contains PARROT_EXPORT, that must be found

For github.com/parrot/parrot/issues/770.
But note: As of this commit the test reports 3 failures which, in fact, are not impeding Parrot's build with g++.
01:46
01:46 treed joined
rrot: 141ccab | jkeenan++ | t/codingstd/c_function_docs.t:
Refine regex to permit PARROT_CAN(NOT)?_RETURN_NULL to precede
rrot: 1e2db7a | jkeenan++ | t/codingstd/c_function_docs.t:
Merge branch '770/order'
rrot/whiteknight/sprintf_cleanup: 2fbc49a | Whiteknight++ | config/gen/makefiles/root.in:
Fix t/src/checkdepend.t
01:49
whiteknight kid51++
kid51++ 01:50
and, bed! 01:51
kid51 nighty night!
dalek rrot: 19f45f0 | petdance++ | t/codingstd/c_function_docs.t:
Don't treat arrays as booleans
03:12
aloha (parrot/parrot) Issues closed : 770 (PARROT_EXPORT must appear first in modifiers list) by Whiteknight : github.com/parrot/parrot/issues/770 03:49
dalek rrot: fab1ffb | petdance++ | lib/Parrot/Headerizer.pm:
get rid of some leaning toothpicks
03:51
04:38 kurahaupo joined 06:24 kurahaupo joined 06:29 fperrad joined 07:46 kjs joined 08:32 rich joined 08:34 rich left 10:07 zby_home joined 10:12 whiteknight joined
whiteknight good morning, #parrot 10:12
kjs good morning whiteknight 10:17
11:13 JimmyZ joined
dalek rrot/whiteknight/io_cleanup1: b12a90b | Whiteknight++ | / (4 files):
First writeup of the proposed new IO subsystem architecture.

Operations for specific IO types (file, socket, pipe, etc) are broken into separate vtables for easy non-switch dispatch. Buffering will be encapsulated as a separate structure and will take function pointers to the relevant vtable routines for data pass-through. We are going to decrease the number of PARROT_EXPORT routines from this subsystem and make a cleaner API.
11:20
whiteknight good morning kjs
whiteknight msg cotto When you have time, can you look at the whiteknight/io_cleanup1 branch? It contains a basic writeup of plans for a new refactor to finally get this subsystem under control 11:21
aloha OK. I'll deliver the message.
11:22 JimmyZ joined 11:26 mdupont joined 11:28 JimmyZ_ joined 11:48 JimmyZ joined, mdupont joined 11:59 kid51 joined 12:09 JimmyZ_ joined 12:31 lucian joined 13:06 Psyche^ joined 13:08 crab2313 joined 13:48 kjs joined
dalek Heuristic branch merge: pushed 127 commits to parrot/whiteknight/sprintf_cleanup by Whiteknight 13:54
Heuristic branch merge: pushed 246 commits to parrot/eval_pmc by Whiteknight 13:56
14:10 kjs joined
dalek kudo/nom: 5f7d68e | kboga++ | src/core/Str.pm:
Removes duplicated fullwidth digits in rangechar (oops, kboga--)
14:14
15:10 kjs joined 15:25 dadada joined
dadada hey 15:25
tadzik hello dadada 15:26
15:28 kid51 joined
dadada I'm playing with an idea for a programming language in my mind ... I like parrot from what I read, the idea to write a compiler with the minimum amount of code is great, yet it seems most of the compilers that were written with it, got stuck somewhere, whereas ie. there seem to be dozens of lang implementations for the jvm that are rather complete, and performance seems to be good, well... still I like parrot and don't like writing java, and the other thing: 15:30
one other thing: how does parrot grammar deal with python-style code identation/syntax, was that considered, or do you need a hack for that? 15:33
maybe this should have been a mail :_) 15:35
benabik The grammars can match whitespace. With nqp, I would redefine <ws> to not include leading whitespace, then have a leading whitespace token. The action for that would set a contextual variable with the current level of indentation. 15:36
dadada anyone want to chime in on my observations? 15:41
moritz dadada: yes, most parrot-based compilers have bitrotten. Mostly because writing a compiler is a lot of work, and most people don't have the dedication 15:44
Rakudo (Perl 6) being the notable exception that is actively developed, and has been for quite a few years
dadada moritz: the codebase for perl 6 strikes me as rather slim though, true? 15:45
by that I mean libs 15:46
if this worked it would be huge code.google.com/p/parrot-jvm/ 15:48
looks like there was never actual code for this
15:59 kurahaupo joined
dadada anyone working on dalvik bytecode to parrot bytecode converter? 16:02
seems to me this should be easier as both are register based 16:03
tadzik dalvik's register based? 16:05
TIL
dadada yes :-) not that I would know that without wikipedia 16:06
pallergabor.uw.hu/common/understand...tecode.pdf
this is interesting... there's a javabytecode to dalvik-bytecode converter called dexer 16:07
if we had a dalvik to parrot converter, we also could do jvm->dalvik->parrot 16:08
16:26 kurahaupo joined
moritz I'd be more interested in a parrot -> dalvik converter 16:31
then I could run my Perl 6 code on Android phones
dadada when you have one or the other it's probably not too hard to write the reverse 16:33
benabik It's just a simple matter of programming. 16:34
16:51 PacoAir joined 17:14 plobsing joined 17:16 brrt joined 17:59 contingencyplan joined
cotto ~~ 18:00
18:11 alvis_ joined 20:31 fperrad_ joined 20:36 adu joined 20:53 lucian joined 21:25 benabik joined 22:02 adu joined 22:57 nbrown joined 23:00 lucian joined 23:51 alvis left 23:53 adu joined 23:56 kjs joined