gcc/gcc/treelang
Mark Mitchell 62b81e4524 re PR bootstrap/12512 (Pattern rule for %.dvi breaks make dvi in objc)
PR bootstrap/12512
	* Makefile.in (info): Use double-colon rules.
	(dvi): Likewise.
	(generated-manpages): Likewise.
	* configure.in: Do not create lang.info, lang.dvi, or
	lang.generated-manpages hooks.
	* configure: Regenerated.
	* objc/Make-lang.in (objc.info): Remove.
	(objc.dvi): Remove.
	(objc.generated-manpages): Remove.
	* doc/sourcebuild.texi: Update description of info, dvi, and
	generated-manpages hooks.

	* Make-lang.in (ada.info): Replace with ...
	(info): ... this.
	(ada.dvi): Replace with ...
	(dvi): ... this.

	* Make-lang.in (c++.info): Remove.
	(c++.dvi): Remove.
	(c++.generated-manpages): Replace with ...
	(generated-manpages): ... this.

	* Make-lang.in (f77.info): Replace with ...
	(info): ... this.
	(f77.dvi): Replace with ...
	(dvi): ... this.
	(f77.generated-manpages): Replace with ...
	(generated-manpages): ... this.

	* Make-lang.in (java.info): Replace with ...
	(info): ... this.
	(java.dvi): Replace with ...
	(dvi): ... this.
	(java.generated-manpages): Replace with ...

	* Make-lang.in (treelang.info): Replace with ...
	(info): ... this.
	* Make-lang.in (treelang.dvi): Replace with ...
	(dvi): ... this.

From-SVN: r72135
2003-10-06 07:56:16 +00:00
..
.cvsignore
ChangeLog re PR bootstrap/12512 (Pattern rule for %.dvi breaks make dvi in objc) 2003-10-06 07:56:16 +00:00
Make-lang.in re PR bootstrap/12512 (Pattern rule for %.dvi breaks make dvi in objc) 2003-10-06 07:56:16 +00:00
README
config-lang.in
lang-specs.h
lang.opt
lex.l
parse.y
tree-convert.c
tree1.c
treelang.h
treelang.texi
treetree.c Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change. 2003-09-21 22:09:32 -07:00
treetree.h

README

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