dustinian.com: Text Transformation Language 

Text Transformation Language

Summary

Downloads

Instructions

  1. Using the syntax below, enter your commands into a plain-text file.
  2. Run ttl.exe; use the command-line parameters to tell the interpreter where to find:
    • The command file
    • The input file(s)

Sample Command-Lines

Interact

Syntax

Use the below commands to transform your input text into your output text.

Exact Text:

Exact Text between Preceding and Anteceding Text

Text based on Preceding and Anteceding Text

Advanced

Modules

Use the below command to include a separate file of TTL commands into your current script.

ASCII

Chr

Use the "CHR()" operator to look for characters that you can't easily type into an ASCII TTL file.

Tokens

Use tokens to stand in for commonly-used CHRs, and to make your TTL more readable. Tokens must appear OUTSIDE quotation marks to be interpreted correctly.

Token Chr
TAB 9
NEWLINE 10
CARRIAGERETURN 13
LINEBREAK 13 + 10
QUOTE 34

Concatenation

Use the "+" or the "&" characters (no difference in functionality) to concatenate multiple sub-strings into a single string in a TTL command.

Quotation Marks

Quotation marks tell TTL that everything inside the quotation is a sub-string. TTL does NOT parse text inside quotation marks for TTL Commands or Tokens.

Revision History

Planned Enhancements

Major

Minor

Sample Files

License (GNU GPL3)

Text Transformation Language is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Text Transformation Language is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: http://www.gnu.org/licenses/.