smarty4j (Java template engine) v1.0.0
v0
smarty4j is a template engine for smartyforjava. This engine transplants the smarty template from php and requires asm-3.0.jar.
smarty4j parses the text into a syntax tree, and then generates JavaCode bytecode based on the syntax tree, which is equivalent to a compiler based on JVM's smarty syntax. The syntax tree is generated sequentially using left-order traversal. The rough syntax nodes include two basic types: statements and expressions. Statement nodes can ensure that there is no new data pushed into the JVM statement stack after execution, while expressions The formula node will generate a data.