digitalmars.D.announce - Visual D 0.3.29 features C++ to D conversion wizard
- Rainer Schuetze (27/27) Dec 03 2011 Hi,
- Adrian (7/15) Dec 03 2011 Hi,
- Rainer Schuetze (6/21) Dec 03 2011 Hmmm, should appear as "C++ conversion wizard" in the Visual D menu.
- Mirko Pilger (2/2) Dec 03 2011 i neither see the menu entry nor the command assignment, too. i'm using
- Michal Minich (3/5) Dec 03 2011 I don't see it either after upgrading from previous version in vs shell
- Rainer Schuetze (2/4) Dec 03 2011
- Rainer Schuetze (4/10) Dec 03 2011 Should be fixed now, I've replaced the installer.
- Mirko Pilger (3/4) Dec 03 2011 i can confirm this for vs shell 2008 on win xp sp3. i'll give it a shot
- Adrian (4/17) Dec 04 2011 Thanks, it works now - a very nice tool !
- Vladimir Panteleev (11/12) Dec 03 2011 Step 1: Use C++ to D converter on DMD source code
- Rainer Schuetze (4/13) Dec 03 2011 That was also my idea 2 years ago when I wrote most of the converter,
- bearophile (17/20) Dec 03 2011 It seems a nice tool.
- Rainer Schuetze (8/26) Dec 03 2011 I would have expected it to convert the braces into brackets. It does
Hi, with the recent initiatives to create bindings to C libraries and port C/C++ code to D, I thought the integration into Visual D of some tools written some time ago could be helpful. It proved to be a bit more work than expected to get them in shape, but finally the C++ to D converter seems usable. Read more about it here: http://www.dsource.org/projects/visuald/wiki/Tour/CppConversion There is also a command line version available for those not working with Visual Studio. There are more changes in this release: * highlighting: new colors for user defined list of types (defaults to basic types in object.d, see http://www.dsource.org/projects/visuald/wiki/Tour/Editor) * disabled versions: fixed wrong highlighting when editing before conditional * fixed freeze in startup due to thread starting issues (probably only happened with more than 2 cores) * added C++ to D conversion wizard * added installation for Visual Studio 11 * tweaked dialogs to better integrate with VS Visual D is a Visual Studio package providing both project management and language services for the D programming language. It works with Visual Studio 2005, 2008 and 2010 as well as the free Visual Studio Shells. The Visual D installer can be downloaded from its website at http://www.dsource.org/projects/visuald Happy coding, Rainer
Dec 03 2011
Am 03.12.2011 11:13, schrieb Rainer Schuetze:Hi, with the recent initiatives to create bindings to C libraries and port C/C++ code to D, I thought the integration into Visual D of some tools written some time ago could be helpful. It proved to be a bit more work than expected to get them in shape, but finally the C++ to D converter seems usable. Read more about it here: http://www.dsource.org/projects/visuald/wiki/Tour/CppConversionHi, I am really curious about the C++ to D converter, but I can't find a menu entry for it in the Visual D submenu. Do I have to enable something, somewhere ? best, Adrian.
Dec 03 2011
On 03.12.2011 12:04, Adrian wrote:Am 03.12.2011 11:13, schrieb Rainer Schuetze:Hmmm, should appear as "C++ conversion wizard" in the Visual D menu. It might be an update issue of the menu, it is cached by Visual Studio. What version of Visual Studio are you using? You should also find a command "VisualD.ConversionWizard" in the keyboard assignment dialog.Hi, with the recent initiatives to create bindings to C libraries and port C/C++ code to D, I thought the integration into Visual D of some tools written some time ago could be helpful. It proved to be a bit more work than expected to get them in shape, but finally the C++ to D converter seems usable. Read more about it here: http://www.dsource.org/projects/visuald/wiki/Tour/CppConversionHi, I am really curious about the C++ to D converter, but I can't find a menu entry for it in the Visual D submenu. Do I have to enable something, somewhere ? best, Adrian.
Dec 03 2011
i neither see the menu entry nor the command assignment, too. i'm using the vs shell 2008.
Dec 03 2011
On 3. 12. 2011 16:02, Mirko Pilger wrote:i neither see the menu entry nor the command assignment, too. i'm using the vs shell 2008.I don't see it either after upgrading from previous version in vs shell 2010
Dec 03 2011
I can confirm the problem on another computer. I'll look into it... On 03.12.2011 16:02, Mirko Pilger wrote:i neither see the menu entry nor the command assignment, too. i'm using the vs shell 2008.
Dec 03 2011
Should be fixed now, I've replaced the installer. I also noticed that the fonts in the dialogs look ugly on XP (I have tweaked it on Win7), I still have to figure out what fonts VS is using. On 03.12.2011 16:27, Rainer Schuetze wrote:I can confirm the problem on another computer. I'll look into it... On 03.12.2011 16:02, Mirko Pilger wrote:i neither see the menu entry nor the command assignment, too. i'm using the vs shell 2008.
Dec 03 2011
Should be fixed now, I've replaced the installer.i can confirm this for vs shell 2008 on win xp sp3. i'll give it a shot and feed it some c++ code later this evening. thanks for your work.
Dec 03 2011
Am 03.12.2011 16:38, schrieb Rainer Schuetze:Should be fixed now, I've replaced the installer. I also noticed that the fonts in the dialogs look ugly on XP (I have tweaked it on Win7), I still have to figure out what fonts VS is using. On 03.12.2011 16:27, Rainer Schuetze wrote:Thanks, it works now - a very nice tool ! Cheers, Adrian.I can confirm the problem on another computer. I'll look into it... On 03.12.2011 16:02, Mirko Pilger wrote:i neither see the menu entry nor the command assignment, too. i'm using the vs shell 2008.
Dec 04 2011
On Sat, 03 Dec 2011 12:13:03 +0200, Rainer Schuetze <r.sagitario gmx.de> wrote:C++ to D converterStep 1: Use C++ to D converter on DMD source code Step 2: Integrate ported DMD source code into Visual D for perfect semantic features Step 3: ??? Step 4: Profit! But seriously, great work! -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Dec 03 2011
On 03.12.2011 16:53, Vladimir Panteleev wrote:On Sat, 03 Dec 2011 12:13:03 +0200, Rainer Schuetze <r.sagitario gmx.de> wrote:That was also my idea 2 years ago when I wrote most of the converter, but I am no longer sure the dmd code would work so well in an IDE.C++ to D converterStep 1: Use C++ to D converter on DMD source code Step 2: Integrate ported DMD source code into Visual D for perfect semantic featuresStep 3: ??? Step 4: Profit! But seriously, great work!Thanks.
Dec 03 2011
Rainer Schuetze:http://www.dsource.org/projects/visuald/wiki/Tour/CppConversion There is also a command line version available for those not working with Visual Studio.It seems a nice tool. If I try it on this C++ code: enum Foos { A, B }; char *Colors[] = {"red", "blue", "green"}; int main() { return 0; } It outputs: module test; enum Foos { A, B }; char *Colors[] = {"red", "blue", "green"}; int main() { return 0; } Bye, bearophile
Dec 03 2011
On 04.12.2011 06:30, bearophile wrote:Rainer Schuetze:I would have expected it to convert the braces into brackets. It does not seem to work with pointer types, while if you specify "string" as a value type, string Colors[] = {"red", "blue", "green"}; converts to string Colors[] = ["red", "blue", "green"]; It would be nice if it could count the elements in the array.http://www.dsource.org/projects/visuald/wiki/Tour/CppConversion There is also a command line version available for those not working with Visual Studio.It seems a nice tool. If I try it on this C++ code: enum Foos { A, B }; char *Colors[] = {"red", "blue", "green"}; int main() { return 0; } It outputs: module test; enum Foos { A, B }; char *Colors[] = {"red", "blue", "green"}; int main() { return 0; }
Dec 03 2011