From: Grzegorz J. <ja...@ac...> - 2004-09-12 17:15:33
|
Hi, The new module in CVS called 'occ-core' contains my first attempt at launching the "OpenC++ Core" initiative. Throughout the last week Stefan Seefeld and myself were discussing the possibilities of having a common repo for the core part of OpenC++ reused by Synopsis, but some unsolved issues still remain, thus I decided to demo my idea in an actual code. As outlined in "OpenC++ Core Lib MANIFESTO", OpenC++ has problems with advancing the quality of code analysis (templates and overloading), because along with advancement in this areas, other parts of the system need to be accordingly maintained, which distracts the resources. Thus the idea to take out the core functionality pertaining to code analysis and make it into compact, self-contained and self-testable library. The division would separated code into "OpenC++ Core" (lexer, parser, code object model ("Class", "Member"), type elaboration) and "Greater OpenC++" (translation, metaclasses). 'occ-core' is a first attempt to group the "OpenC++ Core" and make it self-contained. To checkout (non-developers): export CVSROOT=:pserver:ano...@cv...:/cvsroot/opencxx cvs login cvs -z3 co occ-core To build and run exemplary tests: make test Makefile will require some tweaking if you are not using g++. However build process is very straighforward, so that should not be an issue. All developers interested in advancing templates and overloading functionality are invited to have a look and comment. Please remember, that this is by no means a ready product, but rather a workplace for the actual work. Best regards Grzegorz |