I need to write parser for Bison and Lemon grammar files. I'm looking for specification or grammar of these files format. Any links will be helpful.
It is easy to get a grammar of Bison as it is bootstrapped: just get its parser from the repository.