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

A reason for simple parsing is to make the toolchain for the language easier. And in particular, you don't want a preprocessor. Try to parse your program into an AST? You can't in C/C++ in general -- you can only parse it for a particular set of preprocessor defines, which will leave out large chunks that were deleted during preprocessing.


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

Search: