Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-03-02

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

All times shown according to UTC.

Time Nick Message
00:01 jeffreykegler joined #marpa
03:16 jeffreykegler1 joined #marpa
03:40 jeffreykegler joined #marpa
07:46 LLamaRider joined #marpa
19:46 jdurand joined #marpa
19:49 jdurand Jeffrey, I was thinking to the multiple lexers things, and there is one case that is perhaps not adressed with it: when a grammar is supposed to interleaved with anything that has no grammar
19:50 jdurand in such a case I wonder if the solution is not simply to allow to have an action on the :discard, since only :discard will be able to catch something that has no particular grammar, isn't it
20:05 jeffreykegler joined #marpa
20:06 jeffreykegler jdurand: re http://irclog.perlgeek.de/marpa/2014-03-02#i_8372647 -- Something similar can be accomplished using "pause before lexemes"
20:07 jeffreykegler That is, you define a lexeme and pause before it.  Then for its action you just "space" past it without reading a lexeme.
20:07 jeffreykegler In effect you have defined your own discard symbol, with its own action.
20:14 jdurand jeffreykegler: ah, yes - thanks -;
20:14 jdurand For the fun, I have writen the grammar of MOF Model to Text Transformation Language -; c.f. http://www.omg.org/spec/MOFM2T/1.0/
20:15 jdurand Highly ambiguous, but works - a good application for AST, since the prcedence seems to contextual
20:16 jdurand ASF I mean
20:18 jdurand Well highly ambiguous is my fault at first glance... looking into that -;
22:13 ronsavage joined #marpa

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