[squeak-dev] C++ parser in Smalltalk?

Peter William Lount peter at smalltalk.org
Mon Jun 30 12:12:15 UTC 2008


> perhaps this helps: http://www.gccxml.org/
>
> Best,
>
> Michael
>
>
>   

Hi,

Cool. That looks sweet. I noticed that it covers:

Supported Compilers

GCC-XML can simulate any of the following compilers:
GCC: Versions 4.2, 4.1, 4.0, 3.4, 3.3, 3.2, 2.95.x
Visual C++: Versions 8, 7.1, 7.0, and 6 (sp5)
Borland, Intel, SGI: formerly supported but no longer tested

Not VC9.0 but 8 might be close enough... or is it?

Of course one could run the source for gcc-xml or gcc itself through 
gcc-xml and then have an xml representation of a c++ program that parses 
c++ and compiles programs!

The next step.

C/C++ to Smalltalk translator anyone?

Peter




More information about the Squeak-dev mailing list