Text Assembler

Text Assembler (TA) is a generic text/macro processor which takes a text file(s) as input and assembles them into an output text file(s). It does this by parsing the text, executing scripts and writing the result into an output stream buffer. This buffer can then be saved to disk.

Any non-trivial text generation job is invariably going to need sequence, selection and iteration constructs. Rather than implement a custom language for text generation logic, the open source Google V8 JavaScript Engine has been integrated into the assembler. This allows full use of the ECMAScript® Language as defined in the ECMA-262 standard.

Standard JavaScript string variables can be defined and used to perform simple macro replacements. For more complex text generation tasks, a JSON data model can be loaded and used in conjunction with JavaScript code to generate the desired output.

TA is actively used to generate HTML websites (including this one), but it can also be used to generate any other kind of text file, for example CSV or even JavaScript files. In fact I also use it to generate invoices and emails too.

Like all software, TA is a work in progress. If there's a feature you need, or you find a bug, or you have any other ideas for improvement, please let me know.

Downloads

The binary is for 32/64-bit windows. It's free for anyone to use without restriction.

BinaryMan PageSynopsis
ta.exe ta.pdf A powerful text/macro processor that incorporates the google V8 JavaScript engine



THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.