digitalmars.D.dwt - DWT FTW!
- user (9/9) Apr 25 2013 I was pleasantly surprised to see that a small java SWT code I
- user (2/2) Apr 25 2013 oh, forgot to mention, one more change I had to do was
- Jacob Carlborg (5/12) Apr 25 2013 Cool, thanks.
- JS (3/18) Jun 28 2013 Or possibly just write a simple post processor that makes the
- Jacob Carlborg (5/7) Jun 29 2013 We tried to automatically port SWT to D, it didn't work out that well.
I was pleasantly surprised to see that a small java SWT code I wrote compiles directly with DMD compiler & DWT lib. Only change I had to do was to change String to string and comment out printStackTrace. This gets even better because now I can use Google's Windows Builder Pro to create SWT GUI code. Probably this was deliberate by design, still thank you for all the hard work. - an user
Apr 25 2013
oh, forgot to mention, one more change I had to do was public static void main --> void main.
Apr 25 2013
On 2013-04-26 07:41, user wrote:I was pleasantly surprised to see that a small java SWT code I wrote compiles directly with DMD compiler & DWT lib. Only change I had to do was to change String to string and comment out printStackTrace. This gets even better because now I can use Google's Windows Builder Pro to create SWT GUI code.I'm wondering if you can modify that to output D code directly.Probably this was deliberate by design, still thank you for all the hard work.Cool, thanks. -- /Jacob Carlborg
Apr 25 2013
On Friday, 26 April 2013 at 06:39:29 UTC, Jacob Carlborg wrote:On 2013-04-26 07:41, user wrote:Or possibly just write a simple post processor that makes the modifications for you?I was pleasantly surprised to see that a small java SWT code I wrote compiles directly with DMD compiler & DWT lib. Only change I had to do was to change String to string and comment out printStackTrace. This gets even better because now I can use Google's Windows Builder Pro to create SWT GUI code.I'm wondering if you can modify that to output D code directly.Probably this was deliberate by design, still thank you for all the hard work.Cool, thanks.
Jun 28 2013
On 2013-06-29 02:20, JS wrote:Or possibly just write a simple post processor that makes the modifications for you?We tried to automatically port SWT to D, it didn't work out that well. One basically need to port half of the Java standard library. -- /Jacob Carlborg
Jun 29 2013