Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-07-13

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

All times shown according to UTC.

Time Nick Message
00:39 ronsavage jeffreykegler: After watching the Lua talk I'm intrigued by the similarity of LPEG and SLIF. It's a great and hence promising match. Is it coincidental? (Perhaps you've discussed this before).
01:32 jeffreykegler joined #marpa
04:35 ronsavage joined #marpa
04:43 ronsavage I should clarify my question: Did you know of Lua /before/ designing SLIF?
04:45 jeffreykegler ronsavage: Sorry for the delay, I messed up my backlogging.
04:45 jeffreykegler Before designing the SLIF I only knew vaguely about Lua.
04:47 jeffreykegler And I don't think there's that strong a resemblance between LPEG and the SLIF ...
04:47 jeffreykegler the appearance that there is I think comes from the fact that
04:47 jeffreykegler 1.) We're addressing the same problem domain; and
04:48 jeffreykegler 2.) We've both studied the same sources.  Roberto clearly knows, and has a deep understanding of, parsing theory.
04:50 jeffreykegler It may take some background to see this, but Roberto's approach to PEG is quite different from the usual.  Most PEG users try either to use it as a parser, or else are unclear as to whether they are doing pattern recognition (aka lexing) or parsing.
04:51 jeffreykegler Roberto positions LPEG as a kind of super-lexer.
04:51 jeffreykegler In SLIF terms, LPEG is aiming to replace L0, not G1.
04:52 jeffreykegler Short term, I don't plan to use it for either, but it might be an interesting alternative lexing strategy down the road.
04:54 jeffreykegler The SLIF comes out of a decades-long heritage of syntax-driven parsers.  Its more immediate inspirations were Peter Stuifzand's prototype, and Perl 6.
07:16 ronsavage OK. Thanx for the info.
15:43 jeffreykegler joined #marpa
19:02 jeffreykegler joined #marpa
22:17 jeffreykegler joined #marpa
22:44 ronsavage jeffreykegler: "And I don't think there's that strong a resemblance between LPEG and the SLIF ..." I should have said I see a resemblance between the LPEG /syntax/ and SLIF.
22:45 jeffreykegler I don't think I'd heard of LPEG when I was writing the SLIF.
22:47 jeffreykegler One of the first things Kollos will have -- even before many SLIF features are ported over -- is a new version of the SLIF syntax, adapted to Lua.  I hope folks will find that interesting.
23:43 ronsavage I'm looking forward to it. Of course, I do expect strong traces of the old syntax to be visible in the new syntax.

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