-- Download TextComposerLib as PDF --


TextComposerLib is a set of .NET classes and interfaces specifically designed for structured text generation. The most important kind of text generation is the composition of software code from a suitable data source. TextComposerLib contains many integrating classes to implement structured text generation tasks using various methods of procedural composition of text; ranging from simple text concatenation to complex code library construction. For detailed information see the TextComposerLib Guide on this site. You can download a full-featured 21-days trial version and buy a license for extended use as described below.


Buy License








Buy A TextComposerLib License:


You can download a full-featured 21-days trial version of TextComposerLib as described below. If you like, you can buy a license to use TextComposerLib for a specific time (6, 12, or 24 months) or buy a license to use TextComposerLib for unlimited time. The license is tied to a single computer and depends on the Hardware Signature ID of the computer. To Buy a license of your choice please follow these simple steps:

  1. Download the 21-days trial version from below.
  2. Download and extract the Computer Hardware ID Signature Generation tool (HID.exe) from here.
  3. Run the HID.exe tool to read and generate the hardware ID of your computer.
  4. Go to the TextComposerLib license page to buy a license of your choice (a 6, 12, 24 months license or unlimited license).
  5. On checkout, you will be asked to enter the hardware ID.
  6. After completing the payment successfully, you will receive an e-mail within 24 hours containing the license file that you can put with your copy of TextComposerLib.dll file to fully activate it.

TextComposerLib Features:


  • A wide range of structured procedural text composition methods adopting the Linq to objects capabilities of the .NET framework.
  • Simple text composition by concatenation of lists of strings as extension methods.
  • Text composition from common data structures like stacks, queues, and priority queues.
  • Text composition from string mappings and transforms for more complex applications.
  • Linear text composition component resulting in well-formatted text documents including indentation management and precise selection of each line of text in the final document.
  • Template-based text composition using parametric substitution text templates. This is one of the more common methods of code generation.
  • A component of text injection inside a bulk of mostly-fixed text document. This is suitable for code injection within marked regions in the code file.
  • The composition of text from expression trees suitable for creating un-parsers (systems that can generate text by visiting a tree-like structure). This is a key component in source-to-source compilers like GMac.
  • A powerful composition component for creating text files nested inside arbitrary directories. This component can be used with other components to create any desired structure of text files or code files.
  • A powerful logging component capable of reporting events and progress of long-running computational processes at any desired level of detail including errors, warnings, start and end of intermediate steps, etc.
  • A full-featured .NET wrapper for the GraphViz graph visualization software. This component includes a powerful AST representation of GraphViz dot code that can procedurally create graphs, nodes, edges, subgraphs, and clusters, in addition to managing all their properties and attributes using managed .NET properties and methods. The component also includes a simple to use interface for rendering the generated graph from within the TextComposerLib itself provided the executable GraphViz is present on the same computer.
  • A capability for creating full libraries of structured code text documents using a well-designed code library generator base class. This class can be inherited to implement arbitrarily complex code library generators for any application including source-to-source compilers like GMac.

TextComposerLib Requirements:


To use TextComposerLib you need to have a Windows 7 or later operating system and the .NET Framework version 4.0. You naturally need a .NET development environment like Visual Studio 2010 or later to use TextComposerLib in your .NET projects.

TextComposerLib Downloads:


You can download a full-featured 21-days trial of the latest TextComposerLib version from here:

Download “TextComposerLib” TextComposerLib-v1.0.2.zip – Downloaded 61 times – 2 MB


You can download a Visual Studio 2015 samples project to explore and learn TextComposerLib features from here:

Download “TextComposerLib Samples” TextComposerLibSamples-2016-12-29.zip – Downloaded 31 times – 39 KB

After downloading the compressed files just expand it inside a folder of your choice, open the solution in Visual Studio 2015, add references to the following DLLs and run the solution:

  • TextComposerLib.dll
  • FastColoredTextBox.dll
  • Irony.dll
  • Irony.Interpreter.dll

TextComposerLib FAQ: