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]
|