DIP 50 - AST macros

Walter Bright newshound2 at digitalmars.com
Tue Nov 12 02:03:11 PST 2013


On 11/12/2013 1:55 AM, Walter Bright wrote:
> I forgot to mention that "expression templates" can be used in D in an
> equivalent manner that they are used in C++, and can cover much of the
> functionality used in AST macros.
>
> Eric Anderton who wrote a regex expression template module a few years back:
>
> http://www.dsource.org/projects/ddl/browser/trunk/meta/regex.d

Here's a project to add Linq support to C++:

http://www.codeproject.com/Articles/17844/CLinq-LINQ-support-for-the-C-CLI-language

There's also:

http://pfultz2.github.io/Linq/

https://github.com/hjiang/linqxx/wiki



More information about the Digitalmars-d mailing list