First post about Scalpel, on 42nd Art

Finally, after almost one year of work, I'm proud to introduce to you the Scalpel project!

Well, it isn't complete yet, nor it is usable, but we're pretty close to the goal.

I recently reached a symbolic step: Scalpel passes the C++ standard library syntax analysis test! This test consists to analyze the source code, generate a syntax tree, regenerate a source code from it and then check whether the original source code matches the generated one. So, Scalpel is now able to generate a correct syntax tree of the whole C++ standard library implementation of GCC 4.4.0.

There are some of the next steps:

  • review the syntax tree model classes (specially their names, which are not all explicit);
  • make Scalpel able to pass the syntax analysis test with some of the Boost libraries;
  • perform the semantic analysis;
  • write some documentation.

What about 42nd Art?

The C++ source code analyzer is a part of a bigger project. For the moment, 42ndart.org redirects to 42ndart.org/scalpel, but I will for sure do some other free projects.