资 源 简 介
About
Project is built on Java and jython mashup to extend StringTemplate library functionality (popular among `ANTLR` community) and bring to it the power of python language, which can turn out to be quite handy. The aim is to build a library that can support and successfully implement interfaces like `StringTemplate` and `StringTemplateGroup` as `PyTemplate` or `PyTemplateGroup` for further interaction with code in jython, and even reverse inter-operation with common string templates (i.e. accessing a certain StringTemplate from jython code).
Installation
Download and install latest jython
Download StringTemplate .jar (version 3.2.1)
Finally, get the latest pylates.jar and put them all together in shared java classpath
Usage
Many use cases can be