Altova UModel 2025 Enterprise Edition

SPL Reference

Home Prev Top Next

This section gives you an overview of SPL (Spy Programming Language), code generator's template language. It is assumed that you have prior programming experience, and are familiar with operators, functions, variables and classes, as well as the basics of object-oriented programming - which is used heavily in SPL.

 

The templates used by UModel are supplied in the applications's UModelSPL folder. You can use these files as a guide to developing your own templates.

 

How code generator works

Code is generated on the basis of the template files (.spl files) and the object model provided by UModel. The template files contain the code of the target programming language combined with SPL instructions for creating files, reading information from the object model, and performing calculations.

 

The template file is interpreted by the code generator and outputs the source-code files of the target language/s (that is, the non-compiled code files) and any other relevant project file or template-dependent file.

© 2018-2024 Altova GmbH