Extending the Tycoon system
The Tycoon system can be extended on various levels. Most extension facilities are still under development and not documented yet.
Layers:
- TSP adaptors: Implementing store adaptors??? A new store adaptor should require only the relinking of the Tycoon Machine???
- Tycoon runtime system: The Tycoon runtime system is a collection of C modules that build an abstraction layer above the underlying operating system??? The modules are used in the implementation of the Tycoon Machine and in low-level TL modules??? New functions and modules can be added when they are needed in the Tycoon Machine implementation??? Note: If application-dependent C-functions are needed for the implementation of a library module they should not reside in the Runtime System.
- TVM instructions: The Tycoon Virtual Machine defines a set of machine independent low-level instructions that are interpreted or compiled??? New instructions extend the interpreter, but have to be generated by tml2tvm or other code-generators???
- TML instructions: The Tycoon Machine Language is suited especially for optimization??? Optimization hints have to be given for new TML constructs???
- Builtin operations: builtin??? Module tlBuiltin.tm???
- C application libraries: C application libraries are bound via the bind mechanism??? Static and dynamic libraries??? Bind mechanism allows only transfer of primitive types; structured types have to be handled by adaptor functions??? Persistence of volatile C structures??? Wrapping into type-safe TL modules or TooL classes???
- TL modules and libraries, TooL classes: High-level programming in persistent polymorphic languages???
Layer-spanning:
- Where why which extension? (Typing; runtime efficiency of C calls vs. TVM operations; language primitives like send; ...)
- Dependencies of layers and generators.
Gerald Schröder (5-oct-1995)