next up previous
Next: An ALLCOT program Up: The ALLCOT language Previous: The ALLCOT language

Introduction

The ALLCOT language is a simple programming language which is meant to support student assignments for the computer science course CS 447 at the University of Western Ontario. In particular, the students of this course should develop a front-end compiler for ALLCOT. The intermediate representation (i.e. the target language) will be a subset of the C language.

The name ALLCOT stands for A Language for Learning COmpiler Theory. and refers to the ALDOR programming language (A Language for Describing Objects and Relationships) developed at ORCCA. The ALLCOT language is largely inspired from ALDOR, but as a teaching language, the features of ALLCOT are very limited comparing to those of ALDOR.

This document is evolving and the remaining sections show the development of the specifications of the ALLCOT language. Sections 1, 2 and 3 were part of the original draft. They give an overview of the language. However, Section 3 evolved as Students implemented their first YACC parsers for ALLCOT. The changes related to the language (resolving inconsistencies, language extensions ...) are reported in Section 5 and Section 6 whereas those related to the grammar for statements are reported in Section 4.

In order to realize an ALLCOT compiler, one needs to clarify the specifications of the built-in types and the inheritance mechanism. This is done respectively in Section 7 and Section 8.


next up previous
Next: An ALLCOT program Up: The ALLCOT language Previous: The ALLCOT language
Marc Moreno Maza
2004-12-01