www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Code Generation

reply "Tony" <ignorethis nowhere.com> writes:
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
next sibling parent dennis luehring <dl.soluz gmx.net> writes:
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
prev sibling parent Walter Bright <newshound digitalmars.com> writes:
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).
May 07 2006