Is there a place I can find Backus–Naur Form or BNF grammars for popular languages? Whenever I do a search I don\'t turn up much, but I figure they must be published somewh
FWIW, the MySQL grammar file (mysql-server/sql/sql_yacc.y) is open source and browseable at launchpad.net (though it's a bit slow and I got an error when I tried to pull up the specific file).
Also, a snapshot of the whole MySQL Server source is downloadable from dev.mysql.com.