Among the C-syntax family of languages (C, C++, Java, C#, ObjC, JS, AS, …), which have a preprocessor compatible (to whatever extent) with the C preprocessor?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Objective C is a superset of the C language and was initially implemented as an additional preprocessor to C code. It is fully compatible with C preprocessor.
None of the others you name have preprocessors compatible with the C spec. Keep in mind that preprocessors are an assembler/compiler-specific thing in many cases, and the functionality you are looking for may or may not be found in different, proprietary IDEs/Compilers.
Of course, C++ is 100% (more or less) compatible as well.