> Anyway, porting Python4Delphi to Lazarus is practically
> impossible, it needs COM. So even if one wish to waste his
> time porting to lazarus P4D on windows, it could never work
> on linux or other platforms.

Mozilla XPCOM is basically COM compatible (defined same strucure for
IUnknown interface etc.). However I wonder if the port to Kylix for
Python4Delphi uses COM at all. What is Python4Delphi, is it a python
interpretter or just an API port/wrapper for some Python
compiler/interpretter/engine? I don't think there's one Python engine, but
many that implement the language "spec", so the wrapper can choose another
engine for Unix or a very portable one for both Win and Unix. Anyway,
there's other COM implementations for Unix apart from XPCOM and one can
easily implement basic parts of COM anyway

> I just pointed out time ago that a better idea is to embed
> python with Free Pascal. I already made this and it works, on
> windows and on Linux.

You mean implement Python over ROPS or vice-versa? I think the 1st to be too
hard or impossible. I've made Logo over ROPS, but Logo isn't that complex
compared to Python I think (for example ROPS is not really OOP, since you
can't define class types, just consume them from the Delphi host)

----------------
George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2007
Borland "Spirit of Delphi"
3D, QuickTime, QTVR, Java, Delphi,
ActiveX, .NET components, Robotics
http://www.kagi.com/birbilis
http://birbilis.spaces.live.com





  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0703-0, 13/01/2007
Tested on: 17/1/2007 4:59:46 ??
avast! - copyright (c) 1988-2007 ALWIL Software.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to