kaitai

https://kaitai.io/ https://github.com/kaitai-io/kaitai_struct

use yml to define lang-indep struct binary with auto gen-ed serialization & deserialization

wings

https://wings.sh/ https://github.com/binhonglee/wings

use one file (named *.wings) to generate kinds of definitions for different langs