Re: Java 8 Parser

2017-05-01 Thread Durand Jean-Damien
écrit : > > Hello, > > I'm very new to Marpa but, from its description, it looks extremely > awesome. > > I'm also done playing with the beginner's example of the expression > calculator; was also able to make small changes to it. So far, so good. > > However, now, I'm t

Re: Java 8 Parser

2016-10-17 Thread Ruslan Shvedov
Great, thanks. BTW, s/How to I/How do I/ on both. I'd file a PR, but couldn't find those entries at https://github.com/ronsavage/marpa.faq -- missing something perhaps. On Tue, Oct 18, 2016 at 3:12 AM, Ron Savage wrote: > Using this material, I've added 2 new questions to

Re: Java 8 Parser

2016-10-17 Thread Ron Savage
Using this material, I've added 2 new questions to the FAQ: http://savage.net.au/Perl-modules/html/marpa.faq/faq.html. Nos 144 and 145. -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails

Re: Java 8 Parser

2016-10-17 Thread Ruslan Shvedov
On Thu, Oct 13, 2016 at 6:00 PM, Harry wrote: > > 1. Keyword vs Identifier: > http://stackoverflow.com/questions/27109840/marpa-can-i-explicitly-disallow-keywords-as-identifiers https://gist.github.com/rns/d19b40ffc5523659dec9 -- events can be used to analyze the string

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

Re: Java 8 Parser

2016-10-13 Thread Jeffrey Kegler
'm also done playing with the beginner's example of the expression >> calculator; was also able to make small changes to it. So far, so good. >> >> However, now, I'm trying to write a Java 8 Parser using the grammar >> published here: >> https://docs.oracle.com/javase/

Re: Java 8 Parser

2016-10-13 Thread Jeffrey Kegler
Marpa but, from its description, it looks extremely > awesome. > > I'm also done playing with the beginner's example of the expression > calculator; was also able to make small changes to it. So far, so good. > > However, now, I'm trying to write a Java 8 Parser using the gram

Java 8 Parser

2016-10-13 Thread Harry
Hello, I'm very new to Marpa but, from its description, it looks extremely awesome. I'm also done playing with the beginner's example of the expression calculator; was also able to make small changes to it. So far, so good. However, now, I'm trying to write a Java 8 Parser using the grammar