Ask HN: Is there a tool to generate binary protocol figures out of a spec?
source link: https://news.ycombinator.com/item?id=30895905
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Ask HN: Is there a tool to generate binary protocol figures out of a spec?
Ask HN: Is there a tool to generate binary protocol figures out of a spec? 11 points by vodou 1 hour ago | hide | past | favorite | 2 comments I need to document quite many different binary formats and would like to present them with a figure visualizing the different fields, their length and names.
Similar to how internet protocols are presented in RFC documents, but rather not in text mode. Preferably in some vector format, like SVG, to make it easy to embed these figures in different kind of documents.
Up to now I have mainly used Microsoft Visio or even Excel for this. This is very tedious and ineffective. I think there must exist a tool for this where you just define the protocol (e.g. using Kaitai Struct syntax or something simlar) and then generate the protocol figure.
So far I have only found tools for generating such figures in text format.
Any suggestions?
Edited to add: it’s the graphviz generator -> https://thrift.apache.org/tutorial/graphviz.html
I’d guess gRPC and other such IDLs have a way to render similar things as well.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Search:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK