Introduction

BAP Online Manuals : Compiler Reference Manual : Introduction
Previous: Compiler Reference Manual
Next: Compiler Hardware Requirements:

3.1. Introduction

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.

If your runtime-system supports multiple applications the compiler may be installed permanently. You are then able to compile code while other programs are executing. As it is possible to replace code modules at runtime, a program is able to modify itself.

If your runtime system does not support multiple applications you need to reboot your system before testing your application in order to avoid name conflicts.


BAP Online Manuals : Compiler Reference Manual : Introduction
Previous: Compiler Reference Manual
Next: Compiler Hardware Requirements: