Macro Processing - Programming On Unix

Users browsing this thread: 1 Guest(s)
venam
Administrators
(06-06-2017, 12:43 PM)jkl Wrote: The "GCC one" is not a "C one" though.
Nice catch, yes different compilers might have different way of doing those preprocessing.

(06-06-2017, 12:43 PM)jkl Wrote: C happens to have built-in (sort of) macro processing as of C11 via _Generic.
That's cool, I had no idea this existed.
http://www.robertgamble.net/2012/01/c11-...tions.html
It's still pretty new, none of my libs in `/usr/include` uses them, which is not surprising.

(06-06-2017, 12:43 PM)jkl Wrote: By the way: lexers and macro processors are not necessarily the same thing.
Definitely. Maybe I shouldn't have brought them in the same discussion.

It would've been more appropriate to bring autoconf and makefiles.


Messages In This Thread
Macro Processing - by venam - 05-06-2017, 01:46 PM
RE: Macro Processing - by jkl - 06-06-2017, 12:43 PM
RE: Macro Processing - by venam - 06-06-2017, 01:24 PM
RE: Macro Processing - by yossarian - 06-06-2017, 01:57 PM