gcc/gcc/treelang
2003-07-12 20:54:06 +02:00
..
.cvsignore
ChangeLog * Make-lang.in (treelang/tree-convert.o): Depend on TM_H. 2003-07-12 20:54:06 +02:00
config-lang.in
lang-options.h
lang-specs.h
lang.opt
lex.l
Make-lang.in * Make-lang.in (treelang/tree-convert.o): Depend on TM_H. 2003-07-12 20:54:06 +02:00
parse.y
README
tree1.c Make-lang.in: Update. 2003-07-10 20:43:48 +00:00
tree-convert.c
treelang.h
treelang.texi
treetree.c
treetree.h

This is a sample language front end for GCC.

This is a replacement for 'toy' which had potential copyright issues,
but more importantly it did not exercise very much of GCC. The intent
of this language is that it should provide a cookbook of language
elements that you can use in any language front end.

To this end, treelang is essentially an implementation of a subset of 
the GCC back end 'tree' interface in syntax.

Thanks to Richard Kenner, Joachim Nadler and many others for helping
me to understand enough of GCC to do this.

Please note, the documentation is not a good model to use for GCC
front end documentation. 

Tim Josling
19 June 2002