Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



That'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.


That'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.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: