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
stig@ii.uib.no
 
Hosted at

SF project page

  

C++ Front-End Status

Maintained by Karl Trygve Kalleberg


Current status

The front-end seems to parse the C and C++ standard libraries fairly ok. Numerous nuances in the C++ language are probably missed now. If you have anything to add, please update or add a new case in the src/cplusplus/occ/test/ directory h4>The following features have been tested and is believed to be working

  • Parsing of class-, struct-, union-, namespace-, function-, constructor- and variable-constructs.
  • Generation of semi-proper IDs for all parsed constructs.
  • Dumping of syntactically and semantically correct .xml files

Issues still battled with

  • IDs don't have the proper location information. Neither do they have all the type info they should have
  • Location info only have start-position of the construct. Should add end-construct as well.
  • No memory is reclaimed. It easily eats 100MB to parse the standard C library.
  • To parse through the standard libraries, you must pass the -D__restrict= option to cxx2csf for now. /ul>