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

> Yes parsing C is non-trivial, but that’s true of every language.

Not sure about this. C is ambiguous without a symbol table, and the preprocessor is necessary for populating that. Parsing against all of the correct headers (e.g. libc, kernel headers) with correct macro values is tough.

Most languages' concrete syntax treat type references in an unambiguous way (e.g. separating them from values with `:`), which is just much easier.



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

Search: