2 ms·
Of all the pitfalls how can the text replace preprocessor be the hard part? Just apply the preprocessor on any input before the rest of the processing. The pro
by rightbyte 7y ago
Of all the pitfalls how can the text replace preprocessor be the hard part? Just apply the preprocessor on any input before the rest of the processing.
The project looks kinda cool. I wonder if I could hack it for "real time feedback" of c code in Eclipse some how.
- pfdietz 7y agoThat's fine if you want to compile or interpret the program for a particular set of definitions. It's not so good if you want to manipulate the program text as a structured object.
- userbinator 7y agoThat's fine if you want to compile or interpret the program for a particular set of definitions. That's what this does. No one said anything about your second point.
- pfdietz 7y agoI was pointing out a problem with C parsers. This is not really the tool's fault; it's a problem with the design of C itself. One would not have this problem with, say, Java. I don't much like preprocessors for this reason.