a Java-friendly regex scripting language (not Groovy)



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
.



Relevant Pages

  • Re: java script issue
    ... You already have the answer to your question "enable Javascript" on your PC. ... should see radio buttons marked as Scripting-Active Scripting and the enable ... 'Enable Java Script'. ... legal dispute directed at Microsoft. ...
    (microsoft.public.windowsxp.help_and_support)
  • [ANN] Scriba - A scripting/prototyping environment for Java
    ... Scriba is a software prototyping environment for the Java platform. ... system and it supports scripting with any dynamic language endowed ...
    (comp.lang.java.programmer)
  • Re: Applet started - then i lose my internet connection
    ... AFAIK, applets involve Java, not scripting, but: ... You might want to refresh your scripting engine: ... >> Please respond in Newsgroup only. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Scripting engine?
    ... so that they can perform complex actions that I can ... since "Java scripting" just turns up heaps of articles about JavaScript. ... Attempted to automate compilation is dangerous because compilation could ...
    (comp.lang.java.help)
  • a Java-friendly regex scripting language (not Groovy)
    ... 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 ...
    (comp.lang.java.softwaretools)