Thesis on metaprogramming in D
Andrey Khropov
andkhropov_nosp at m_mtu-net.ru
Tue Nov 28 03:38:03 PST 2006
Steve Horne wrote:
> My view of the ideal handling of metaprogramming is that it should
> have access to all the features that are available at runtime. The
> only languages that I know that genuinely achieve that are the
> Lisp-alikes such as Scheme.
>
> My ideal is being able to define 'quoted' blocks that are parsed and
> translated to ASTs, with those ASTs being processed by other code to
> derive new ASTs which are then submitted for the final back-end
> optimisation and code generation.
Nemerle does exactly that way!
--
AKhropov
More information about the Digitalmars-d
mailing list