Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contents

Table of Contents

Template Language

...

That being said, STL (SIL Template Language) should not be confounded with C++ STL (Standard Template Library). They are different beasts.

How It Works 

 

The idea at the base of the STL is simple:

  1. Template is provided by the user. Within it, the user writes embedded code.
  2. The code is translated into a fully executable SIL script, buffered in memory.
  3. The SIL interpreter is called on the given script; the script is executed and the result is gathered in a special area, in memory.
  4. The result is retrieved and used wherever is needed.

...