C++ Front-End Overview
Maintained by Karl Trygve Kalleberg
The C++ front-end source lives in src/cplusplus/occ. It consists of the C++ parser OpenC++ written by Shigeru Chiba, along with csf.cpp and some helper files. OpenC++ allows for easy traversing of the internal parse tree by deriving its Walker class.
See the OpenC++ directory for documentation on OpenC++
Included with OpenC++ is also Boehm and Demers' garbage collector for C(++). See the gc directory for documentation on the gc
Using the C++ front-end
After SDS has been make installed, the C++ front-end will reside in <prefix>/bin as cxx2csf. To take the parser out for a spin:
$ <prefix>/bin/cxx2csf tests/mowgli.cppCheck that the file dump.xml contains readable output.
Testing and conformanceNot thoroughly tested yet.
See the status page for the situation on conformance to the CSF spec.