Once a programming language exposes a Turing complete macro system, the need arises for a Smalltalk-like meta-object protocol so that nested macros can negotiate with each other and the compiler itself. This is where things get tricky.
-
-
They cannot have lisp macro because ast reader is not dumb enough. So they're creating multiple workarounds to work on an already parsed and recognized tree.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Language papers often make my head spin, and while coding I'm usually bottle-necked by my brain's logical abilities, not lack of abstraction features in the language. But my guess: Pro C++ people would say reflection+metaclasses makes the most common situations easier and...
-
Pro LISP people would say it's not too hard to do even more with direct manipulation of syntax trees, although homoiconic languages with full quote support often have simpler syntaxes than C++.
End of conversation
New conversation -
-
-
@herbsutter Everything on that paper is amazing. I would love to have metaclasses like that.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think one of the tensions is in selecting familiar enough language that existing C++ programmers will have a lowered barrier to entry for submitting, reviewing and refining standard proposals. May be sacrificing alternatives to achieve this.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.