Re: Getting constructor's metadata

2009-10-09 Thread Max Samukha
On Thu, 08 Oct 2009 18:46:08 -0400, Christopher Wright dhase...@gmail.com wrote: Max Samukha wrote: Is it possible to get types or aliases of all constructors of a class in D2? No. __traits has some random functionality in this regard. It has a command getVirtualFunctions which only returns

Re: How about macro == symbol for mixin statement? [was Re: Member functions C to D]

2009-10-09 Thread Yigal Chripun
On 09/10/2009 00:38, Christopher Wright wrote: Bill Baxter wrote: It seems macros are implemented as compiler extensions. You compile your macros into DLLs first, that then get loaded into the compiler as plugins. On the plus side, doing things that way you really do have access to any API you

Re: How about macro == symbol for mixin statement? [was Re: Member functions C to D]

2009-10-09 Thread Yigal Chripun
On 08/10/2009 17:25, Don wrote: Jarrett Billingsley wrote: On Thu, Oct 8, 2009 at 4:00 AM, Don nos...@nospam.com wrote: So it looks to me like the mechanics of it are basically identical. Just Nemerle's syntax is nicer. Only with trivial examples. With more complicated examples they look

Re: How about macro == symbol for mixin statement? [was Re: Member functions C to D]

2009-10-09 Thread Christopher Wright
Yigal Chripun wrote: On 09/10/2009 00:38, Christopher Wright wrote: It makes macros highly compiler-specific, or requires the compiler's AST to be part of the language. Nemerle took the nuclear option, and its macros are all-powerful. That's a reasonable way of doing things. I'd be happy with