Synalysis grammar file

Synalysis grammar files are used by the Synalize It! and Hexinator programs (both from Synalysis) to parse file formats for display. These related programs are "hex editors" that display the raw contents of a file, but also provide the means to analyze the file in accordance with a file format specification, color-coding the raw bytes and providing sidebars giving the values of parsed fields. Grammar files are how file formats are defined for these programs, using an XML-based format defining specified binary fields, as well as allowing the embedding of program code in Python or Lua in order to perform more sophisticated parsing.

Links

 * Synalize It grammars (downloadable for many file formats)
 * Hexinator