Generate or convert text, programs, documents, or reports of any format or language
What can you do with the universal text generator? What is UniT?
What are the advantages of using UniT? Advantages
Frequently asked questions FAQ
How to install and start UniT Installation
How to program templates with the universal text generator How to use it
How to use the UniT interpreter with Java API
Things that might come in near future To Do
I appreciate comments Guest book
Nice stuff Credits & Links
Read license & download here License

What are the advantages compared with other technologies?

  • The main advantage of UniT compared with any other generators is, that UniT is much more generalized. It is designed to generate any kind of text. It is a Universal Text generator.
  • UniT can be executed independently from HTTP client requests, and its output can be directed to any target, i.e., it can be used to easily generate any text format without requesting a server such as a JSP-engine.
  • UniT can do everything that other programming languages can do, but there are fewer language constructs, which makes UniT much easier to read and to learn.
  • UniT has a common syntax and semantics just like C, C++, Java, and other programming languages. This also makes UniT easier to learn.
  • Any number and any kind of Java objects can be provided by the programming experts.
  • Through the intelligent application of auxiliary technology and a certain evolution, and in light of the extensive functionality, the UniT source code is very small. Comparable implementations are many times bigger. Therefore it might be possible to execute UniT even on a handheld computer, that has java virtual machine. The source code is well structured and 50% of it is documentation (comments). The implementation of UniT has been tested extensively. The repeatable regression test should execute nearly every statement.

But UniT has many more advantages in comparison with other technologies:

Unlike non-Java technologies,

  • UniT is realized with Java and therefore probably works on the most platforms.
  • UniT allows full access to Java and therefore probably offers the most complete support and extensibility.

Unlike JSP, ASP, PHP, and other server technologies,

  • UniT cleanly separates presentation and application logic and supports the model-view-controller concept.
  • A special case of the previous argument is that it even separates parser and generator logic of converters or documentation generators.
  • UniT only needs a few selected but complete language constructs, and therefore UniT is a very small technology (about 90 KB JAR)
  • UniT tags are orthogonal to the most frequently used markup tags. Therefore editors won't be confused.
  • UniT has very user-friendly error messages that contain the source location, error description, and context information.
  • There are no problematic tag libraries.

Unlike JSP, ASP, and other technologies, UniT does not need

  • a special operating system such as Windows.
  • any particular web server, e.g., IIS or Apache, or any web server at all.
  • a second compiler such as a Java or Visual Basic compiler, because UniT is a one-step technology.

UniT can replace those expensive prerequisites to build on and offer a complete and truly low-budget product, that is a low-budget content management system or shop system. The customer does not have to buy additional expensive software. Nevertheless, UniT can be embedded into servlets and therefore can be combined with web servers.

Unlike WebMacro,

  • UniT has a common, known syntax and
  • common programming concepts.
  • UniT allows the usual expressions for assignments, conditions, and parameters, which makes multiplication and array access possible.
  • Any method and constructor can be executed.
  • UniT can do exception handling.

Unlike XSLT,

  • multiple and varied data sources can be used with UniT at the same time, for example, multiple databases, content management systems, files, net and web resources, and programs.
  • with UniT, free programmable, and therefore unlimited, conversions are possible.

Unlike most documentation generators,

  • parsers of any programming language can be combined with UniT, and hence programs in any programming language can be documented with UniT.
  • any text format and layout can be generated with UniT. This is much easier than using doclets from javadoc! However, javadoc/doclets may be used as Java parser combined with UniT.
  • any functionality can be extended to UniT.


  • UniT is very easy to learn.
  • due to its independence from platforms, systems, and text formats, its application is very flexible.
  • it can be integrated into other products seamlessly.

What do you think about UniT? I would like to hear from you.

Download the unrestricted, non-commercial version of UniT now!
It's about 220 KB including this whole site and examples.
With the download you accept the license agreement.

Generated with UniT - the Universal Text Generator Version 1.0
Copyright © 2000 Thorsten van Ellen. All Rights Reserved.