←back to thread

187 points xy2_ | 1 comments | | HN request time: 0.322s | source
Show context
netsharc ◴[] No.42075000[source]
Wow, I've never thought of it, but "syntax"-highlighting for binary files would be awesome.. e.g. "these bytes indicate the beginning of the next frame" (when talking about MP3/video files), maybe with mouseover support where it says e.g. "this value at this location indicates it's a $FOO variant of the file".

Anyone know of such a tool?

replies(3): >>42075030 #>>42075087 #>>42075347 #
frabert ◴[] No.42075030[source]
010 editor has something like this. Okteta too. They both use DSLs to represent formats
replies(1): >>42077501 #
1. AstroJetson ◴[] No.42077501[source]
+1 for the 010 editor. It comes with a number of pre-built binary templates, I use the sqlite one all the time. A recent upgrade got syntax coding by the tree-sitter environment, which is a great upgrade. Highly recommended.https://www.sweetscape.com/010editor/