Yep, interesting read, thanks for sharing.
On Mon, Jan 27, 2014 at 12:35 AM, Durand Jean-Damien < [email protected]> wrote: > FYI I was reading http://www.unicode.org/reports/tr18/ - less easy to > understand but well -; > > Le samedi 25 janvier 2014 19:51:23 UTC+1, rns a écrit : >> >> Looks good. I'll certainly have to steal from there. Thanks for pointing >> me to it. >> >> On Sat, Jan 25, 2014 at 8:40 PM, Durand Jean-Damien < >> [email protected]> wrote: >> >>> Then you might like my >>> implementation<https://github.com/jddurand/MarpaX-Languages-ECMAScript-AST/blob/master/lib/MarpaX/Languages/ECMAScript/AST/Grammar/ECMAScript_262_5/Lexical/RegularExpressionLiteral.pm> >>> - >>> the only subtility in this simple grammar is that I use these >>> user-defined character >>> classes<https://github.com/jddurand/MarpaX-Languages-ECMAScript-AST/blob/master/lib/MarpaX/Languages/ECMAScript/AST/Grammar/CharacterClasses.pm> >>> . >>> >>> Le samedi 25 janvier 2014 19:26:59 UTC+1, rns a écrit : >>>> >>>> Thanks Jean Damien! I've already found a couple of some similar but >>>> this one is very clear. >>>> >>>> >>>> On Sat, Jan 25, 2014 at 8:24 PM, Durand Jean-Damien < >>>> [email protected]> wrote: >>>> >>>>> Note that a startup can be the ECMAScript pattern >>>>> specification<http://www.ecma-international.org/ecma-262/5.1/#sec-15.10.1> >>>>> - >>>>> ECMAScript implements a very low subset of perl regexp pattern, but it >>>>> shows quite well how such a grammar should be structured. >>>>> >>>>> Le samedi 25 janvier 2014 18:59:06 UTC+1, Jeffrey Kegler a écrit : >>>>> >>>>>> I like the idea. Regular expressions, as parsed using >>>>>> special-purpose regular expression engines, will always survive, because >>>>>> of >>>>>> the speed. But a lot of things people do with regular expressions would >>>>>> benefit from more power. -- jeffrey >>>>>> >>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "marpa parser" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "marpa parser" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "marpa parser" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
