Search

November 12, 2013
General »
...scala implemented macros as a plugin called macro paradise, which allowed people to play with...
November 11, 2013
General »
...marked, a naming convention (eg. prefix macro names with 'macro') can be used. (Enforcing such...
November 11, 2013
General »
...compiler consider it an error.
On the macro side of things we can build a...
November 11, 2013
General »
...error messages - or maybe recover from deep macro expansion etc...)

what you want is just...
November 11, 2013
General »
...destructor.

I would think something like this:

macro foreach (T) (Context context, Ast!(Symbol) var...
November 11, 2013
General »
...void func(int i) {
    bool b;
    macr {}
}

macro foo (Context context, Ast!(string) str)
{
    writeln...
November 11, 2013
General »
I made a suggestion regarding a macro able to get scoped variables from initiation point...
November 11, 2013
General »
...expression what was passed to the assert macro. Not the result of evaluating the expression...
November 11, 2013
General »
...asserts {
    x < y
    z == z
}

Where the macro would do something like this once converted...
November 11, 2013
General »
...message, along with all values appearing inside
macro myAssert:
x<y failed: x=..., y=...

myAssert...
146 147 148 149 150 151 152 153 154 155 156
Next ›   Last »