Re:What type of Machine is the C Preprocessor?
by akjj on Monday January 27, 2014 @05:34PM
(#7133836)
C++ and Objective-C both began as preprocessors for C.
[ Parent
| on HN ]
Re:What type of Machine is the C Preprocessor?
by NAFV_P on Monday January 27, 2014 @06:26PM
(#7134135)
Wow, it's surprising what you can do with it.
Re:What type of Machine is the C Preprocessor?
by tbirdz on Monday January 27, 2014 @07:45PM
(#7134457)
Just to clarify a bit, C++ and Objective were not written in the C pre-processor, but rather implemented as their own pre-processor program, analogous to Qt's moc.
Re:What type of Machine is the C Preprocessor?
by craigching on Monday January 27, 2014 @09:46PM
(#7134987)
Yes like Cfront [1]. I used that back in the day, the pain of it caused me to rewrite all my C++ in C though :p Call me a coward!
Re:What type of Machine is the C Preprocessor?
by NAFV_P on Tuesday January 28, 2014 @04:43AM
(#7136236)
> Just to clarify a bit, C++ and Objective were not written in the C pre-processor, but rather implemented as their own pre-processor program, analogous to Qt's moc.
I bet these pre-processor programs were themselves written in C.