Additional Examples ------------------- Additional TextTransformer projects are part of the installation package of the program: Exchange of words By this simple example of the exchange of two words some essentials about writing and using of a TETRA project are explained. Conversion of an Atari-text Texts, which were written on an Atari computer shall be reprocessed in a text editor under Windows. To do this some characters must be exchanged. Calculator The calculator example is a classic application of a parser. The numbers, operators and bracketing must be extracted from the input text to be able to calculate the result. Text statistics The number of lines, characters, word and sentences of a text shall be counted. GrepUrls In a group of html files all links shall be found and listed, which refer into the web. E-mail address Analysis of an e-mail address in accordance with the RFC 822 standard. Guard Instrumentation of c++ source code. Bill The sum of the positions of a bill shall be calculated. XML A parser for XML documents. Java A parser for the programming language Java 1.4. Parsers, by which the TextTransformer itself is working, are are part of the TextTransformer installation package too. The semantic code mostly is removed from these examples. TETRA-Produktions TETRA-EditProds TETRA-Interpreter TETRA-Import Cocor Import Partial translation of the productions of a Coco/R compiler description into the syntax of the TextTransformer. The text version of this page: examples.txt