Wednesday, February 27, 2008
Lack of BNF Grammar for Mumps
In my quest to find a document generator for mumps, I've found that there's nothing really built for it. Doxygen looks great, but only supports C/C++ style languages. The Doxygen faq says to use an input transform (their term, not fileman!) to translate your language into a C style. So I figure well, if I gotta do that, might as well write my own parser. So the logical place is to start with a grammar. But guess what? There is no BNF grammar for mumps to be found. Supposedly it's part of the ANSI and ISO standards, both of which you have to pay to receive a copy of. Through my searching, I've discovered that supposedly the MDC decided to keep all non-ansi/iso copies of the mumps BNF grammar on paper only, no electronic form available. Other people that have asked for the grammar have been told to look at a vendor specific implementation, and infer the grammar from that. Great.