digitalmars.D.learn - dmdscript osx.mak
- Joshua Niehus (12/12) Jun 17 2011 Hello,
- Robert Clipsham (7/19) Jun 18 2011 dmdscript is designed for D1, you're using D2. Someone has updated
- Robert Clipsham (8/28) Jun 18 2011 http://dsource.org/projects/dmdscript-2/wiki <= there you go. I should
- Dmitry Olshansky (12/24) Jun 18 2011 It's pretty much like Robert says: original source for DMDscript is for...
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
Jun 17 2011
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? Joshdmdscript 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. -- Robert http://octarineparrot.com/
Jun 18 2011
On 18/06/2011 21:50, Robert Clipsham wrote:On 18/06/2011 07:35, Joshua Niehus wrote: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/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? Joshdmdscript 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.
Jun 18 2011
On 18.06.2011 10: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? JoshIt's pretty much like Robert says: original source for DMDscript is for D1 and wasn't update for quite some time. Still the D2 port should work with no problems. And even though I did it in the first place, the only benefit of it right now is that it's written in D and thus could be integrated with D projects slightly better. Still if you are up for some hacking give it a try. As for speed, yeah, it's something like around 20-200x slower at various workloads (e.g. numerics in JavaScript and such), so wouldn't recommend if you have performance in mind. -- Dmitry Olshansky
Jun 18 2011