Re: Best way to get a PCRE6 on the JVM?

2016-09-29 Thread Joachim Durchholz
Am 29.09.2016 um 21:41 schrieb Patrick R. Michaud: On Thu, Sep 29, 2016 at 01:30:29PM +0200, Joachim Durchholz wrote: Can you tell me where the sources for the regex engine live? At the detailed-technical-spec level, I found S05, and I can find the NQP spec, but I don't know my way around the

Re: Best way to get a PCRE6 on the JVM?

2016-09-29 Thread Patrick R. Michaud
On Thu, Sep 29, 2016 at 01:30:29PM +0200, Joachim Durchholz wrote: > Can you tell me where the sources for the regex engine live? At the > detailed-technical-spec level, I found S05, and I can find the NQP spec, but > I don't know my way around the interpreter sources yet. The regex engine lives

Re: Best way to get a PCRE6 on the JVM?

2016-09-29 Thread Joachim Durchholz
Am 28.09.2016 um 15:21 schrieb Will Coleda: To start with, there isn't a PCRE6. Good to know, then this is indeed the right list to discuss this. If you want, more generically, to be able to use Perl 6 Regular Expressions in Java, you can build a rakudo that runs (with reduced functionality)

Re: Best way to get a PCRE6 on the JVM?

2016-09-29 Thread Joachim Durchholz
Am 28.09.2016 um 15:46 schrieb Patrick R. Michaud: A simpler approach might be to build an NQP that runs on the JVM, Sounds reasonable, given NQP's position in the toolchain. Not sure what you mean with "build an NQP" - a compiler, a runtime, both, something else? > and find a way to call

Re: Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Patrick R. Michaud
A simpler approach might be to build an NQP that runs on the JVM, and find a way to call into it. (The Perl 6 regular expression engine is written in NQP.) Pm On Wed, Sep 28, 2016 at 09:21:50AM -0400, Will Coleda wrote: > To start with, there isn't a PCRE6. > > If you want, more generically,

Re: Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Will Coleda
To start with, there isn't a PCRE6. If you want, more generically, to be able to use Perl 6 Regular Expressions in Java, you can build a rakudo that runs (with reduced functionality) on the JVM. I'm not sure there's a way at this point to call into the Perl 6 code from arbitrary Java code,

Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Toolforger
Hi all, title says it all: I have a use case for a Perl6 PCRE on the JVM. Sorry for wasting your time if such a thing already exists; if no, I'd like to discuss strategies how to best do that. Thanks in advance! Jo