Delta - Bridge to the Delphi ecosystem

Andre Pany via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Sep 3 12:53:59 PDT 2017


Delta is a proof of concept to enhance the D Programming Language 
with the
Delphi ecosystem.

There are 2 scenarios Delta tries to achieve:

-   Create your GUI using the Delphi RAD Studio and connect the 
events with your
     logic written in D.
     The obligatory Hello World sample:
     
https://github.com/andre2007/delta-fmx-10-2-1/tree/master/examples/gui1

-   Use non visual Delphi components in your D code. There are a 
lot of components
     available for almost every purpose. For example you would be
     able to use the INDY (Internet Direct) components.

     In the sample application, the TTimer component is used. This 
example also
     shows how to write a wrapper component in D if the component 
is not already
     available.
     
https://github.com/andre2007/delta-fmx-10-2-1/tree/master/examples/ttimer


More information how to start:
https://github.com/andre2007/delta-core-10-2-1/blob/master/README.md

Notes:
- Although Delta is currently only a proof of concept maybe some 
of you can profit from it.

- The proxy objects on D side (TForm, TTimer, TEdit,...) 
currently are written manually. Maybe in the future there could 
be a Delphi unit parser which automatically creates the Delphi & 
D source proxy objects

- Everytime accessing an Delphi object on D side, a new object is 
created. I am currently not sure whether this concept will stay

- At the moment Delta targets Windows.

- At the moment the packages are not registered at code.dlang.org 
as the project is in an early state.



More information about the Digitalmars-d-announce mailing list