Camelia, the Perl 6 bug

IRC log for #parrot, 2012-05-19

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:12 whiteknight brrt: ping
00:47 whiteknight I think I'm going to have a present for moritz++ tonight
00:55 kid51 joined #parrot
01:12 whiteknight I am reminded, as I am every time I look at this code, that the IO system needs some major cleanups
01:15 whiteknight After I'm done cleaning the sprintf internals, maybe I'll try to spend a day on that
01:16 whiteknight Of course, history suggests it will take more than a day
01:21 dalek parrot/whiteknight/gh_610: 195402a | Whiteknight++ | / (6 files):
01:21 dalek parrot/whiteknight/gh_610: 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 dalek parrot/whiteknight/gh_610: review: https://github.com/parrot/parrot/commit/195402ad34
01:21 dalek parrot/whiteknight/gh_610: 3747017 | Whiteknight++ | / (4 files):
01:21 dalek parrot/whiteknight/gh_610: 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.
01:21 dalek parrot/whiteknight/gh_610: review: https://github.com/parrot/parrot/commit/3747017b76
01:46 dalek parrot: 7833228 | jkeenan++ | t/codingstd/c_function_docs.t:
01:46 dalek parrot: If a C function declaration contains PARROT_EXPORT, that must be found
01:46 treed joined #parrot
01:46 dalek parrot: at the start of the declaration.
01:46 dalek parrot:
01:46 dalek parrot: For https://github.com/parrot/parrot/issues/770.
01:46 dalek parrot:
01:46 dalek parrot: But note: As of this commit the test reports 3 failures which, in fact,
01:46 dalek parrot: are not impeding Parrot's build with g++.
01:46 dalek parrot: review: https://github.com/parrot/parrot/commit/78332285b0
01:46 dalek parrot: 141ccab | jkeenan++ | t/codingstd/c_function_docs.t:
01:46 dalek parrot: Refine regex to permit PARROT_CAN(NOT)?_RETURN_NULL to precede
01:46 dalek parrot: PARROT_EXPORT.
01:46 dalek parrot: review: https://github.com/parrot/parrot/commit/141ccab838
01:46 dalek parrot: 1e2db7a | jkeenan++ | t/codingstd/c_function_docs.t:
01:46 dalek parrot: Merge branch '770/order'
01:47 dalek parrot: review: https://github.com/parrot/parrot/commit/1e2db7a33b
01:49 dalek parrot/whiteknight/sprintf_cleanup: 2fbc49a | Whiteknight++ | config/gen/makefiles/root.in:
01:49 dalek parrot/whiteknight/sprintf_cleanup: Fix t/src/checkdepend.t
01:49 dalek parrot/whiteknight/sprintf_cleanup: review: https://github.com/parrot/parrot/commit/2fbc49a348
01:49 whiteknight kid51++
01:50 whiteknight kid51++
01:51 whiteknight and, bed!
01:51 kid51 nighty night!
03:12 dalek parrot: 19f45f0 | petdance++ | t/codingstd/c_function_docs.t:
03:12 dalek parrot: Don't treat arrays as booleans
03:12 dalek parrot: review: https://github.com/parrot/parrot/commit/19f45f0a07
03:49 aloha (parrot/parrot) Issues closed : 770 (PARROT_EXPORT must appear first in modifiers list) by Whiteknight : https://github.com/parrot/parrot/issues/770
03:51 dalek parrot: fab1ffb | petdance++ | lib/Parrot/Headerizer.pm:
03:51 dalek parrot: get rid of some leaning toothpicks
03:52 dalek parrot: review: https://github.com/parrot/parrot/commit/fab1ffb0ce
04:38 kurahaupo joined #parrot
06:24 kurahaupo joined #parrot
06:29 fperrad joined #parrot
07:46 kjs joined #parrot
08:32 rich joined #parrot
08:34 rich left #parrot
10:07 zby_home joined #parrot
10:12 whiteknight joined #parrot
10:12 whiteknight good morning, #parrot
10:17 kjs good morning whiteknight
11:13 JimmyZ joined #parrot
11:20 dalek parrot/whiteknight/io_cleanup1: b12a90b | Whiteknight++ | / (4 files):
11:20 dalek parrot/whiteknight/io_cleanup1: First writeup of the proposed new IO subsystem architecture.
11:20 dalek parrot/whiteknight/io_cleanup1:
11:20 dalek parrot/whiteknight/io_cleanup1: 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
11:20 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/b12a90b8ed
11:21 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 #parrot
11:26 mdupont joined #parrot
11:28 JimmyZ_ joined #parrot
11:48 JimmyZ joined #parrot
11:48 mdupont joined #parrot
11:59 kid51 joined #parrot
12:09 JimmyZ_ joined #parrot
12:31 lucian joined #parrot
13:06 Psyche^ joined #parrot
13:08 crab2313 joined #parrot
13:48 kjs joined #parrot
13:54 dalek Heuristic branch merge: pushed 127 commits to parrot/whiteknight/sprintf_cleanup by Whiteknight
13:56 dalek Heuristic branch merge: pushed 246 commits to parrot/eval_pmc by Whiteknight
14:10 kjs joined #parrot
14:14 dalek rakudo/nom: 5f7d68e | kboga++ | src/core/Str.pm:
14:14 dalek rakudo/nom: Removes duplicated fullwidth digits in rangechar (oops, kboga--)
14:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5f7d68ed57
15:10 kjs joined #parrot
15:25 dadada joined #parrot
15:25 dadada hey
15:26 tadzik hello dadada
15:28 kid51 joined #parrot
15:30 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:33 dadada 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:35 dadada maybe this should have been a mail :_)
15:36 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:41 dadada anyone want to chime in on my observations?
15:44 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 moritz Rakudo (Perl 6) being the notable exception that is actively developed, and has been for quite a few years
15:45 dadada moritz: the codebase for perl 6 strikes me as rather slim though, true?
15:46 dadada by that I mean libs
15:48 dadada if this worked it would be huge https://code.google.com/p/parrot-jvm/
15:48 dadada looks like there was never actual code for this
15:59 kurahaupo joined #parrot
16:02 dadada anyone working on dalvik bytecode to parrot bytecode converter?
16:03 dadada seems to me this should be easier as both are register based
16:05 tadzik dalvik's register based?
16:05 tadzik TIL
16:06 dadada yes :-) not that I would know that without wikipedia
16:06 dadada http://pallergabor.uw.hu/common/​understandingdalvikbytecode.pdf
16:07 dadada this is interesting... there's a javabytecode to dalvik-bytecode converter called dexer
16:08 dadada if we had a dalvik to parrot converter, we also could do jvm->dalvik->parrot
16:26 kurahaupo joined #parrot
16:31 moritz I'd be more interested in a parrot -> dalvik converter
16:31 moritz then I could run my Perl 6 code on Android phones
16:33 dadada when you have one or the other it's probably not too hard to write the reverse
16:34 benabik It's just a simple matter of programming.
16:51 PacoAir joined #parrot
17:14 plobsing joined #parrot
17:16 brrt joined #parrot
17:59 contingencyplan joined #parrot
18:00 cotto ~~
18:11 alvis_ joined #parrot
20:31 fperrad_ joined #parrot
20:36 adu joined #parrot
20:53 lucian joined #parrot
21:25 benabik joined #parrot
22:02 adu joined #parrot
22:57 nbrown joined #parrot
23:00 lucian joined #parrot
23:51 alvis left #parrot
23:53 adu joined #parrot
23:56 kjs joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced