|C-Tree Version .04 firstname.lastname@example.org (1997-07-13)|
|From:||email@example.com (Shaun Flisakowski)|
|Date:||13 Jul 1997 11:44:29 -0400|
|Organization:||U of Wisconsin CS Dept|
|Keywords:||C, tools, available|
Announcing C-Tree version .04
Version .04 now compiles on DOS boxes using DJGPP as well as
all flavors of unix.
ctree is a free package, it takes the name of a file to parse as
input, and returns a pointer to the parse tree generated; or
NULL if there are errors, printing the errors to stderr.
It is written using flex and bison.
No leaking memory - Even if the parse fails through an error
all memory allocated is freed. (Checked via Purify (tm))
All tokens remaining in the parse tree (some are eliminated)
are marked with the line# and col# they originated at.
Includes a symbol table, and is basically ready-to-run
(I include a small example that parses its input and
_attempts_ to print it back out in a sensible way)
Seperate table for storing types (with the pointers to there
The input is normally passed through /lib/cpp, but the flex
lexer understands continuation lines and #line directives
Lexer understands C++ style comments, gives a warning for
'//*' and parses as ANSI C requires.
Current sites are:
or find it on my web page.
Return to the
Search the comp.compilers archives again.