Writing pattern matching macros in D.

Deech via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Mar 5 18:20:02 PST 2017


Hi all,
I've been reading up on D's metaprogramming features and was 
wondering if it was possible to use them to add pattern matching 
to the language as a macro. The template mixin feature seems to 
require putting the new syntax in strings. I was hoping there's 
an alternative.
Thanks!
-deech


More information about the Digitalmars-d-learn mailing list