www.digitalmars.com         C & C++   DMDScript  

DMDScript - Embedding DMDScript?

reply "Robert M. Münch" <robert.muench robertmuench.de> writes:
Hi, I just tried DMDScript with IE. Cool thing! Can someone explain to me
how the browser DOM is brought into the script-engine so that it can be
accessed? Is there a generic way to provide object-models to the
script-engine? Could this approach be used to bring the IE DOM into other
programs as well?

--
Robert M. Münch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax   : +49 (0)721 8408 9112
Web   : http://www.robertmuench.de
Jun 20 2002
parent reply "Walter" <walter digitalmars.com> writes:
"Robert M. Münch" <robert.muench robertmuench.de> wrote in message
news:aesmeo$1kh1$1 digitaldaemon.com...
 Hi, I just tried DMDScript with IE. Cool thing! Can someone explain to me
 how the browser DOM is brought into the script-engine so that it can be
 accessed? Is there a generic way to provide object-models to the
 script-engine? Could this approach be used to bring the IE DOM into other
 programs as well?

That is a very complex subject. The answer is to do google searches on "script host", "IActiveScriptHost" and similar things. Unfortunately, the info on how to do this is spread all over the net, there's no one source.
Jun 20 2002
next sibling parent "Robert M. Münch" <robert.muench robertmuench.de> writes:
"Walter" <walter digitalmars.com> schrieb im Newsbeitrag
news:aesqic$1ou8$1 digitaldaemon.com...

 That is a very complex subject. The answer is to do google searches on
 "script host", "IActiveScriptHost" and similar things. Unfortunately, the
 info on how to do this is spread all over the net, there's no one source.

Thanks for the anchor to start with. I'll dig around a bit. Maybe it's good idea to write a FAQ about this ;-)) Robert
Jun 20 2002
prev sibling parent reply "Robert M. Münch" <robert.muench robertmuench.de> writes:
"Walter" <walter digitalmars.com> schrieb im Newsbeitrag
news:aesqic$1ou8$1 digitaldaemon.com...

 That is a very complex subject. The answer is to do google searches on
 "script host", "IActiveScriptHost" and similar things. Unfortunately, the
 info on how to do this is spread all over the net, there's no one source.

Well, at least what I have found is a text from Netscape about embedding their JS engine into C programs. When we will see D embeddabel DMScript engine? Wouldn't this be cool? IMO when adding script capabilities to a program the scripting language should use an existing standard... Robert
Jun 20 2002
parent reply "Walter" <walter digitalmars.com> writes:
"Robert M. Münch" <robert.muench robertmuench.de> wrote in message
news:aet94o$27hr$1 digitaldaemon.com...
 Well, at least what I have found is a text from Netscape about embedding
 their JS engine into C programs. When we will see D embeddabel DMScript
 engine? Wouldn't this be cool? IMO when adding script capabilities to a
 program the scripting language should use an existing standard... Robert

It is a cool idea and one I intent to pursue.
Jun 30 2002
parent reply "Robert M. Münch" <robert.muench robertmuench.de> writes:
"Walter" <walter digitalmars.com> schrieb im Newsbeitrag
news:afop7v$76u$1 digitaldaemon.com...

 It is a cool idea and one I intent to pursue.

Great! I hope we get access to the D object-model or something like this, so interfacing a D program with ECMAScript will become easy. IMO a very powerful combination not seen anywhere else yet. Any chance to get my own hands on this topic for experimenting? Robert
Jul 01 2002
parent "Walter" <walter digitalmars.com> writes:
"Robert M. Münch" <robert.muench robertmuench.de> wrote in message
news:afp96d$1bpl$1 digitaldaemon.com...
 "Walter" <walter digitalmars.com> schrieb im Newsbeitrag
 news:afop7v$76u$1 digitaldaemon.com...
 It is a cool idea and one I intent to pursue.


 interfacing a D program with ECMAScript will become easy. IMO a very
 powerful combination not seen anywhere else yet. Any chance to get my own
 hands on this topic for experimenting? Robert

It's going to have to wait a bit, I don't think I can get to it until the end of the summer.
Jul 01 2002