Synalysis grammar file
From Just Solve the File Format Problem
Revision as of 21:06, 24 January 2015 by Dan Tobias (Talk | contribs)
Synalize It/Hexinator grammar files are used by the Synalize It and Hexinator programs 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.