Sciweavers

SIGCSE
2006
ACM

Chirp on crickets: teaching compilers using an embedded robot controller

14 years 6 months ago
Chirp on crickets: teaching compilers using an embedded robot controller
Traditionally, the topics of compiler construction and language processing have been taught as an elective course in Computer Science curricula. As such, students may graduate with little understanding or experience with the useful techniques embodied in modern compiler construction. In this paper, we present the design of Chirp, a language specification and compiler implementation. As a language, Chirp is based on Java/C syntax conventions and is matched with the stack-based virtual machine that is built into the simple yet versatile Handy Cricket educational robot controller. As a compiler, the Chirp design is a series of Java components. These modules demonstrate key compiler construction techniques including lexing, parsing, intermediate representation, semantic analysis, error handling and code generation. We have designed a 6-week teaching module to be integrated into an intermediate-level undergraduate programming class. In the module, students will incrementally build the Chi...
Li Xu, Fred G. Martin
Added 14 Jun 2010
Updated 14 Jun 2010
Type Conference
Year 2006
Where SIGCSE
Authors Li Xu, Fred G. Martin
Comments (0)