I am trying to write a tool that can compare a database’s schema to the SQL in an install script. Getting the information from the database is pretty straightforward but I am having a little trouble parsing the install scripts.
I have played with a few of the parsers that show up on Google but they seemed somewhat incomplete. Ideally I would like to find an open source parser that is fairly stable and has half decent documentation.
Also, I am not really concerned about types and syntax that specific to certain databases. The databases that need to be check are pretty simple.