Hi Cary, > I saw the talk about the C~ subset of C++ on your website and was interested > in finding the description of it. Is it somewhat completed or still in > progress?
There is no real description of the C~ subset apart from the code in the translator. Overall, I think C~ was a mistake although translation mostly works OK. One issue is that C++ code tends to mix pointer and value semantics but C# and Java only have pointer semantics. For small objects, I like to use value semantics in C++ such as line.fore = Color(r,g,b) which has to be line.fore = new Color(r,g,b) in C#/Java. To cope with this, there is a set of known value classes in the translator. The subset of C++ understood is quite ad-hoc and new code is likely to require changes to the translator. More code would have been developed in a shorter time if it had been C++ only until finished. Then it could have been translated into C#/Java. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
