Compiler Reference Manual

BAP Online Manuals : Compiler Reference Manual
Previous: Object layer
Next: Introduction

3. Compiler Reference Manual

The Brain Aid Prolog (BAP) Compiler is an application running on the system just like any other program. It is written in Brain Aid Prolog and still subject to enhancements. The compiler is split into three separate parts: the scanner/parser , the code generator , and the assembler . In addition an error server collects the error messages of all modules and directs them to a common output. The compiler reads a source file written in Brain Aid Prolog, which should have an filename ending with '.BAP', and generates an executable '.LKD' output file that then can directly be loaded and executed by the system. No further steps are necessary.

3.1. Introduction

3.2. Compiler Hardware Requirements:

3.3. Compiler Quick Start - the 'Hello World' Example:

3.4. Description of the BAP Compiler Predicates

3.5. Language Description:

3.5.1. Prolog in General
3.5.2. Clocksin & Mellish
3.5.3. Brain Aid Prolog Syntax :
3.5.4. Type Checking
3.5.5. Keywords :
3.5.6. Operators

3.6. Appendix

3.6.1. Compiler Restrictions
3.6.2. Compiler Error Messages
3.6.3. Compiler Example
3.6.4. Datentypen

BAP Online Manuals : Compiler Reference Manual
Previous: Object layer
Next: Introduction