www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

DMDScript - Calling DMDScript from D with eval()?

↑ ↓ ← bobef <bobef lessequal.com> writes:
I think there was eval() function in some javascript version. Is there 
such in DMDScript? And if it is - is it 'callable' from D?
Jun 17 2005
↑ ↓ "Walter" <newshound digitalmars.com> writes:
"bobef" <bobef lessequal.com> wrote in message
news:d8ucqs$166c$1 digitaldaemon.com...
 I think there was eval() function in some javascript version. Is there
 such in DMDScript?

Yes.
 And if it is - is it 'callable' from D?

Not directly. It still needs the engine to be set up first.
Jun 18 2005
↑ ↓ → bobef <bobef lessequal.com> writes:
Walter wrote:
 "bobef" <bobef lessequal.com> wrote in message
 news:d8ucqs$166c$1 digitaldaemon.com...
 
I think there was eval() function in some javascript version. Is there
such in DMDScript?

Yes.
And if it is - is it 'callable' from D?

Not directly. It still needs the engine to be set up first.

Maybe if you make such function to be called directly from D, although it will be bit slower maybe, it will answer most of the questions "how to call this, how to call that from D"...
Jun 20 2005