[C++-sig] Improved pyste

Stefan Seefeld seefeld at sympatico.ca
Tue Jun 14 14:38:06 CEST 2005


Roman Yakovenko wrote:

> I am aware about this poject. If I understand right, one of the
> reasons Pyste has success is it's ability to read C++ code with 100%
> exectness. I don't know whether synopsis is able to do the same.

Probably not. But it would be worth to define in more precise terms
what '100% exactness' means. Correct parsing ? Correct type analysis ?

As far as I understand, for source-to-source translation you need a
correct parse tree, but you don't need all aspects of type analysis.
Am I wrong ?

(Synopsis is a work in progress, and I hope to get synopsis closer
to '100% exactness' over time, but I'm sure for many practical purposes
it's already 'exact enough'.)

My argument was only partly about switching the parser backend. Another
aspect is the extensibility of the design of the 'processor pipeline'
I use, which I think might offer a solution for pyste, too, if people
want to plug in their own code generation rules.


Regards,
		Stefan



More information about the Cplusplus-sig mailing list