skip to main content
Department of Computer Science University of Colorado Boulder
cu: home | engineering | mycuinfo | about | cu a-z | search cu | contact cu cs: about | calendar | directory | catalog | schedules | mobile | contact cs
home · events · colloquia · 1998-1999 · 

Colloquium - Ertl

ECCR 118

A Fast Compiler for a Stack-Based Language
Technische Universität Wien

I will present RAFTS, a Forth compiler, focusing on aspects that are also useful in compilers for other languages. Specific needs addressed by RAFTS are: The source language relies on programmer-visible stacks (like JavaVM and PostScript), it requires very fast compilation (like e.g., Lisp, Prolog, Smalltalk, and JavaVM) to remain interactive, and the source code usually has a very high procedure call frequency (like, e.g., Lisp, Prolog, ML).

My presentation will give a tour of the compiler, pointing out some of the techniques that address these needs, e.g.: How to convert the stack-based code into data flow graphs, enabling the application of standard code generation techniques; how backwards scheduling simplifies the data structure and saves two passes; how we minimized the number of passes without sacrificing code quality; how a threaded-code intermediate representation speeds up code replication optimizations.

Hosted by Gary Nutt.

The Department holds colloquia throughout the Fall and Spring semesters. These colloquia, open to the public, are typically held on Thursday afternoons, but sometimes occur at other times as well. If you would like to receive email notification of upcoming colloquia, subscribe to our Colloquia Mailing List. If you would like to schedule a colloquium, see Colloquium Scheduling.

Sign language interpreters are available upon request. Please contact Stephanie Morris at least five days prior to the colloquium.

See also:
Department of Computer Science
College of Engineering and Applied Science
University of Colorado Boulder
Boulder, CO 80309-0430 USA
Send email to

Engineering Center Office Tower
ECOT 717
FAX +1-303-492-2844
XHTML 1.0/CSS2 ©2012 Regents of the University of Colorado
Privacy · Legal · Trademarks
May 5, 2012 (13:29)