Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-07-01

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

All times shown according to UTC.

Time Nick Message
00:05 idiosyncrat Demat!
00:40 ronsavage joined #marpa
00:41 ronsavage JK: Re: http://irclog.perlgeek.de/marpa/2017-06-30#i_14807330. Thanx, but that's why I had my known_events() cross-checker, so in theory I didn't ever fall for that one.
00:44 ronsavage JK: I've realized I might have a problem with my minimal changes to the old grammar. Your Events.pod page has grammars with explicit event declarations like:
00:44 ronsavage event A = completed A
00:45 ronsavage Let's call them stand-alone declarations. My grammar didn't ever have them and I did not add them for the re-write. All I changed was the lexemes, thus:
00:45 ronsavage :lexeme  ~  number  pause => before event => '"number"'
00:46 ronsavage Could that cause issues with the new code?
00:46 ronsavage Oops. Your new code.
01:22 idiosyncrat ronsavage -- re https://irclog.perlgeek.de/marpa/2017-07-01#i_14811567 -- that's how a lexeme event has to be declared, and there *are* examples of them in Events.pod
01:22 idiosyncrat One question -- in
01:22 idiosyncrat event => '"number"'
01:24 idiosyncrat there's a lot of quote marks -- is that an artifact of the copy&paste?  cuz it comes out as 3 sets of single quotes
01:25 idiosyncrat Hmm -- in the backlog it comes out as double quotes inside single quotes, which IIRC might be one of my conventions for indicating lexeme events.
01:28 idiosyncrat "Pause before" events can be tricky because they trigger at a different location from the event location.  I cleaned up the documentation and some of the default behaviors wrt these, and some of these cleanups may not have been 100% backward compatible.
01:49 ilbot3 joined #marpa
01:49 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
01:49 ronsavage Oops. AFK.
01:51 idiosyncrat Yes, you can drop the inner quotes.  I use various conventions to remind me of the type of event and the double quotes IIRC are one of those.  They're strictly a mnemonic, part of the name, with no special semantic effect.
05:41 kaare_ joined #marpa
06:38 sirdancealot joined #marpa
07:28 ronsavage joined #marpa
07:40 ronsavage JK: OK. Consider them dropped.
07:50 ronsavage JK: Success :-))))).. I changed pause => before to pause => after. So now a new q: Since my one and only event handler ('default) always returns 'ok',  why does your code not handle pause before by automatically resuming internal scanning and skipping the lexeme which triggered the handle, and hence produce the same result as pause after? I've just scanned the docs looking at all references to pause and resume, and they say nothing about th
07:51 ronsavage The log bot chopped the last sentence: and they say nothing about this, apart from under 'External scanning', where it says 'the app resumes internal scanning.'.
08:15 kaare_ joined #marpa
09:03 kaare_ joined #marpa
09:16 kaare__ joined #marpa
10:36 ronsavage joined #marpa
16:58 idiosyncrat ronsavage: re https://irclog.perlgeek.de/marpa/2017-07-01#i_14812201 -- Congratulations!
16:59 idiosyncrat Interesting point re "pause before" and handlers which return "ok".  Returning "ok" in a "pause before" handler seems of little (no?) use, and is most likely a mistake.
16:59 idiosyncrat Perhaps I should make it a fatal error, with a helpful message?
20:05 sirdancealot joined #marpa
20:46 ilbot3 joined #marpa
20:46 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
23:33 idiosyncrat joined #marpa

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