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

A parser for C does not need a semantic analyzer. What C does it allows semantic analysis to be integrated into the parser.

The preprocessor has some weird behavior, it it is also not very complicated.

And I would argue that the abstract machine model of C is still relatively simple. There are are certainly simpler languages in this regard, but they give up one of the key powers of C, i.e. that you can manipulate the representation of objects on a byte level.



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

Search: