I'm analysing an undocumented file format. Is there a standard documentation format for file formats I can write up? Something of this level of complexity and detail? What I have in my mind is,
!Global: Encoded in ASCII (unless specified otherwise)
Address: 0x12345670 - metadata, until the delimiter of "|"
Address: 0x12345670+, after delimiter of "|" - media container
...
Address: 0x23456780 - 32-bit pointer to the splash image
etc etc
The closest I could find is: creating your own syntax files in Vim (which is rather simple and editors-oriented, so the users could edit files with comfort) and TrID headers (which are limited to the headers only)