dmdscript osx.mak

Robert Clipsham robert at octarineparrot.com
Sat Jun 18 13:52:30 PDT 2011


On 18/06/2011 21:50, Robert Clipsham wrote:
> On 18/06/2011 07:35, Joshua Niehus wrote:
>> Hello,
>>
>> I apologize if this is the wrong forum to post this question, but I
>> couldn't find a corresponding learn mailing list for DMDScript.
>>
>> I wanted to play around with DMDScript but cant seem to get started. I
>> downloaded the source and attempted to make it via:
>> $ make -f osx.mak
>>
>> But I get the following error:
>> textgen.d(132): Error: cannot implicitly convert expression ~ some
>> string ~ of type string to char[]
>> Am I doing the right thing? Or how do I go about getting building 'ds'
>> so I can run simpleton scripts?
>>
>> Josh
>
> dmdscript is designed for D1, you're using D2. Someone has updated
> dmdscript for D2, there's an announcement on digitalmars.D.announce
> about it somewhere. Using that version will fix your issues.
>

http://dsource.org/projects/dmdscript-2/wiki <= there you go. I should 
probably note that if you plan on doing anything serious, you'd be 
better off writing a D wrapper for V8 or one of the other modern 
javascript engines.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d-learn mailing list