Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-09-26

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

All times shown according to UTC.

Time Nick Message
01:18 idiosyncrat joined #marpa
01:19 idiosyncrat Demat!
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
03:20 idiosyncrat Question!
03:21 idiosyncrat Right now the grammar and recognizer are named Marpa::R3::Scanless::G and
03:21 idiosyncrat Marpa::R3::Scanless::R
03:21 idiosyncrat This is a relic of the days of Marpa::R2 when there were multiple interfaces.
03:22 idiosyncrat In Marpa::R3 there's only one, so I could rename them Marpa::R3::SLG and Marpa::R3::SLR or
03:22 idiosyncrat Marpa::R3::Grammar and Marpa::R3::Recce.
03:22 idiosyncrat Good idea?
03:23 idiosyncrat And what your choice re the best name.
03:25 idiosyncrat Not, any change and I'll also change the new valuer object accordingly to Marpa::R3::SLV or Marpa::R3::Valuer
03:25 idiosyncrat etc.
04:02 ronsavage joined #marpa
05:38 ronsavage I like these name changes: Marpa::R3::Grammar and Marpa::R3::Valuer. But Recce has to be Marpa::R3::Recognizer, p-l-e-a-s-e. And not just for nice grammar reasons, but also because we write it perhaps a couple of times in the code per program, so it's not a drag.
07:20 ronsavage joined #marpa
12:32 koom joined #marpa
12:32 koom joined #marpa
18:00 idiosyncrat joined #marpa
18:01 idiosyncrat re https://irclog.perlgeek.de/marpa/2017-09-26#i_15216344
18:02 idiosyncrat I type Recce many dozens of time a day sometimes, so appreciate its brevity vs "Recognizer", but ...
18:02 idiosyncrat in fact I cut and paste a lot of these.
18:03 idiosyncrat ronsavage: So I will defer to your preference for "Recognizer", unless I hear to the contrary from others on this channel.
18:04 idiosyncrat So question, folks.  I will change Marpa::R3::Scanless::R to Marpa::R3::Recognizer unless folks prefer
18:05 idiosyncrat Marpa::R3::Recce
18:05 idiosyncrat But also, feel free to come up with other alternatives.
18:06 idiosyncrat ronsavage: Even having to type "Recognizer" 4 times *was* a pain, but anything for my loyal users!
18:19 idiosyncrat https://www.quora.com/Is-inheritance-bad-practice-in-OOP-Many-places-that-teach-design-patterns-say-to-opt-for-composition-over-inheritance-but-what-about-when-multiple-classes-share-logic-from-an-abstract-class-such-as-in-the-Template-Method-design-pattern/answer/Curtis-Poe
18:19 idiosyncrat Above is a useful discussion of OO from Curtis Poe.
22:07 koom joined #marpa
22:23 ronsavage joined #marpa
22:32 ronsavage JK: So what you /really/ need is an editor with a macro facility, so you can store that string in a key. For UltraEdit I use Ctrl-C, Ctrl-V like other editors, but UltraEdit also has 10 buffers for strings, and has macros too.
22:50 ronsavage JK: In https://www.nntp.perl.org/group/perl.perl5.porters/2017/09/msg246476.html there is a regexp containing set arithmetic. Have you seen any BNF which deals with such cases?

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