This is the Linux app named StringTemplate-for-Octave whose latest release can be downloaded as StringTemplateV4ForOctave.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named StringTemplate-for-Octave with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
StringTemplate-for-Octave
Ad
DESCRIPTION
This project provides a generic interface for GNU Octave with Terence Parr's popular StringTemplate V4 template engine; MATLAB is supported, too.
The concept is simple. An Octave script wraps your data in suitable Java collections, so that deeply nested data structures can be passed to the template engine just like that - and without the need for a compiled Java interface class, as it would when directly building on Octave's generic Java interface to access StringTemplate.
A major sample 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, ..)
Features
- Octave extension
- M scripting
- StringTemplate V4
- Text processing
- Code generation
This is an application that can also be fetched from https://sourceforge.net/projects/stringtemplate-for-octave/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.