General Links
SDS Homepage
 
General Documentation
Main index
Copyright notices
What is SDS
Installing SDS
SDS HowTo
Using SDS
Language frontends
FAQ
Plans/further releases
 
Developer Documentation
Architecture description
Developer How-To
XML-system for classes
CSF Specification
CSF DTD Documentation
SDOC Info
Develop code in Lisp
 
Email page maintainer
karltk@users.sourceforge.net
 
Hosted at

SF project page

  

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.cpp
Check that the file dump.xml contains readable output.

See the howto for fuller explanation on how to install and use SDS. Front-ends for other languages exist, check the front-ends page.

Testing and conformance

Not thoroughly tested yet.

See the status page for the situation on conformance to the CSF spec.