This documentation has four main chapters. These are
- Interpreter Architecture describes the overall architecture of the interpreter, lists the different modules, and contains the reference documentation of the C functions implemented in the individual modules.
- Embedding the Interpreter describes how to write an application that embeds The ScriptBasic interpreter. This chapter also contains the reference documentation of the full C API.
- Extension Modules describes what extension modules are, how to use them and how to write extension modules that may provide access to special programs, operating system features, and are not implemented in the interpreter core.
- Preprocessors detail how to write preprocessor extensions to ScriptBasic. These extensions provide development functionalities like debugging, profiling and processing of the source code in addition to the processing of the interpreter.
- Compilation details how to compile ScriptBasic under Windows NT.
I advise you to read the architecture chapter first to get the overall picture. After that you can read one of the three middle chapters based on your plans. If you plan to embed the interpreter, read the second chapter. If you want to write an extension module, read the third chapter. If you intend to write a preprocessor, read the fourth chapter. You may want to do more than one even.
By now you may not need what the differences are. This will change after reading the architecture chapter.
The last chapter is to be read just before you start to experiment with ScriptBasic. This will give you guide lines how to compile the program from source. This may not be needed for extension module and preprocessor developers, but it does not do any harm either. It may help.