... presents a simple compiler, which passes its entire parse tree as a single deeply structured data object to the template engine for code generation.
All you have to do is copying the wrapper script somewhere into your Octave search path and adjusting the Java class path such that the StringTemplate jar and all of your template files are found. Now, running the template expansion is one simple Octave command looking like:
txt=st4Render(groupFile, template, attribute, value, attrib2, val2, ..)