Am 28.03.2010 23:54, schrieb Bernard Helyer:
On 29/03/10 08:24, Matthias Pleh wrote:
Hey all,
as I already posted in D.ide newsgroup, I am working on an improvement
for D support in the codeblocks IDE.
Now I've made a patch and posted it in the codeblocks forum:
I think it would be pretty great if you could add functions, etc., to
the scripting language with a simple one liner:
mixin makeAccessibleFromScript!(scriptEngine, foo);
Or something similar. The template there could mix in a wrapper
function for whatever foo() happens to be, and register it
On 29/03/10 18:41, Adam Ruppe wrote:
I think it would be pretty great if you could add functions, etc., to
the scripting language with a simple one liner:
mixin makeAccessibleFromScript!(scriptEngine, foo);
You can do with with MiniD, LuaD, PyD, Monster, and possibly others to
allow you to
On Sun, 28 Mar 2010 16:24:30 -0300, Matthias Pleh matthias.p...@gmx.at
wrote:
Hey all,
as I already posted in D.ide newsgroup, I am working on an improvement
for D support in the codeblocks IDE.
Now I've made a patch and posted it in the codeblocks forum:
On 29/03/10 19:30, Adam D. Ruppe wrote:
On Mon, Mar 29, 2010 at 06:49:35PM +0100, Robert Clipsham wrote:
I haven't played with dmdscript, but
I'd guess there's a simple way to expose D functions to it.
It isn't terribly complex, but it is a bit wordy. The docs are
here:
On Mon, Mar 29, 2010 at 07:45:39PM +0100, Robert Clipsham wrote:
You could always write a nice wrapper function/template which
automatically does all that guff for you :) If you do, I'm sure Walter
wouldn't mind adding it into dmdscript providing you license it
appropriately :)
Yup, that's
On 29/03/10 20:07, Adam D. Ruppe wrote:
On Mon, Mar 29, 2010 at 07:45:39PM +0100, Robert Clipsham wrote:
You could always write a nice wrapper function/template which
automatically does all that guff for you :) If you do, I'm sure Walter
wouldn't mind adding it into dmdscript providing you
Am 29.03.2010 18:51, schrieb Robert Jacques:
On Sun, 28 Mar 2010 16:24:30 -0300, Matthias Pleh matthias.p...@gmx.at
wrote:
Hey all,
as I already posted in D.ide newsgroup, I am working on an improvement
for D support in the codeblocks IDE.
Now I've made a patch and posted it in the codeblocks
Walter Bright Wrote:
strtr wrote:
Walter Bright Wrote:
http://www.digitalmars.com/dscript/index.html
Would it be possible to have some sort of scripting as part of D?
What did you have in mind?
Scripting in de form of a dialect/subset of D in the std/language.
I don't know enough
strtr wrote:
Scripting in de form of a dialect/subset of D in the std/language.
I don't know enough about scripting to say anything specific/useful.
It's just that if scripting were part of D, I would have used it already where
the possibilities mentioned by Robert Clipsham just look that much
Walter Bright Wrote:
strtr wrote:
Scripting in de form of a dialect/subset of D in the std/language.
I don't know enough about scripting to say anything specific/useful.
It's just that if scripting were part of D, I would have used it already
where the possibilities mentioned by Robert
Walter Bright:
I thought about that a lot, but CTFE seems to fill that gap well enough.
CTFE works at compile-time, while people add scripting languages like Python,
JavaScript, Groovy, Jpython, Jruby, etc, to run-time C/C++/Java code for other
purposes. For example games are often written in
12 matches
Mail list logo