shebang launcher for D programs

Anders F Björklund afb at algonet.se
Wed Mar 21 12:43:58 PDT 2007


Andrei Alexandrescu (See Website For Email) wrote:

> I used the shebang feature like this:
> 
> #!/usr/bin/env rdmd
> ... D code ...
> 
> Unfortunately, rdmd only works on single-file code. As soon as you try 
> to import another file of yours, rdmd won't handle that.

Where can I find the source code for the rdmd program, by the way ?
I seem to only find binaries for Windows and Linux, not for Mac :-)

Is it part of the back-end, or is it open source like the front-end ?

--anders



More information about the Digitalmars-d mailing list