www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - using DMDScript in D

reply bobef <bobef_member pathlink.com> writes:
OK. It's cool. I asked Walter some time ago if this will happen someday and now
I am glad that DMDScript is available for D. But I could not find how to use it
from D. Program.compile() and Program.execute() are all right but how to call
custom D functions from the script and vice versa? Without this I can't think of
possible use of the script... Printing lines with script? Anyone knows something
about this?
Jan 20 2005
parent reply "Walter" <newshound digitalmars.com> writes:
"bobef" <bobef_member pathlink.com> wrote in message
news:csp4fc$nkt$1 digitaldaemon.com...
 OK. It's cool. I asked Walter some time ago if this will happen someday
and now
 I am glad that DMDScript is available for D. But I could not find how to
use it
 from D. Program.compile() and Program.execute() are all right but how to
call
 custom D functions from the script and vice versa? Without this I can't
think of
 possible use of the script... Printing lines with script? Anyone knows
something
 about this?
It's not hard. I just need to put together a page on how to do it.
Jan 20 2005
next sibling parent reply Carotinho <carotinobg yahoo.it> writes:
Hi!

Walter wrote:

 
 "bobef" <bobef_member pathlink.com> wrote in message
 news:csp4fc$nkt$1 digitaldaemon.com...
 OK. It's cool. I asked Walter some time ago if this will happen someday
and now
 I am glad that DMDScript is available for D. But I could not find how to
use it
 from D. Program.compile() and Program.execute() are all right but how to
call
 custom D functions from the script and vice versa? Without this I can't
think of
 possible use of the script... Printing lines with script? Anyone knows
something
 about this?
It's not hard. I just need to put together a page on how to do it.
Sorry if I don't know well the subject, but this means that DMDScript is suitable for any kind of scripting? I mean, it's not tied to web apps etc.? Byez! Carotinho
Jan 21 2005
parent reply "Walter" <newshound digitalmars.com> writes:
"Carotinho" <carotinobg yahoo.it> wrote in message
news:csrfua$fav$1 digitaldaemon.com...
 Hi!

 Walter wrote:
 It's not hard. I just need to put together a page on how to do it.
Sorry if I don't know well the subject, but this means that DMDScript is suitable for any kind of scripting?
Yes!
 I mean, it's not tied to web apps etc.?
Nope. It's a general purpose programming language.
Jan 21 2005
parent Carotinho <carotinobg yahoo.it> writes:
Hi!


Walter wrote:
 Nope. It's a general purpose programming language.
Good! What I was looking for: since it's tied with D, I don't have to wrap something else:) I'm slowly becoming a digital martian:))))) Carotinho
Jan 21 2005
prev sibling parent reply "Charles" <no email.com> writes:
 It's not hard. I just need to put together a page on how to do it.
Cool cant wait!
 Licenses are
 available for purchase from Digital Mars for use in commercial, closed
 source applications.
So we can't extend a closed source D application with DMDScript without buying a license ? Just wanting to clarify ( this little bit might put a serious hurt on widespread use ). Charlie "Walter" <newshound digitalmars.com> wrote in message news:cspa3j$v95$1 digitaldaemon.com...
 "bobef" <bobef_member pathlink.com> wrote in message
 news:csp4fc$nkt$1 digitaldaemon.com...
 OK. It's cool. I asked Walter some time ago if this will happen someday
and now
 I am glad that DMDScript is available for D. But I could not find how to
use it
 from D. Program.compile() and Program.execute() are all right but how to
call
 custom D functions from the script and vice versa? Without this I can't
think of
 possible use of the script... Printing lines with script? Anyone knows
something
 about this?
It's not hard. I just need to put together a page on how to do it.
Jan 21 2005
parent reply "Walter" <newshound digitalmars.com> writes:
"Charles" <no email.com> wrote in message
news:csruaf$12lb$1 digitaldaemon.com...
 It's not hard. I just need to put together a page on how to do it.
Cool cant wait!
 Licenses are
 available for purchase from Digital Mars for use in commercial, closed
 source applications.
