Spanish  English

Downloads

Master Thesis Document

Presentation

Source code

Links

GIAS

SIANI

ULPGC

Proyecto CoolBot

¡CSS Válido!

Valid XHTML 1.0 Transitional

IMPROVEMENT OF THE COMPILER/GENERATOR OF C++ SKELETONS FOR CoolBOT COMPONENTS

In December 2007 was presented, as Final Project in Computer Science Engineering, the coolbotc compiler [Santana-Jorge, 2007] whose objective was to automate the generation of skeletons C++ for CoolBOT components. In this way, the developer/programmer avoids having to perform a repetitive and tedious process (which is an error prone process), focusing solely on the implementation of CoolBOT component functionality.

The operation was very simple. The programmer described in a text file the definition of the CoolBOT component using a specific language called Description Language. Then the descriptive file was processed by the compiler to obtain the CoolBOT component C++ skeletons which then should be filled in by the programmer to complete its functionality.

Although this compiler really became really useful for programming CoolBOT components, and reduced development time, it has a drawback in relation to skeleton recompilation, because it did not preserve the code filled in by the developer between consecutive re-compilatios of the descriptive file defining the C++ skeleton of a component. That meant that after making the appropriate changes in a file descriptive and recompile, the programmer would have to implement the functionality of the component or retrieving it from the backup files generated by the compiler, that was really a cumbersome solution.

In this Master Final Project it is described a solution that allows compile the same file descriptive as many times as we want, without losing the information previously entered in the C++ skeletons, using a new system in the C++ code generated by the compiler.