Is D suitable for my latest project?
BBasile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Sep 6 07:45:43 PDT 2015
On Sunday, 6 September 2015 at 14:36:53 UTC, chris stevens wrote:
> - dynamic creation of classes/structs at runtime.
You have Object.factory for this. You can also use a custom
factory based on string comparison. (with some: static
if(condition) return new This; else static if(otherCondition)
return new That; etc).
> - dynamic compilation of code files at runtime
use std.process to call a compiler.
> - some basic code creation tools
if you mean to generate code as string, writing them to a file,
of course it will work in D.
More information about the Digitalmars-d-learn
mailing list