Windows batch file to compile D code

simendsjo simendsjo at gmail.com
Thu May 3 11:55:16 PDT 2012


On Thu, 03 May 2012 15:29:07 +0200, David <d at dav1d.de> wrote:

> Am 03.05.2012 14:31, schrieb Iain Staffell:
>> Hi all.
>>
>> I have been trying (quite badly) to get started with D for a while.
>>
>> On my first attempt I gave up before even compiling Hello World, because
>> it was too difficult to find out how to even compile a program in
>> Windows. (I know.. I said I was bad at this..)
>>
>> Second time around I tried harder, and wrote a Windows batch file to
>> make compiling and running my code easier. No messing around with PATH
>> variables or things like that, too difficult.
>>
>> I have been playing around with this for a year or so now, and thought
>> it might be useful to someone else trying to learn D. So here is a batch
>> file that will automatically compile and run your D code.
>>
>> If you're interested: save http://wogone.com/code/D2.BAT.TXT to your
>> computer, rename to D2.BAT, then run D2 from a command prompt for
>> further instructions.
>>
>> Hope someone finds it useful, and not too buggy! Any comments or
>> improvements are more than welcome.
> rdmd? http://dlang.org/rdmd.html

And dvm: https://github.com/jacob-carlborg/dvm


More information about the Digitalmars-d mailing list