a Java-friendly regex scripting language (not Groovy)

P

p7eregex

Hi,

I have built a new scripting and regex engine whose intent from the
beginning has been to allow Java programmers to compete on an equal
footing with Perl programmers when it comes to solving problems that
require regular expressions.

The language is called P~ (ptilde) and is Java-friendly for the
following reasons: (1) its basic grammar is more Java-like than
Groovy's. (2) as a standalone scripting application, you can put
finished Java libraries into the classpath of the script launcher and
use any public class therein (with an import statement) just like you
would in Java. (3) But its regex grammar is not meta-character based,
it is algebraic in nature and allows you to compose more powerful and
readable regexes than even Perl, having introduced side-effects that
go far beyond those of any other regex engine. (4) Once you have
debugged your scripts (and there's a tool to debug the matching
behavior of your regexes), you can call these scripts from your Java/
J2EE application, passing the scriptlet arguments, and optionally
returing a result to the Java caller.

Java shops that need to solve tough match/query/transformation
problems (too hard for java.util.regex) need not outsource to a Perl
programming team, and can even integrate the solution directly into
the Java application, in-process.

http://ptilde.pbwiki.com

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top