----- Original Message -----
Sent: Thursday, September 26, 2002 3:05
PM
Subject: RE: [DUG]: Just a thought
Neven wrote:
So Therefore if you had the source (to extract
the Local Var names) could you combine the
source and the CIL to get a reasonable port
ie
VB.NET to Delphi.NET
If you
have the source, It's easier to just build a tree-walking VB to Delphi source
converter. The IL is just a flattened version of a parse-tree so you have to
'rediscover' the tree structure which is a heuristic pattern matching
exercise. If you already have the source, why bother - just parse it and tree
walk the sucker.
Also on this subject why is the Delphi.NET
component lib VCL not CLX based?
Good question. Probably because most Delphi
developers are pushing for porting VCL-based code, as opposed to CLX based
code. Windows.Forms is pretty damn close to the VCL as well (Anders did design
them both after all :-)
I think Anders has probably convinced the Borland
team to go with a VCL (hence Windows.Form) inspired rather than CLX (with it's
Linux/QTisms) vision of the future.
TTFN,
Paul.