Re: Java 8 Parser

2016-10-15 Thread Paul Bennett
On Oct 15, 2016 13:01, "Jeffrey Kegler" wrote: > > Re #4, why not implement Perl regexes? A full syntax of Perl regexes is gruesomely complex, and much of it is symptoms rather than features. Somewhere deep within perldoc there's a howto on making your own \p{}

Re: Java 8 Parser

2016-10-15 Thread Jeffrey Kegler
And here's another tutorial with a short example of external lexing: http://jeffreykegler.github.io/Ocean-of-Awareness-blog/individual/2013/06/mixing-procedural.html On Sat, Oct 15, 2016 at 4:12 AM, Harry wrote: > Thanks, Jeffrey, for your responses. > > I've gone through

Re: Java 8 Parser

2016-10-15 Thread Jeffrey Kegler
Re #4, why not implement Perl regexes? A full syntax of Perl regexes is gruesomely complex, and much of it is symptoms rather than features. But some of the features *are* useful, including eager matching, which is what your example depends on. The obstacle is that Perl regexes are

Re: Java 8 Parser

2016-10-15 Thread Harry
Thanks, Jeffrey, for your responses. I've gone through the documentation of Marpa::R2::Scanless::R but it's not becoming fully clear how to 'connect' the external lexing routine of mine to Marpa's built-in G1 parser. I've