cornergraf.net

4th Semester

Courses and grades

Course Title Exam form Grade
Syntax and semantics evaluated through project -
Languages and compilers evaluated through project -
Database systems Oral passed
Computer and network architecture Oral 6

Project Grade: 10

Project: AntL Compiler for MyreKrig

This semesters topic was language technology. We chose to create a new programming language for the programming game MyreKrig.

MyreKrig is a programming game where virtual ants fight for survival on a virtual torus. By gathering food, an ant race can increase its population, and by "stepping on" enemy ants, these can be killed. The challenge lies in the very limited vision of ants and a crude communication system, which makes it both difficult and necessary to make the ants work together. Ant programs have to be written in C, and are then compiled with the rest of MyreKrig.

The C code for ants (ant races) can become very complex, due to the lack of proper agent based control structures. In this project we have developed our own language (AntL) with a few "new" concepts, which should make it easier to create more complex ants. The compiler for AntL was created using SableCC.


Last updated: 2005-11-25

top left corner graphic top right corner graphic bottom left corner graphic bottom right corner graphic