The answer can be very subjective. But I would recommend using ANTLR if you want to write a parser. ANTLR currently supports C, C #, ActionScript, JavaScript, and Java targets. In my experience, the Java version is really stable to use and has been used in many powerful open source projects, namely Drools and Hibernate .
source
share