Parrot 5.6.0 "Psittacosaurus" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 3 August 2013.
00:18 FROGGS joined 00:34 rurban1 joined
dalek p/io-refactor: 512c07b | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java:
Fix FileHandle print.
00:38
00:48 FROGGS joined 01:28 FROGGS joined 01:34 rurban1 joined 01:51 woosley joined 01:54 FROGGS_ joined
dalek kudo/nom: 6297ac5 | jnthn++ | src/vm/jvm/core/Threading.pm:
Add a way to get broken promise cause.

Using .result will throw the exception if the promise was broken; this provides a way for getting hold of it if needed.
02:01
kudo/nom: 27962b0 | jnthn++ | src/vm/jvm/core/Threading.pm:
Promise breakage should carry over to combinators.
kudo/nom: fe22c91 | jnthn++ | src/vm/jvm/core/Threading.pm:
A channel can be finished or failed.

While some may be "forever", this provides for channels that come to some kind of conclusion, either a happy ending or a sad ending.
02:10 kid51 joined 02:13 davidfetter joined
dalek kudo/nom: 2966c57 | (Elizabeth Mattijsen)++ | src/core/Variable.pm:
Simplify is default internals
02:34
02:35 rurban1 joined 03:18 FROGGS_ joined 03:36 preflex joined 03:38 rurban1 joined 04:38 rurban1 joined 04:40 FROGGS_ joined 04:56 rurban1 joined 05:12 FROGGS joined 06:08 rurban1 joined 06:11 FROGGS joined 06:22 denisboyun joined
sa1 denisboyun: ping 07:03
07:08 rurban1 joined
denisboyun sa1: hi 07:11
sa1: I have a question about your project
sa1 Sure
denisboyun sa1: Do you have a working test with rosella? because when I'm doing winxed setup.winxed test, i see an error 07:13
sa1 denisbuyonGo build rosella first. And yes the test harness doesn't work. I run the tests directly manually as of now. 07:14
denisboyun sa1: such as 07:15
PackFile_Header_validate: This Parrot cannot read bytecode files with version 12.1.
current instr.: '_block1000' pc 33 ((file unknown):20) (t/harness:1)
called from Sub 'parrot;HLL;Compiler;_block1177' pc 24737 (ext/nqp-rx/src/stage0/HLL-s0.pir:8936)
called from Sub 'parrot;HLL;Compiler;eval' pc 24614 (ext/nqp-rx/src/stage0/HLL-s0.pir:8878)
called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1496 (compilers/pct/src/PCT/HLLCompiler.pir:759)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1721 (compilers/pct/src/PCT/HLLCompiler.pir:874)
called from Sub 'parrot;NQP;Compiler;main' pc 92462 (ext/nqp-rx/src/stage0/NQP-s0.pir:28374)
sa1 Interesting, I don't have this error, did you go and build rosella in its own folder? 07:16
denisboyun sa1: Ok, but if i run winxed 001_load.t should it work? 07:17
sa1: yes
sa1 Also, make test should build it I think
denisboyun: The winxed file should run, but because of the libgit2 updates, the tests aren't entirely meaningful. 07:18
I am working on it.
denisboyun sa1: ok, I understand
sa1 parrot-gmp would be a better project to learn from, at the moment. 07:19
denisboyun sa1: on parrot-gmp i have the same problem
sa1 Hmm, yes this problem shouldn't appear. There is something left to setup. 07:21
07:21 benabik joined
sa1 denisboyun: see how the .travis.yml file builds a setup. 07:23
Is there any step missing in what you're doing? 07:24
sa1 will be back in some time. 07:26
denisboyun sa1: Where will see this file?
sa1: when i'm building rosella 07:27
sa1: or what do you mean?
sa1 Hmm, it should be a part of the repository in the root folder. It begins with a . though, so it seems hidden.
github.com/letolabs/parrot-libgit2...travis.yml
denisboyun sa1: Yes, on your project I see it. But I didn't find this file on parrot-gmp 07:29
sa1 Okay, its a feature with travis-ci. If you turn on the github hook, it builds and tests the project according to this config file. 07:30
So this setup builds a proper setup in which things work, and you can compare your setup with this. 07:31
brb
denisboyun sa1: Ok,I'll know. thnx 07:32
08:09 rurban1 joined 08:29 Mike-PerlRecruiter_ joined 09:09 rurban1 joined 09:30 denis_boyun joined 10:10 rurban1 joined
dalek nxed: 2cb01cf | NotFound++ | t/medium/01float.t:
some float tests
10:36
nxed: 5715c71 | NotFound++ | t/ (2 files):
move float tests to advanced
10:39
nxed: a50e922 | NotFound++ | t/medium/02conditional.t:
some tests for conditional operator
10:42
11:10 rurban1 joined
dalek kudo/nom: a8d3ca0 | jnthn++ | src/vm/jvm/core/Threading.pm:
Ensure borken promise stores an Exception.
11:12
kudo/nom: bdd4ae1 | jnthn++ | src/vm/jvm/core/Threading.pm:
Naming consistency.
kudo/nom: a3503f9 | jnthn++ | src/vm/jvm/core/Threading.pm:
Exceptions should inherit from Exception.
kudo/nom: 5965345 | jnthn++ | src/vm/jvm/core/Threading.pm:
Decontainerize in Channel.send.
11:55 PacoLinux joined 12:49 PacoLinux joined 13:18 davidfetter joined 13:23 rurban1 joined 13:51 denisboyun joined 14:38 Psyche^ joined 14:42 bluescreen joined 14:54 rurban1 joined
dalek kudo/nom: 1d8f4d7 | jnthn++ | src/Perl6/Grammar.nqp:
Start processing use more smartly.

