Synalysis grammar file
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
(Updated category) |
||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
− | |subcat= | + | |subcat=Schema formats |
|extensions={{ext|grammar}} | |extensions={{ext|grammar}} | ||
}} | }} |
Latest revision as of 16:34, 14 August 2017
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.