Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-10-04

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

All times shown according to UTC.

Time Nick Message
00:15 idiosyncrat joined #marpa
00:16 idiosyncrat Demat!
00:19 idiosyncrat Some more renamings.
00:20 idiosyncrat Recall Marpa::R2 has 2 levels of "location", one for G1 and one for L0.  G1 is in terms of Earley sets and L0 was (in R2) in terms of the input string passed to $recce->read()
00:21 idiosyncrat R3 allows multiple input strings (now called "blocks") so that the lower ("physical") level of location becomes more complicated.
00:22 idiosyncrat I now call L0 location "block location", which is both a less technical and more accurate name.  A "block position" consists of a <block id>, <block offset> pair.
00:23 idiosyncrat As such, the $recce->pos() method which returned physical position now is no longer adequate.
00:24 idiosyncrat A new methods $recce->block_where() will replace it.  This returns a list of 3 elements, <block id>, <block offset>, <end of read>.
00:26 idiosyncrat <end of read>.  Ordinarily you want to read to the end of an input block but (as in R2) you can tell Marpa not to read beyond an earlier location.  This is called the "end of read", or "eoread".  It often the same as the "end of block", but might be earlier.
00:27 idiosyncrat === On another, related topic:
00:29 idiosyncrat The method which returns the upper level (G1) idea of location is now called $recce->g1_pos().  That's not wrong but to make it more consistent with newer terminology, I'm thinking of changing it to $recce->lexeme_id().
00:31 idiosyncrat "id" for orthogonality with the <id>, <offset> pair that represents block location.  (Someday there may be a "lexeme offset", but that has some cost to implement and does not actually seem to be useful.)
00:32 idiosyncrat "lexeme" because it's in terms, not of codepoints, but of Marpa's lexemes.
01:55 ilbot3 joined #marpa
01:55 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Code paste/run: https://f.perlbot.pl/#marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today - Youtube channel: https://www.youtube.com/channel/UCYKVfGBtfTqbs1JdYq-dc5g
04:06 ronsavage joined #marpa
04:20 ceridwen joined #marpa
07:04 ronsavage joined #marpa
07:22 koom joined #marpa
07:46 ronsavage joined #marpa
21:14 ronsavage joined #marpa
21:16 koom joined #marpa
23:55 ronsavage joined #marpa

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