iburg
is a program that generates fast tree parsers for cost-augmented
tree grammars. iburg
is useful for writing code generators and for teaching
computer science compiler courses. A variant of iburg
is used in the code
generators for lcc
, a retargetable compiler for
ANSI C. iburg
is described in
C. W. Fraser, D. R. Hanson, and T. A. Proebsting,
Engineering a Simple, Efficient Code Generator Generator,
ACM Letters on Programming Languages and Systems 1, 3 (Sep. 1992), 213-226. PDF (157KB); Compressed Postscript (59KB).
The source code is available in iburg.tar.gz
(14KB) or iburg.zip
(18KB); the README
file elaborates. The LOG
file describes recent changes. You can also browse the
source code.
The source code is also available via anonymous CVS at cvs.cs.princeton.edu. The command
cvs -d :ext:anon-iburg@cvs.cs.princeton.edu:/cvs co -d iburg .
creates the directory iburg
and populates it from the source tree. This command is equivalent to the commands
mkdir iburg
cd iburg
cvs -d :ext:anon-iburg@cvs.cs.princeton.edu:/cvs co .
Hit return if you're prompted for a password, and ignore diagnostics about missing home directories. Visit http://cvs.cs.princeton.edu for more information about the Princeton CVS server.