Camelia, the Perl 6 bug

IRC log for #parrot, 2013-04-08

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
02:34 perlite joined #parrot
02:52 preflex_ joined #parrot
03:15 Khisanth joined #parrot
03:16 awwaiid joined #parrot
03:24 dalek rakudo/nom: 2bd981d | (Geoffrey Broadwell)++ | src/core/Hash.pm:
03:24 dalek rakudo/nom: Break DUMP recursion for Hash
03:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2bd981dddc
03:24 dalek rakudo/nom: 160c0f8 | (Geoffrey Broadwell)++ | src/core/Mu.pm:
03:24 dalek rakudo/nom: DUMP armoring and correctness fixes
03:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/160c0f8a3e
03:24 dalek rakudo/nom: 5adc4db | (Geoffrey Broadwell)++ | src/core/Mu.pm:
03:24 dalek rakudo/nom: DUMP(): Remove redundant null check; add explicit low-level hash handling; minor refactoring to make debugging clearer
03:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5adc4dbdf6
06:58 davidfetter joined #parrot
07:05 brrt joined #parrot
07:33 kid51 joined #parrot
07:35 brrt joined #parrot
09:09 contingencyplan joined #parrot
09:40 perlite joined #parrot
09:55 bouncy joined #parrot
10:02 schm00ster joined #parrot
10:58 xcombelle joined #parrot
11:04 brrt joined #parrot
11:59 lateau joined #parrot
12:04 lateau joined #parrot
12:05 lateau hello guys. I have a question about parrot-nqp to create grammar. How <.term> and <term> are different? The token term is simply defined like this: token term {\h*';' }
12:19 masak lateau: come back so I can answer your question!
12:21 lateau joined #parrot
12:22 lateau masak: thank you masak! my connection to parrot.org is poor and I don't know when it disconnect :(
12:24 masak lateau: the '.' simply means "match, but don't capture into a named slot $/<term>"
12:26 lateau masak: wow! thank you for a great answer!
12:27 lateau masak: what means the named slot? I guess it's not same with variable table...
12:29 lateau masak: symbol table?
12:50 masak lateau: any regex/grammar match produces a match object. $/ happens to be the Perl 6 name for it. $/<term> is a named entry in $/. think of it as a hash table. (although it does numbered entries too, like an array)
12:53 lateau joined #parrot
12:55 lateau masak: thank you again. I don't know I understand what you said but I've tested little sample grammar and action: token top_compstmt { <.term> } method top_compstmt($/) { make $<term>.ast; }
12:56 lateau masak: then I see a error message: Method 'ast' not found for invocant of class 'Undef'
12:56 lateau masak: but I could make AST of $<term> with <term>
12:56 masak because you're not capturing $<term> (because of the dot), so $<term> is undefined.
12:56 masak yes.
12:57 lateau masak: GOOD!
13:02 bluescreen joined #parrot
13:12 PacoAir joined #parrot
14:01 darbelo joined #parrot
14:23 Psyche^ joined #parrot
15:05 estrabd joined #parrot
15:19 kid51 joined #parrot
16:26 quias joined #parrot
16:27 kid51 Yaay! We're still passing all tests on Darwin/PPC!
16:47 Coke what version of the OS?
16:48 Coke 10.4?
16:51 Coke r: say (DateTime.new("2013-04-08") - DateTime.new("2007-11-14"))/365.24
16:51 p6eval rakudo 5adc4d: OUTPUT«Invalid DateTime string '2013-04-08'; use an ISO 8601 timestamp (yyyy-mm-ddThh::mm::ssZ or yyyy-mm-ddThh::mm::ss+0100) instead␤  in method new at src/gen/CORE.setting:11927␤  in method new at src/gen/CORE.setting:726␤  in block  at /tmp/IimqielzHK:1␤␤»
16:51 Coke r: say (Date.new("2013-04-08") - Date.new("2007-11-14"))/365.24
16:51 p6eval rakudo 5adc4d: OUTPUT«5.399190␤»
16:55 PacoAir joined #parrot
17:00 drift joined #parrot
17:17 darbelo joined #parrot
17:26 perlite joined #parrot
20:22 pjcj joined #parrot
20:27 pjcj joined #parrot
21:29 bluescreen joined #parrot
22:08 kurahaupo joined #parrot
22:42 kurahaupo left #parrot
23:45 Psyche^ joined #parrot

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

Parrot | source cross referenced