Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
The Somusar/SoProTech[tm] Booklet Series
Volume VII

"somusar/SoProMach: User's Guide"

Printer friendly


Contents
1. Introduction
2. Package Contents
3. Installing SoProMach
4. Verifying the Installation
5. Generating software with SoProMach
5.1 Command-line interface
5.2 Generating Software
5.2.1 Generating Software Using Sisendel
5.2.2 Generating Software Using Tefigel
6. SoProMach Models
7. Sisendel Messages
8. Tefigel Messages
9. Contacting Somusar
10. Further Reading

Chapter 5 - Generating software with SoProMach

A set of proof-of-concept (POC) generators are freely available at http://www.somusar.com, and allow SoProMach users to familiarize with its software generation capabilities.

For training and consultancy please refer to http://www.somusar.com/services.

5.1 - Command-line interface        top

The command-line interface of SoProMach consists of two commands - the two executable programs - with options and parameters as follows:

  • sisendel <entity-file> [<entity-file>...]
    Compile one or more project entity files; the input files must reside in the SISENDEL_PROJECT directory, or in subdirectories thereof.

  • sisendel -lib <entity-file> [<entity-file>...]
    Compile one or more library entity files; the input files must reside in the SISENDEL_LIBRARY directory, or in subdirectories thereof.

  • sisendel -version
    Print out version and model information of the Sisendel executable file.

  • tefigel
    Read Tefigel instructions and text from the standard input, writing output onto the standard output, or onto the file, or files, specified as parameters to one or more output or append instructions.

  • tefigel <text-file> [<text-file>...]
    Read Tefigel instructions and text from the given files, writing output onto the standard output, or onto the file, or files, specified as parameters to one or more output or append instructions. The special name "-" can be specified to process the standard input. File names with extension ".tfg" are assumed to refer to Tefigel script files. The extension ".tfg" may be omitted.

  • tefigel -version
    Print out version and model information of the Tefigel executable file.

5.2 - Generating Software        top

SoProMach can be used to generate software according to two main schemes:

Scheme 1:

entity-based software generation, fully described in "Somusar/Software Production Technique[tm]: An Introduction "; the language and corresponding processor for this scheme is Sisendel, but Tefigel also plays an important role as the language for the Software Molds;
Scheme 2:
generalized file-oriented software generation; the language and corresponding processor for this scheme is Tefigel.

5.2.1 - Generating Software Using Sisendel        top

A thorough discussion about the applicability of Sisendel falls outside the scope of this guide, and is given in "Somusar/Software Production Technique[tm]: An Introduction ", "Somusar/Sisendel[tm]: A Tutorial Introduction ", and "Somusar/Software Production Technique[tm]: A Sample Project ": for the purpose of this guide it is sufficient to say that Sisendel can be applied in any software project - from small to large, to very large - involving some degree of similarity in the software files related to the entities that constitute the software system under development.

In general, Sisendel can be applied whenever a software system can be described as a set of interrelated entities (or objects) distributed across two or more system layers, such as a database, a usage interface, and a business logic layer. In addition, Sisendel allows to automatically produce consistent and up-to-date documentation about the software system.

5.2.2 - Generating Software Using Tefigel        top

As described in detail in "Somusar/Tefigel[tm]: A Tutorial Introduction ", any text file can be considered a Tefigel "program": it is thus possible to apply the Tefigel processor to any text file, independently of the Sisendel processor, to generate software in practically any computer language source format.

Consequently, Tefigel can be applied as a generalized generation tool in any software project involving some degree of similarity at the source file level. Tefigel can read natively XML and CSV files as input models.

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

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