Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-09-11

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

All times shown according to UTC.

Time Nick Message
01:15 jeffreykegler I just uploaded Marpa-R2-2.092000 -- it an indexed release, devoted to a single bugfix.
01:15 jeffreykegler The $slr->lexeme_read method & friends were not clearing events properly.  Now they do.
01:16 jeffreykegler Testing appreciated!
02:44 jeffreykegler joined #marpa
03:26 ronsavage joined #marpa
03:30 ronsavage Marpa::R2 V 2.092. Test statistics:
03:30 ronsavage Fails: 0. Files: 283. Modules: 6. Passes: 6. Tests: 283.
03:30 ronsavage Duration: 31 seconds
03:31 jeffreykegler ronsavage: thanks!
04:44 rns joined #marpa
04:44 rns Marpa-R2-2.092000 Built, tested and installed just fine and works ok for me under windows xp (5.18.1, cl/nmake) and cygwin (5.14.2, gcc/make).
08:05 jeffreykegler joined #marpa
08:06 jeffreykegler rns: Thanks!
08:07 jeffreykegler Over the past two days, 15,000 people have visited my Marpa website -- and again, this number does not include visitors to my posts on blogs.perl.org, or to Ron's website.
08:09 jeffreykegler As expected, the rate of visitors slowed steadily into yesterday, but it has now increased again.to around 600 an hour.
08:18 rns That's great! Telling a story, which is both interestng and useful, is the best marketing. Congratulations parsing thankls to Marpa. Can't wait to read the next installment (tools, I think).
08:19 rns s/Congratulations parsing thankls/Congratulations. Parsing becomes a hot topic again thanks/, sorry
08:20 jeffreykegler rns: I don't really plan a tools followup
08:21 jeffreykegler Another new Marpa reddit thread: http://www.reddit.com/r/programming​/comments/2g1mww/the_marpa_parser/
08:22 jeffreykegler I note that someone one it says they actually started a Python port, but gave up because when they realized how low-level Libmarpa is -- that it's a lot more than wrapping some subroutines calls.
08:22 daxim http://paste.scsys.co.uk/422827?tx=on  #  how do I express this in DSL? I want to allow most varnames, but exclude some reserved words.  what's the syntax for this?
08:25 jeffreykegler daxim: http://search.cpan.org/~jkegl/Marpa-R2-​2.090000/pod/Scanless/DSL.pod#priority
08:26 jeffreykegler You can give the reserved lexemes a higher or lower priority to distinguish them from varnames in general.
08:26 jeffreykegler That's one approach.
08:27 jeffreykegler judrand: in your C and ECMAScript compilers, did you take another approach?
08:29 jeffreykegler Returning to dacjames (the reddit user who started a Python port of Marpa), I think perhaps more might happen if folks formed teams, or collaborated ...
08:30 jeffreykegler but I do realize a lot of the motivation is the fun and glory, which can be maximized in solo work.
08:30 jeffreykegler It's 1:30 California time, so I'd better go.
08:30 jeffreykegler AFK
08:48 rns left #marpa
08:49 rns joined #marpa
08:52 lwa joined #marpa
09:17 rns daxim: re http://paste.scsys.co.uk/422827?tx=on — this looks like valid L0 rules in Marpa::R2 SLIF DSL as it is.
15:33 rns left #marpa
16:16 jeffreykegler joined #marpa
16:25 jeffreykegler Anybody notice this in some of the responses?
16:26 jeffreykegler It's typical to discuss only RecDescent or only LALR, and call it "parsing", as if no other approach existed.
16:27 jeffreykegler If you write a document that discusses both, it'll be called a "comprehensive survey".
16:27 jeffreykegler Add coverage of Earley's and it will be called "selective" and "one-sided"
16:32 Aria Wat!
17:15 lwa joined #marpa
17:36 jdurand_ joined #marpa
17:38 jdurand_ Re http://irclog.perlgeek.de/​marpa/2014-09-11#i_9334469 - priority. The easiest translation is from .lex. Per def, in a lex file, the priority is the order of appearance. That's why C grammar has priorities that start at -1, then -2, etc... For ECMAScript, all reserved keywords has the same priority of 1, except for the 'function' keyword that has even a higher priority of 2
17:40 jeffreykegler daxim: I think judrand
17:41 jeffreykegler 's just above was in response to your question.  Esssentially, he uses lexeme priorities, sometimes auto-generating them.

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