Chas. Owens wrote: > > In general, it doesn't matter if you want to work with a small piece > of a language or the whole language, you still need to implement a > parser for the whole language. You can get an eighty or ninety > percent solution without a full parser, but there will always be > problems.
That's not true at all. A file containing int i; is a valid C file. If the input expected by the OP contains a subset of the C syntax then it can be parsed as such. C is s subset of C++. Does that mean that everybody suddenly needs a C++ compiler to compile their C programs? I think not. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/