November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
What kind of macro systems are you talking about? C-like macros? Assembly macros? Lisp... | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
Again, I reiterate what experience shows happens with macro systems in the long term. | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...you... that this is precisely something that *should* be done with a library-defined macro. | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...this. I've not only extensively used macro systems, I've designed two successful ones... | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...name of the function. With AST macros: macro namespace (Context context, Ast!(string) name, Declaration... | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
I think the whole point of macro is to NOT add too much feature to... | |||
November 14, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...skeptical of the value of an AST macro that took 3+4 and changed it... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...on the same stage as mixins. All macro invocations are already checked. They're lexed... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...http://wiki.dlang.org/DIP50#The_AST_Macro Instead of "<[ a + b ]>" you would do... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...the macro itself. Perhaps it should be explored a forced parsing and validation of macro... | |||
Copyright © 1999-2021 by the D Language Foundation