D run-time interpretation
Jacob via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 6 12:42:07 PDT 2015
There are many programs out there that use some sort of scripting
capabilities.
I've been wanting to write an app that exposes a scripting like
environment D, lua, or some other fast language to the user.
But there are two requirements:
1. The user has access to all objects created in app. e.g., if I
create a class X in the app then the user can instantiate X in
the script without having to recreate it. (the script then, is
sort of an extension of the app)
I don't mind actually having to expose X to the script, but it
should be easy.
2. It should be fast. When it is "recompiled" it shouldn't take
more than a few seconds. It also shouldn't require a
re-initialization of everything.
Can D do this easily?
More information about the Digitalmars-d
mailing list