This handles it through the usual longname parser, meaning we now can pick out the name itself from any colonpairs.
15:07
kudo/nom: 1dbc3d8 | jnthn++ | src/Perl6/ (4 files):
Pass use/need colonpairs to module loader.

This also catches any use of :from<...> and complains for now; this is the hook where :from<jvm> support will go.
kudo/nom: e40c9bc | jnthn++ | src/Perl6/ModuleLoader.nqp:
Add a mechanism to register :from loaders.
kudo/nom: 42c2152 | jnthn++ | src/Perl6/ (2 files):
Refactor to make alternative loaders easier.

This relaxes what is returned to just be something hash-ish, not a full-blown context.
kudo/nom: d3b14a7 | jnthn++ | / (2 files):
Very basic :from<java> support.

The objects are decidedly lacking in sugar so far, not to mention the marshalling of Perl 6 types will need a lot of work. But you can do:
   use java::lang::System:from<java>;
   say System.currentTimeMillis();
And it works.
kudo/nom: 73b6583 | jnthn++ | src/vm/jvm/Perl6/JavaModuleLoader.nqp:
Give :from<java> support for a :jar<...> also.
kudo/nom: 3ffc247 | jnthn++ | src/ (5 files):
Prepare for Rakudo-specific tweaks to JVM interop.
kudo/nom: 381e7e6 | jnthn++ | / (4 files):
Give objects from Java a JavaHOW REPR.

This will enable us to get them to behave a bit 6ier.
kudo/nom: b4c8f67 | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.nqp:
Objects from Java pretend to be Any and Mu.
kudo/nom: b337932 | jnthn++ | / (11 files):
Merge branch 'use-from-java' into nom
kudo/nom: b17b0b7 | jnthn++ | src/Perl6/Actions.nqp:
Fix require regression.
15:09 PacoLinux joined
dalek p: d242880 | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:
Missing decontainerize in param unboxing.
15:11
15:19 PacoLinux_ joined 15:46 PacoLinux joined 15:47 rurban1 joined 16:33 darbelo joined
dalek p: fbf9be3 | jonathan++ | / (5 files):
Start stubbing in new IO bits.
16:46
p: 57188a8 | jonathan++ | src/vm/jvm/runtime/org/perl6/nqp/io/ (3 files):
Fill out a little more of file I/O.
p: 3397641 | jonathan++ | src/vm/jvm/runtime/org/perl6/nqp/ (2 files):
Start updating ops to use new IO scheme.

Not everything is moved over or implemented yet, so this breaks things massively.
p: e96a23f | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java:
Add missing interface implementation.
p: 1f83dea | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/ (2 files):
Get stdout/stderr using new IO approach.
p: 4204202 | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java:
Fix a thinko in slurp.

With this, all NQP tests pass, though there's still some notable bits still to do.
p: 35ebaea | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java:
Implement FileHandle.readline.
p: 756f91b | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/ (3 files):
Get stdin and readline interactive using new IO.
p: d86cade | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/IOHandleInstance.java:
Cleanup old IO leftovers.
p: 512c07b | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/FileHandle.java:
Fix FileHandle print.
p: 8b8f53b | jnthn++ | / (12 files):
Merge branch 'io-refactor'
p: 752e0bc | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/StandardWriteHandle.java:
Fix thinko in stdout/stderr print.
16:49 PacoLinux joined 16:55 FROGGS joined
dalek kudo/nom: 525c5d0 | jnthn++ | src/vm/jvm/core/Threading.pm:
Add a first cut at a KeyReducer class.

If Promise is for synchronizing over scalar values ($) and Channel is for synchronizing over ordered values (@), this is for synchronizing over keyed values (%).
17:01
17:18 rurban1 joined 17:34 prammer joined 18:36 bluescreen joined 18:37 bluescreen joined, rurban1 joined 18:38 bluescreen joined 19:06 darbelo joined 19:07 rurban1 joined 19:27 Mike-PerlRecruiter_ joined 19:39 rurban1 joined 19:52 rurban1 joined 20:10 bluescreen joined 20:21 rurban1 joined 20:47 rurban1 joined 21:13 rurban1 joined 22:42 eternaleye joined
dalek p: 134167f | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/AsyncFileHandle.java:
Stub in AsyncFileHandle.
22:55
p: f06d78e | jnthn++ | src/vm/jvm/ (4 files):
Stub in a couple of basic async IO ops.

Not actually implemented on the handle yet.
p: b212927 | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/AsyncFileHandle.java:
Implement asynchronous slurp.
23:35 autark joined
dalek p: 89491f5 | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/io/AsyncFileHandle.java:
Implement async lines.

Pushes each line into a Channel as it is read/decoded.
23:38
kudo/nom: 495602b | jnthn++ | src/vm/jvm/core/Threading.pm:
Add a partial, preliminary IO::Async::File.

So far, only supports textual reading (slurp -> Promise, lines -> Channel).
23:43
23:52 kid51 joined