TemplateScript is a template library used to generate complex textual output from simple Java code. The library is currently being used to develop a web-based communications framework and a Java precompiler. - Separate the creation of Java code from the design of its output. - Precompiler-like directives that stand out in the templates. - The output can be formatted *exactly*. - Dynamically typed, Java-based language used in the template is easy to handle. - Configurable parser to avoid conflicting with the data that will be parsed. - Free, open-source, and developing quickly. TemplateScript version 0.5 is available from <wolfe-works.hypermart.net/templatescript> under the GNU LGPL. This is a beta version, but has undergone internal testing, and seems reliable. Sample of an HTML template: <HTML> <HEAD><TITLE>TemplateScript Demo: $title;</TITLE></HEAD> <BODY> <A HREF="\ #if client_java_version >= 1.1 somewhere_with_applets\ #else somewhere_without_applets\ #endif .html">Click here to Enter</A> </BODY> Sample of a Perl template: #pragma variableChar = '~'; #execute grabbed = "parsed instead"; my $zapped = 'overwritten'; print "This would normally be $zapped by the parser\n"; print "but, with the #pragma, this part will get ~grabbed;"; Cheers, Chris ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
