Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-10-23

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

All times shown according to UTC.

Time Nick Message
00:30 jeffreykegler joined #marpa
00:31 jeffreykegler ronsavage, jdurand: Thanks for explaining.
00:31 jeffreykegler re Moo/Moose, that is.
00:53 jeffreykegler As promised long ago, the first of a set of minor tweaks to my "Parsing Timeline: http://jeffreykegler.github.io/Ocean-of-Aw​areness-blog/individual/2014/09/chron.html
00:54 jeffreykegler There's a new 1979 entry, covering V7 UNIX.  I've also added a timestamp, to track the revisions.
00:55 jeffreykegler I don't plan to update the blogs.perl.org version.  Once my version on my blog is stable, I'll suggest it to Ron for the Marpa website.
00:56 jeffreykegler The 1979 entry was my way of dealing with a problem -- some readers felt at sea with there being no direct mention of yacc:
00:57 jeffreykegler I mentioned LALR *a lot*, but most people know the algorithm by the name of its most traditional implementation, yacc.
00:58 jeffreykegler Trouble is, it's hard to fix a precise date for yacc, which apparently gradually took shape over a period of years.
00:59 jeffreykegler So to keep with the timeline format, which prefers specifically date-able events, I describe the V7 Unix release, which is very important for a lot of reasons, not the least of those being that it was the first chance for most folks to get their hands on yacc.
01:26 ronsavage joined #marpa
01:33 ronsavage jeffreykegler: That's a good update to the "Parsing Timeline". I'd feel happier if there was just 1 mention of flex/bison. I've never used them, but I think the names would help orientate people in a simple and quick way.
01:37 ronsavage asb: jdurand makes an important point. Since you tell Marpa::R2::Scanless::R -> new(...) which namespace to use for your actions (or you can use 'main'), that tells Marpa which class-like module code to scan looking for new(). Marpa's docs, and many gists you'll see here, don't do that, since they are deliberately simplified code, written to make a point.
01:40 ronsavage If you're talking of many actions, you'll soon realize that isolating the action subs into their own namespace is a marvellous idea. That means you can add subs not called by Marpa, which are used to assist the subs which are. I used to always do that. These days, I'm using 'pause' rather than action, and calling Marpa's read() method in a loop. For that...
01:41 ronsavage See MarpaX::Demo::StringParser line 396. Then I use the name of the triggered event to branch. Action subs attach a sub name to a rule, and use Marpa to do the branching.
01:45 ronsavage With pauses then, there is no class-like package. All code is in 1 file, and Marpa does not attempt any search for new(). You have a choice.
01:48 ilbot3 joined #marpa
01:48 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Pastebin: http://scsys.co.uk:8002/marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today
05:12 ronsavage joined #marpa
06:07 lwa joined #marpa
06:19 lucs joined #marpa
15:41 jeffreykegler joined #marpa
18:20 jeffreykegler joined #marpa
19:55 flaviu joined #marpa
20:09 flaviu joined #marpa
20:49 ronsavage This Perl 5 Porters msg is interesting, given Jeffrey's comments on a BNF for regexps: http://www.nntp.perl.org/group/perl.​perl5.porters/2014/10/msg221523.html
23:13 flaviu joined #marpa
23:20 jeffreykegler joined #marpa
23:21 jeffreykegler ronsavage: re http://irclog.perlgeek.de/​marpa/2014-10-23#i_9557055 -- indeed, it does look interesting.
23:22 jeffreykegler And, based on the new features I've just added to Marpa::R2, there's now some other enticing "low hanging fruit" projects that I'll talk about.
23:24 jeffreykegler But I'm hoping to persuade Marpa's C-literate volunteers to spend as much time as possible on Kollos -- I think it's a project which might be remembered for some time to come, and it's a chance to have your code be the basis of it.
23:30 flaviu joined #marpa
23:47 ronsavage joined #marpa

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