Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
Please note: this document is currently under revision.
The information herein contained, while still valid, does not reflect the latest state of the described technology.
The Somusar/SoProTech[tm] Booklet Series
Volume IV

"somusar/Tefigel: A Tutorial Introduction"

Printer friendly

1. Introduction
2. Language Summary
3. Text File Components
4. Text File Processing
5. Modularity
6. Multilanguage Applicability
7. Generating Object-oriented Languages
8. Generating Internet-oriented Languages and Protocols
9. Generating Procedural Languages
10. Generating Scripting or Special-purpose Languages
11. Advanced Features and Topics
12. A More Extensive Example
13. Further Reading

Chapter 6 - Multilanguage Applicability

During the design of Tefigel particular care has been taken to keep its syntax as flexible as possible, and allow to use it to generate source files for as many computer languages as possible, at the light of the SoProTech[tm] discussed in "Somusar/Software Production Technique[tm]: An Introduction ". The next chapters contain several short examples where Tefigel is used to produce fragments of source code in different languages belonging to different language classes:

  • Object-oriented (in short: OO) languages: Java[tm], C#, C++;

  • Procedural languages: C, Visual Basic®, COBOL, RPG;

  • Internet languages or protocols: HTML, XML, SOAP, PHP;

  • Scripting or special-purpose languages: SQL, Perl, Python, REXX, LaTeX.

It is worthwile noting that the next simple examples aim at demonstrating the syntactical applicability of Tefigel and its flexibility in the generation of software in the different languages shown below; its practical and industrial applicability are best described in "Somusar/Software Production Technique[tm]: An Introduction ".

The numerous examples of the next paragraphs, as well as the other various code examples scattered across this document, should provide sufficient confidence and insight on the fact that Tefigel can be easily applied as a generic precompiler to practically any computer language, including - beyond the aforelisted languages - several other general-purpose and special-purpose languages and protocols, such as:

  • Fortran;

  • PL/SQL[tm];

  • JavaScript;

  • JSP[tm] (JavaServer Pages[tm]);

  • Pascal and Pascal-like languages;

  • PL/I;

  • assembly languages, such as Assembler/390 or the portable GNU assembler;

  • the Interface Definition Language of the Common Object Request Broker Architecture (CORBA IDL);

  • the Lightweight Directory Access Protocol (LDAP);

  • SAP® ABAP/4®;

  • PostScript®;

  • more scripting languages, such as Unix® shells or Tcl;

  • ...and more.

The only requirement for a computer language to be generatable by the current version of Tefigel is that its source code can be written in a single-byte character set.

As previously noted, this broad range of applicability was not a merely theoretical target of Tefigel; instead, it was one of the main practical objectives while designing Tefigel as a back-end language for the SoProTech[tm].

[Previous chapter]    [Next chapter]    [Back to top]

http:// www.somusar.com  / doc  / booklets  / tefigel_tut  - Powered by SoProMach
Copyright © 2003-2012 Somusar - Trademarks - Legal - Privacy - Webmaster