Thread overview
Code Generation
May 07, 2006
Tony
May 07, 2006
dennis luehring
May 07, 2006
Walter Bright
May 07, 2006
What support does D provide for runtime code generation?

That is, if I wrote an application that responded to user input by generating code, what aspects of D would make this easier?

Tony
Melbourne, Australia


May 07, 2006
Tony schrieb:
> What support does D provide for runtime code generation?

no support - i hope D will get support for compiletime generators (and compiletime reflection system)

> That is, if I wrote an application that responded to user input by generating code, what aspects of D would make this easier?

more detailed example?

> Tony
> Melbourne, Australia 
May 07, 2006
Tony wrote:
> What support does D provide for runtime code generation?

None.

> That is, if I wrote an application that responded to user input by generating code, what aspects of D would make this easier?

You can use the dscript engine, www.digitalmars.com/dscript, to do this (dscript is a javascript interpreter).