So far, we have only discussed foreign code as pieces of code loaded into a Prolog executable. This is often not the desired situation. Instead, one often wants to create stand-alone executables, i.e. an application where Prolog is used as a component, accessed through the API described in the previous sections.
| • Runtime Systems: | Runtime Systems | |
| • Runtime Systems on Target Machines: | Runtime Systems on Target Machines | |
| • The Application Builder: | The Application Builder | |
| • User-defined Main Programs: | User-defined Main Programs | |
| • Generic Runtime Systems: | Generic Runtime Systems |