So we can't extend a closed source D application with DMDScript without buying a license ? Just wanting to clarify ( this little bit might put a serious hurt on widespread use ).
That's correct. It's free if you want to experiment from it or use it to create free, open source applications. It's also free if you want to "try before you buy". You'll know exactly what you're getting and if it will work for you (it's hard to get any better than that!). But if you want to use it commercially, it's fair to charge a reasonable fee for it. After all, if you had to pay engineers to write one from scratch, it could easilly cost you a half million bucks. The quality of DMDScript exceeds that of other commercial javascript engines, hence it is very reasonably priced, and would not materially affect the bottom line of any serious commercial product. BTW, most GPL software is completely closed to commercial use. DMDScript is not so restricted.
Jan 21 2005
next sibling parent reply "Matthew" <admin.hat stlsoft.dot.org> writes:
So I can use it in Arturius (free utility)?

"Walter" <newshound digitalmars.com> wrote in message
news:css31c$186b$1 digitaldaemon.com...
 "Charles" <no email.com> wrote in message
 news:csruaf$12lb$1 digitaldaemon.com...
 It's not hard. I just need to put together a page on how to do it.
Cool cant wait!
 Licenses are
 available for purchase from Digital Mars for use in commercial, closed
 source applications.
So we can't extend a closed source D application with DMDScript without buying a license ? Just wanting to clarify ( this little bit might put a serious hurt on widespread use ).
That's correct. It's free if you want to experiment from it or use it to create free, open source applications. It's also free if you want to "try before you buy". You'll know exactly what you're getting and if it will work for you (it's hard to get any better than that!). But if you want to use it commercially, it's fair to charge a reasonable fee for it. After all, if you had to pay engineers to write one from scratch, it could easilly cost you a half million bucks. The quality of DMDScript exceeds that of other commercial javascript engines, hence it is very reasonably priced, and would not materially affect the bottom line of any serious commercial product. BTW, most GPL software is completely closed to commercial use. DMDScript is not so restricted.
Jan 21 2005
parent "Walter" <newshound digitalmars.com> writes:
Yes.

"Matthew" <admin.hat stlsoft.dot.org> wrote in message
news:css82c$1d1t$1 digitaldaemon.com...
 So I can use it in Arturius (free utility)?

 "Walter" <newshound digitalmars.com> wrote in message
news:css31c$186b$1 digitaldaemon.com...
 "Charles" <no email.com> wrote in message
 news:csruaf$12lb$1 digitaldaemon.com...
 It's not hard. I just need to put together a page on how to do it.
Cool cant wait!
 Licenses are
 available for purchase from Digital Mars for use in commercial,
closed
 source applications.
So we can't extend a closed source D application with DMDScript without buying a license ? Just wanting to clarify ( this little bit might put
a
 serious hurt on widespread use ).
That's correct. It's free if you want to experiment from it or use it to create free, open source applications. It's also free if you want to
"try
 before you buy". You'll know exactly what you're getting and if it will
work
 for you (it's hard to get any better than that!). But if you want to use
it
 commercially, it's fair to charge a reasonable fee for it. After all, if
you
 had to pay engineers to write one from scratch, it could easilly cost
you a
 half million bucks. The quality of DMDScript exceeds that of other
 commercial javascript engines, hence it is very reasonably priced, and
would
 not materially affect the bottom line of any serious commercial product.

 BTW, most GPL software is completely closed to commercial use. DMDScript
is
 not so restricted.
Jan 21 2005
prev sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
Walter wrote:
 "Charles" <no email.com> wrote in message
 news:csruaf$12lb$1 digitaldaemon.com...
 
It's not hard. I just need to put together a page on how to do it.
Cool cant wait!
Licenses are
available for purchase from Digital Mars for use in commercial, closed
source applications.
So we can't extend a closed source D application with DMDScript without buying a license ? Just wanting to clarify ( this little bit might put a serious hurt on widespread use ).
That's correct. It's free if you want to experiment from it or use it to create free, open source applications. It's also free if you want to "try before you buy". You'll know exactly what you're getting and if it will work for you (it's hard to get any better than that!). But if you want to use it commercially, it's fair to charge a reasonable fee for it. After all, if you had to pay engineers to write one from scratch, it could easilly cost you a half million bucks. The quality of DMDScript exceeds that of other commercial javascript engines, hence it is very reasonably priced, and would not materially affect the bottom line of any serious commercial product. BTW, most GPL software is completely closed to commercial use. DMDScript is not so restricted.
It's also a common way to do business in the Open Source world. Qt, Coin3d, mySQL, ReiserFS and eZ Publish are licensed equally (or similarily in the case of mySQL). If you completely own the code, you can release under as many licenses as you wish. Lars Ivar Igesund
Jan 22 2005