Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-04-22

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

All times shown according to UTC.

Time Nick Message
00:27 jeffreykegler joined #marpa
03:16 ronsavage joined #marpa
12:24 jeffreykegler joined #marpa
12:26 jeffreykegler Marpa-R2 2.085_003 is up on CPAN.  It contains changes suggested by Jean-Damien's recent work: packaging changes and the deprecation of Libmarpa's "unvalued" symbols.
12:27 jeffreykegler Testing appreciated.  Thanks!
17:01 jeffreykegler joined #marpa
18:05 jeffreykegler Jean-Damien's recent work on a stand-alone Libmarpa release suggests another way of going forward with Marpa ...
18:05 jeffreykegler more modular and language-agnostic.
18:06 jeffreykegler We can think of Pienoir as 4 components:
18:06 jeffreykegler Libmarpa + a frontend (the SLIF) + a lexer (built into the SLIF) + semantics (Perl based)
18:06 jeffreykegler For the frontend, we can create a language-agnostic SLIF, with no lexer and which does not assume Perl semantics.
18:06 jeffreykegler For the semantics, we can use a C library, embed Perl inside Marpa,
18:06 jeffreykegler For the lexer, we can use Flex, clone the SLIF's lexer, etc.
18:06 jeffreykegler Pienoir would allow a user to chose the right combination of flexibility, power and speed for his app.
18:06 jeffreykegler I think it would also make it much easier for others to extend Marpa, or take it in different directions.
18:07 jeffreykegler For example, you could write your own frontend, if you don't like the Pienoir-standard one.
18:07 jeffreykegler Pienoir could be compiled to a library instead of a program,
18:07 jeffreykegler in which case it could put Marpa inside another language,
18:07 jeffreykegler or be a custom XS module (which may be something like Jean-Damien's current project)
18:07 jeffreykegler The name Pienoir is in the bovine tradition of naming parser generators: (yacc, bison, etc.)
18:07 jeffreykegler The Pienoir is a small black-pied cow native to my ancestral Brittany.
18:10 jeffreykegler To clarify, Pienoir is my outline of a "next Marpa::R2"
18:10 jeffreykegler I think it is pronounced something like pee-aye-nwah
19:08 jdurand joined #marpa
19:10 jdurand Re: http://irclog.perlgeek.de/marpa/2014-04-22#i_8623657 - why should the lexer built into the SLIF ?
19:11 jdurand "./.. be built ../."
19:12 jeffreykegler To put it more clearly, what I mean is that Pienoir = Libmarpa + frontend + lexer + semantics,
19:13 jeffreykegler where the equivalent of Pienoir's frontend is the SLIF DSL and its compiler;
19:13 jeffreykegler the equivalent of Pienoir's lexer is currently built in the XS layer as part of the SLIF; and
19:14 jeffreykegler and the equivalent of Pienoir's semantics is distributed between the XS layer and Perl itself.
19:15 jeffreykegler The point of Pienoir would be of course to make all this modular, and eliminate all the various tie-ins currently in Marpa::R2
19:15 jdurand Ok
19:16 jeffreykegler To answer http://irclog.perlgeek.de/marpa/2014-04-22#i_8624105 more directly -- in Pienoir, it probably should not be.

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