Josh,

While a C++ parser would add significant complexity to Sparse, I would still
prefer to integrate it rather than encouraging people to fork.  I think a
reasonable amount of code sharing would still exist between the C and C++
code, and ideally almost all of the backend code would support both.

Experience suggests that a C++ front end is around a factor of seven
times larger than a C front end.

There are many more syntactic ambiguities in C++ that require
symbol table information to resolve (even then life can be tough).

Code sharing would be possible in the sense that if a C++ parser
were implemented it would be close to handling C out of the box.

--
Derek M. Jones                              tel: +44 (0) 1252 520 667
Knowledge Software Ltd                      mailto:[EMAIL PROTECTED]
Applications Standards Conformance Testing    http://www.knosof.co.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to