Re: support for C++ ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:derek@xxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux