Hello Lazarus-List, Sunday, March 7, 2010, 5:51:33 PM, you wrote:
HPD> I already made an C-to-Pascal converter HPD> <http://sourceforge.net/projects/topas/>, but then got stuck in handling HPD> #defines, which deserve translation into either constants or functions, HPD> or must be expanded. HPD> I never wanted it to handle C++ syntax, but if you have ideas how to HPD> make it usable for (partial) translation of C++ code, I'm willing to HPD> update it accordingly. I think that it would be great to have something that can sintax traslate from C++ to Pascal, but not a whole code with defines, macros, and other things, just a plain block syntax converter, that could simplify manual conversion, like creating the var block, handling the if {} conversion and always take the simple route, not trying to be smarter than the user ;) Integrating this in the IDE could help to convert function by function, without too many changes. -- Best regards, JoshyFun -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus