News for hackers. Stuff that matters.
Re:The Grep Test by MBlume on Friday July 12, 2013 @02:47PM (#6034348)
If your metaprogramming is happening at compile time, and your AST savvy tools are savvy enough to work on the final (all macros evaluated) form of the code, then I don't see why they should fail?
Re:The Grep Test by arh68 on Friday July 12, 2013 @09:16PM (#6036315)
If you wait until the final form of the code, it would seem very difficult to trace back from function symbol to its generating/binding macro. That is, how do you know which macro bound a specific function? Hope for no ambiguities, I suppose. Maybe it's not a problem, but I'd think the main point of such a grep tool is to point back to the originating code, right? Merely detecting that a specific function symbol is bound is not quite the same.
Re:The Grep Test by mvc on Saturday July 13, 2013 @10:34AM (#6037608)
Smuglispweeny? Unfortunately, a lot of metaprogramming is done in languages that don't even have a "compile time" never mind providing a hook to metaprogram in it.
Re:The Grep Test by brazzy on Friday July 12, 2013 @04:54PM (#6035128)
compile-time metaprogramming is far more tractable, yes.