Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-06-21

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

All times shown according to UTC.

Time Nick Message
00:46 idiosyncrat joined #marpa
00:46 idiosyncrat Demat!
00:53 idiosyncrat ronsavage: re https://irclog.perlgeek.de/marpa/2017-06-20#i_14764132 -- Thanks!
00:54 idiosyncrat Let me know how it goes converting between event mechanisms.
00:55 idiosyncrat re https://irclog.perlgeek.de/marpa/2017-06-20#i_14764159 -- pause_span() is soon to be deleted -- my fix to doc references to it will be to delete them.
00:58 idiosyncrat re https://irclog.perlgeek.de/marpa/2017-06-20#i_14764145 and https://irclog.perlgeek.de/marpa/2017-06-20#i_14764149 -- fixed in commit 61c53c9
00:58 idiosyncrat Thanks!
00:59 idiosyncrat I'm glad to hear the backward-compatibility worked.
01:48 ilbot3 joined #marpa
01:48 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
03:10 ronsavage joined #marpa
06:21 ronsavage joined #marpa
07:30 black_ant joined #marpa
07:37 ronsavage joined #marpa
07:45 ronsavage Under 'Event handlers' the docs say 'An event handler may not call, directly or indirectly, certain methods of the same recognizer. ... This restriction applies only to methods of the recognizer to which the event handler belongs. Calls to methods of a different recognizer are not restricted.'. Am I right in thinking this means recognizers can be chained, with output of one generating input for the next?
07:49 ronsavage Under 'Discard events', the docs say 'The start location of the discarded text.'. I take it that the location is an offset from the start of the block (param 3 in this case) - right?
07:52 ronsavage For nulling events and prediction events, are the prefixes '!' and '^' mandatory?
08:11 ronsavage Under 'External scanning' the link to  the example code does not lead anywhere.
08:30 idiosyncrat ronsavage: re https://irclog.perlgeek.de/marpa/2017-06-21#i_14765422 -- chaining recces inside event handlers.  Yes, sure, that should be work.
08:31 idiosyncrat re https://irclog.perlgeek.de/marpa/2017-06-21#i_14765434 -- yes, it's an offset from the start of the block
08:33 idiosyncrat re https://irclog.perlgeek.de/marpa/2017-06-21#i_14765438 -- No, the "!" and "^" prefixes are *not* mandatory.  They are a convention I use for my own SLIF scripts, and are entirely optional and up to the tastes of the app developer.
08:40 ronsavage OK. In the case of http://irclog.perlgeek.de/marpa/2017-06-21#i_14765562 I'd suggest renaming one example in each section to indicate that.
08:41 ronsavage Re http://irclog.perlgeek.de/marpa/2017-06-21#i_14765555. Please expand the docs to say that.
08:44 ronsavage Under 'External scanning' the text 'It reads a <d> symbol externally, skips over the lexeme actually found in the physical input, and resumes internal scanning.' confused me. How about: It triggers the event called 'insert d', which the external scanner can use to read and return any text at that point. Then, internal resumes'.
08:45 idiosyncrat ronsavage: I've noted the doc ideas.  Thanks!
08:45 ronsavage Also, the docs says nothing about external scanning returning text which triggers events. Is such a thing impossible?
08:45 idiosyncrat I'll attend to them when I'm more awake.  (It's 2 AM here.)
08:46 idiosyncrat The external scanning methods lexeme_complete and lexeme_read can trigger events.  IIRC the docs point that out.
08:47 ronsavage 2am! Ahhh. I was wondering what time it was :-).
08:48 ronsavage Under 'Ambiguity', the link 'the example' leads nowhere.
08:49 ronsavage Linkwise under 'Tentative events'.
08:53 ronsavage Linkewise in 'Nulled forests'.
09:13 black_ant joined #marpa
15:03 black_ant joined #marpa
15:22 black_ant joined #marpa
17:06 idiosyncrat ronsavage: Doc fixes in commit ee77805
17:06 idiosyncrat Thanks!
17:24 black_ant joined #marpa
18:31 kaare_ joined #marpa
21:32 idiosyncrat left #marpa
22:41 ronsavage joined #marpa

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