I'm looking for a parser for C. Here is what I need:
- Written in C (not C++).
- Handwritten (not generated).
- BSD or similarly permissive license.
- Capable of nontrivially parsing itself (can be a subset of C).
It can be part of a project as long as it's decoupled so that I can pull out the parser.
Is there an existing parser that fulfills these requirements?