Monday, March 06, 2006

Awk with Java

Jawk is an Awk implementation written in Java. It also augments Awk
such that Awk scripts can access Java services, such as Threads,
Sockets, etc. Java 1.5 is required. Go to
http://www.sourceforge.net/projects/jawk to download the executable jar
file (jawk.jar).

Jawk is a combination of Awk and Java such that Awk scripts can utilize
Java services. That is, you may now contruct Awk scripts
- that have GUI front ends (via AWT or Swing).
- that can connect to servers via Sockets.
- that can utilize Java Security libraries.
- that can access databases via JDBC.
- that are multithreaded.

This is all achieved with a natural expansion of Awk syntax and
semantics, along with some additional keywords and operators. However,
the overall flavor of the scripts are still Awk.

Jawk implements as much of Awk as it can. I tried keeping it in line
with Awk standard set forth by The Open Group
(http://www.opengroup.org/onlinepubs/007908799/xcu/awk.html).

Go to http://jawk.sourceforge.net/ and click on Overview for more
information.

No comments: