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

Just read the code for an existing one like:

https://github.com/dlang/dmd/blob/master/src/dmd/cparse.d

which is a C parser. It's not hard to follow.



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

Search: