On 12/3/2012 3:42 PM, Gregory P. Smith wrote:
All the core devs I've asked said "given all that, I'd prefer the
hairy preprocessor macros". But by the end of the conversation
they'd changed their minds to prefer the custom DSL. Maybe I'll
make a believer out of you too--read on!
It always strikes me that C++ could be such a DSL that could likely be
used for this purpose rather than defining and maintaining our own
"yet another C preprocessor" step. But I don't have suggestions and
we're not allowing C++ so... nevermind. :)
C++ has enough power to delude many (including me) into thinking that it
could be used this way.... but in my experience, it isn't quite there.
There isn't quite enough distinction between various integral types to
achieve the goals I once had, anyway... and that was some 15 years
ago... but for compatibility reasons, I doubt it has improved in that area.
Glenn
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com