Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2015-01-09

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

All times shown according to UTC.

Time Nick Message
01:06 jeffreykegler joined #marpa
01:06 jeffreykegler ronsavage: thanks!
02:23 jeffreykegler joined #marpa
04:14 sirdancealot joined #marpa
05:00 ronsavage joined #marpa
06:43 rns joined #marpa
06:52 basiliscos joined #marpa
06:59 rns re discard => 'event' — this would be a good thing.
07:01 rns I once rewrote a grammar for Lua to keep comments -- https://github.com/rns/MarpaX-Languages-Lua-AST/​blob/master/lib/MarpaX/Languages/Lua/AST.pm#L183 -- but with discard as event last_completed() can be called to mark the place where the comment belong in the ast and insert it at the evaluation phase.
07:03 rns An added benefit will be support for round-trip parsing — https://metacpan.org/pod/release/SHARYANTO/Conf​ig-Ini-OnDrugs-0.08/lib/Config/Ini/OnDrugs.pm#W​hat-is-round-trip-parsing-and-why-it-is-useful
07:05 rns Some people have to write a special formats for config file because JSON parsers are not round-trip.
07:05 jluis joined #marpa
07:07 rns re http://irclog.perlgeek.de/​marpa/2015-01-08#i_9906307 and http://irclog.perlgeek.de/​marpa/2015-01-08#i_9906454 — great!
07:09 rns One question: the proper place to call marpa_r_terminals_expected() is after marpa_r_earleme_complete()? marpa_r_terminals_expected() didn't produce expected results for me when called right after marpa_r_start_input()
07:15 rns left #marpa
07:50 basiliscos joined #marpa
08:11 basiliscos joined #marpa
09:19 jeffreykegler joined #marpa
09:20 jeffreykegler rns: re http://irclog.perlgeek.de/​marpa/2015-01-09#i_9908888 -- this sounds like it might be a bug, or at least something that needs to be documented.
09:20 jeffreykegler Could you work up a small example and file a Github issue against Libmarpa?
10:29 ronsavage joined #marpa
10:39 lwa joined #marpa
13:47 basiliscos joined #marpa
14:21 rns joined #marpa
14:27 rns jeffreykegler: re http://irclog.perlgeek.de/​marpa/2015-01-09#i_9909249 -- I tried reproducing in json.c and marpa_r_expected_terminals() worked ok. So it must be a bug in my lua code.
14:29 rns Ok. I fixed the bug in my lua code and it works ok now. So, false positive.
14:31 rns There is some omission in json.c of which a PR is filed.
14:32 rns left #marpa
17:40 jeffreykegler joined #marpa
17:43 jeffreykegler rns: re http://irclog.perlgeek.de/​marpa/2015-01-09#i_9910149 -- Good news.  It was a special case, but such an obvious one I was wondering how I might have missed it.
17:53 jeffreykegler It looks like I will be switching over now to work on "discard events".  It looks like a number of people will find them useful.
19:08 jdurand_ joined #marpa
21:06 basiliscos joined #marpa
23:04 jeffreykegler joined #marpa

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