Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-01-30

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

All times shown according to UTC.

Time Nick Message
23:02 jdurand_ "on end completion" - sorry
01:13 ronsavage joined #marpa
03:58 jeffreykegler joined #marpa
04:00 jeffreykegler jdurand: re http://irclog.perlgeek.de/marpa/2014-01-29#i_8194452 -- I looked at the callgrind grammar a bit
04:01 jeffreykegler It's a tough case from the Marpa point of view -- not that Marpa can't do it, but in terms of Marpa adding value over other solutions.
04:02 jeffreykegler First off, note that to the extent the grammar in the doc expresses the semantics, it's at the very highest level.  But here the file is huge and the structure is trivial, and you might as well go SAX-ish.
04:03 jeffreykegler Now, "body lines" group, and there Marpa might be able to add value, but I note that the grammar does *not* express the semantic connections between body lines.
04:04 jeffreykegler That means a useful Marpa grammar could not follow the one in the callgrind documentation.
04:04 jeffreykegler If I were tackling the callgrind format, frankly, I'd be very tempted to look for some SAX-ish package that's already out there.
04:06 jeffreykegler Alternatively, if you want to use Marpa, you may well be able to add value, but you won't be able to follow the grammar in the documents -- the semantics Marpa could be most helpful with are not expressed in that grammar.
04:07 jeffreykegler Essentially, the callgrind format was designed to be parsed on a strictly line by line basis, with procedural code adding further structure.
04:09 jeffreykegler The callgrind grammar is expressed in BNF form, but it's really a structured list of line formats -- inter-line semantic structure is often ignored.
04:10 jeffreykegler jdurand: anyway, those are my thoughts.
05:47 jdurand_ you're right. Grammar is finished. Butthere is no added value compared to line-by-line consumer. No pb, this was just an exercice -;
05:53 jeffreykegler good night
05:53 jeffreykegler left #marpa
16:46 jeffreykegler joined #marpa
20:28 jeffreykegler left #marpa

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