Camelia, the Perl 6 bug

IRC log for #parrot, 2012-10-23

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:01 pjcj joined #parrot
00:22 whiteknight joined #parrot
00:23 whiteknight good evening, #parrot
00:23 sorear good evening whiteknight
00:23 benabik joined #parrot
00:26 whiteknight hello sorear
00:52 bubaflub joined #parrot
04:29 rurban_ joined #parrot
05:53 PacoAir joined #parrot
06:56 rurban_ joined #parrot
06:59 brrt joined #parrot
07:17 particle joined #parrot
07:17 Mike-PerlRecruiter_ joined #parrot
11:15 brrt joined #parrot
12:02 sivoais joined #parrot
12:39 PacoAir joined #parrot
13:04 Psyche^ joined #parrot
13:12 rurban_ joined #parrot
13:30 bluescreen joined #parrot
13:54 mtk joined #parrot
13:58 rurban_ joined #parrot
14:33 benabik joined #parrot
14:36 benabik_ joined #parrot
14:38 rurban_ joined #parrot
15:01 dmalcolm joined #parrot
15:07 contingencyplan joined #parrot
16:08 skew joined #parrot
16:10 skew hi... anybody here who would explain to me how to compile Ruby to bytecode with cardinal or at least point me in the general direction?
16:11 tadzik I can try, I worked with cardinal for a while
16:11 tadzik I'm not sure in what state it is now
16:11 tadzik do you have it running?
16:16 skew yes
16:17 tadzik does --target=pir produce some cryptic output?
16:18 mvorl joined #parrot
16:18 skew yep. found that myself by analogy. however, writing it into a file fails on execution of the file with parrot
16:18 tadzik aw
16:18 skew parrot hello.pir "load_bytecode" couldn't find file 'cardinal.pbc'
16:19 tadzik ok. What if you had a program that loads a module, and then you precompiled the module only?
16:19 tadzik oh, that may simple be a missing 'make install of sort'
16:19 skew could be true cause I can start cardinal with full path only
16:21 skew what is better, installing from source, from gem, from plumage?
16:21 tadzik from source is the way I'm more-less familiar with :)
16:21 tadzik oh, hold on
16:21 tadzik try 'parrot /path/to/cardinal.pbc /path/to/pir'
16:22 skew ok that's what I did too. I remember doing a sudo make install, at least I believe... however, I need to give the path to cardinal, so maybe
16:22 skew Ah I'll try
16:24 cosimo joined #parrot
16:25 skew ok, now it fails later, both with the .pir and the .pbc.. syntax error in line 1
16:25 skew and it's only puts "Hello world"...
16:25 tadzik no idea then :(
16:26 skew np, thank you very much!
16:26 tadzik I didn't touch cardinal for at least a year, probably more
16:26 tadzik but wait. If you run make test, does it use precompiled Test.rb by any chance?
16:27 skew "no rule for make test", but there is a Test.rb in the dir
16:27 skew maybe there's a test in the rakefile, I'll look
16:29 skew There's a "rake test"... I did run the "rake smolder" before, with all ok but one exception
16:30 skew There was 1 file that completely failed to compile:
16:30 skew gen_01-stmts.pir
16:32 dalek rakudo/nom: 6e5ae1f | jnthn++ | src/Perl6/Grammar.pm:
16:32 dalek rakudo/nom: Start cleaning up custom operators.
16:32 dalek rakudo/nom:
16:32 dalek rakudo/nom: Move the check for if the operator is already parsed into gen_op, and
16:32 dalek rakudo/nom: rename it to add_categorical, to move towards STD.
16:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6e5ae1f031
16:32 dalek rakudo/nom: d9ae366 | jnthn++ | src/Perl6/Grammar.pm:
16:32 dalek rakudo/nom: First pass at mixing in roles for categoricals.
16:32 dalek rakudo/nom:
16:32 dalek rakudo/nom: Basically works. However, the new operators don't participate in LTM
16:32 dalek rakudo/nom: yet, which will need fixing.
16:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d9ae366003
16:32 dalek rakudo/nom: 13581d0 | jnthn++ | / (5 files):
16:32 dalek rakudo/nom: Merge branch 'nom' into categorically-better
16:32 dalek rakudo/nom:
16:32 dalek rakudo/nom: Conflicts:
16:32 dalek rakudo/nom: src/Perl6/Grammar.pm
16:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/13581d0567
16:32 dalek rakudo/nom: 70b4b22 | jnthn++ | src/Perl6/ (2 files):
16:32 dalek rakudo/nom: Get eval with custom operators to work again.
16:32 dalek rakudo/nom:
16:33 dalek rakudo/nom: It stopped working because it relied on global grammar modification
16:33 dalek rakudo/nom: before, which won't fly now we're doing mixins.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/70b4b22f79
16:33 dalek rakudo/nom: 2ad86ea | jnthn++ | src/Perl6/Grammar.pm:
16:33 dalek rakudo/nom: Remove premature optimization.
16:33 dalek rakudo/nom:
16:33 dalek rakudo/nom: Need to always update %?LANG.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2ad86ea0b3
16:33 dalek rakudo/nom: 78cf73f | jnthn++ | src/Perl6/World.pm:
16:33 dalek rakudo/nom: Process categoricals at import time.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/78cf73f7fa
16:33 dalek rakudo/nom: 503d19c | jnthn++ | src/core/traits.pm:
16:33 dalek rakudo/nom: Sketch precedence trait implementations.
16:33 dalek rakudo/nom:
16:33 dalek rakudo/nom: Adds equiv, looser, tighter, assoc.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/503d19c8b3
16:33 dalek rakudo/nom: 54ce622 | jnthn++ | src/Perl6/ (2 files):
16:33 dalek rakudo/nom: Have parser pay attention to precedence traits.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/54ce622040
16:33 dalek rakudo/nom: 0faf6fa | jnthn++ | src/core/operators.pm:
16:33 dalek rakudo/nom: Attach precedence info to a bunch of operators.
16:33 dalek rakudo/nom:
16:33 dalek rakudo/nom: Not beautiful, but doing it this way due to some circularity sawing
16:33 dalek rakudo/nom: issues.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/0faf6fa5c1
16:33 dalek rakudo/nom: 1cb742a | jnthn++ | src/Perl6/Grammar.pm:
16:33 dalek rakudo/nom: Scope changes to actions also.
16:33 dalek rakudo/nom:
16:33 dalek rakudo/nom: Custom circumfixes generate action methods. Refactor this to also be
16:33 dalek rakudo/nom: handled by mixins, so the changes are properly scoped.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1cb742ae33
16:33 dalek rakudo/nom: c487a59 | jnthn++ | tools/build/NQP_REVISION:
16:33 dalek rakudo/nom: Bump NQP_REVISION for roles and NFA improvements.
16:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c487a59096
16:36 mtk joined #parrot
17:05 mtk joined #parrot
17:19 mtk joined #parrot
17:58 mtk joined #parrot
18:10 mtk joined #parrot
18:11 preflex joined #parrot
18:13 rurban_ joined #parrot
18:36 rurban_ joined #parrot
18:47 brrt joined #parrot
19:12 rurban_ joined #parrot
19:20 Mike-PerlRecruiter_ joined #parrot
19:33 dalek nqp: cb13fd5 | jnthn++ | src/QRegex/Cursor.nqp:
19:33 dalek nqp: Sketch a method for pre-computing protoregex NFAs.
19:33 dalek nqp: review: https://github.com/perl6/nqp/commit/cb13fd558a
19:34 dalek nqp: 0fdb57e | jnthn++ | src/ (3 files):
19:34 dalek nqp: Refactor handling of alternation NFAs.
19:34 dalek nqp:
19:34 dalek nqp: Don't stash the label offsets in the fates list. This is just as
19:34 dalek nqp: efficient, but should enable us to compute the NFA at compile time.
19:34 dalek nqp: review: https://github.com/perl6/nqp/commit/0fdb57e8ed
19:34 dalek nqp: 161fa44 | jnthn++ | src/stage0/ (9 files):
19:34 dalek nqp: Update bootstrap.
19:34 dalek nqp: review: https://github.com/perl6/nqp/commit/161fa44562
19:34 dalek nqp: 995a21b | jnthn++ | src/ops/nqp.ops:
19:34 dalek nqp: Eliminate now-unused op variant.
19:34 dalek nqp: review: https://github.com/perl6/nqp/commit/995a21bf9c
19:38 brrt left #parrot
19:53 dalek nqp: f221da4 | jnthn++ | src/ (4 files):
19:53 dalek nqp: Finish up NFA pre-computation logic.
19:53 dalek nqp:
19:53 dalek nqp: Has to take special care to include alternation NFAs from nested code
19:53 dalek nqp: objects (like nibbler for before, or positional captures). Otherwise,
19:53 dalek nqp: nothing surprising. Note that catching them all is important if we're
19:53 dalek nqp: to cache them, or we risk getting things spanning bootstrap phases.
19:53 dalek nqp: review: https://github.com/perl6/nqp/commit/f221da4a4f
19:53 dalek nqp: 234daad | jnthn++ | src/ops/nqp.ops:
19:53 dalek nqp: Fix nqp::ishash for deserialized hashes.
19:53 dalek nqp: review: https://github.com/perl6/nqp/commit/234daad5d8
19:53 dalek nqp: b6c88ff | jnthn++ | src/how/NQPClassHOW.pm:
19:53 dalek nqp: Make NFA cache an attribute rather than lexical.
19:53 dalek nqp:
19:53 dalek nqp: This means that the compile time computation will be serialized, so
19:53 dalek nqp: the NFAs for protoregexes and alternations need not be re-calculated
19:53 dalek nqp: each run, at least for use of the standard grammar.
19:53 dalek nqp: review: https://github.com/perl6/nqp/commit/b6c88ffae3
19:53 dalek nqp: 444537f | jnthn++ | src/stage0/ (9 files):
19:53 dalek nqp: Update bootstrap.
19:53 dalek nqp: review: https://github.com/perl6/nqp/commit/444537fc26
19:57 dalek rakudo/nom: 8fa4c58 | jnthn++ | tools/build/NQP_REVISION:
19:57 dalek rakudo/nom: Bump NQP_REVISION to get compile-time NFA calc.
19:57 dalek rakudo/nom:
19:57 dalek rakudo/nom: This means that we don't need to compute a bunch of them on-demand as
19:57 dalek rakudo/nom: we parse. This saves some work on each invocation. The spectests get a
19:57 dalek rakudo/nom: ~10% win from this.
19:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8fa4c58cd1
20:05 dalek rakudo/nom: 027f8c1 | jnthn++ | docs/ChangeLog:
20:05 dalek rakudo/nom: Start ChangeLog for 2012.11.
20:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/027f8c1017
20:21 dalek rakudo/nom: 226b3bd | jnthn++ | src/core/traits.pm:
20:21 dalek rakudo/nom: Make looser/tighter actually work.
20:21 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/226b3bdea2
20:23 lucian joined #parrot
20:27 rurban_ joined #parrot
20:51 rurban_ joined #parrot
20:51 dalek rakudo/nom: 8293d69 | jnthn++ | src/core/traits.pm:
20:51 dalek rakudo/nom: Fix is assoc(...).
20:51 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8293d69812
20:51 dalek rakudo/nom: 714593d | jnthn++ | src/core/operators.pm:
20:51 dalek rakudo/nom: Don't override assoc when doing equiv etc.
20:51 dalek rakudo/nom:
20:51 dalek rakudo/nom: Turns out that you should be able to use the precedence of an infix
20:51 dalek rakudo/nom: when declaring a prefix and the like.
20:51 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/714593d8f1
21:21 benabik joined #parrot
22:44 whiteknight joined #parrot
22:53 bluescreen joined #parrot
23:39 slavorg joined #parrot
23:41 jsut joined #parrot
23:41 cosimo joined #parrot
23:42 perlite joined #parrot
23:42 mj41 joined #parrot
23:42 whiteknight joined #parrot
23:42 mtk joined #parrot
23:42 sivoais joined #parrot
23:42 awwaiid joined #parrot
23:42 woosley joined #parrot
23:42 ligne joined #parrot
23:42 PerlJam joined #parrot
23:42 Hunger joined #parrot
23:42 pmichaud joined #parrot
23:42 p6eval joined #parrot
23:42 ingy joined #parrot
23:42 ttbot joined #parrot
23:42 simcop2387 joined #parrot
23:42 szbalint joined #parrot
23:42 knewt joined #parrot
23:42 wagle joined #parrot
23:42 contingencyplan joined #parrot
23:42 Patterner joined #parrot
23:42 pjcj joined #parrot
23:42 japhb joined #parrot
23:42 Khisanth joined #parrot
23:42 woolfy_ joined #parrot
23:42 tadzik joined #parrot
23:42 nemesys_ joined #parrot
23:42 jlaire joined #parrot
23:43 particle joined #parrot
23:43 drift joined #parrot
23:46 Mike-PerlRecruiter_ joined #parrot

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

Parrot | source cross referenced