I am with Jacob here. Making custom parser for binding generator is both waste of an effort and practically unreliable (you have listed some of issues). I would personally not trust one that is not based on some mature C compiler.