gcc/gcc/treelang
Nathan Sidwell 66804d9eec c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
* c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
	* c-parse.in (reswords): Remove __bounded__ and __unbounded__.
	(rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
	* print-tree.c (print_node): Remove ambient-boundedness.
	* tree.h (tree_common): Remove bounded_flag.
	(BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
	BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
	MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
	TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
	TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
	Remove.
	(TYPE_QUALS): Remove BOUNDED.
	(TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
	(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
	TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
	TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
	VA_LIST_POINTER_DEPTH): Remove.
	(struct tree_type): Remove pointer_depth.
treelang:
	* treetree.c (reswords): Remove __bounded__, __unbounded__.

From-SVN: r67058
2003-05-21 11:13:21 +00:00
..
.cvsignore
ChangeLog
config-lang.in
lang-options.h
lang-specs.h
lex.l
Make-lang.in
parse.y
README
tree1.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