zarr-developers / zarr-specs

Zarr core protocol for storage and retrieval of N-dimensional typed arrays
https://zarr-specs.readthedocs.io/
Other
81 stars 25 forks source link

Encode the specs into Kaitai Struct #109

Open KOLANICH opened 3 years ago

KOLANICH commented 3 years ago

Kaitai Struct is a declarative DSL for specifying both human-readable and machine-readable specs that can be compiled into ready-to-use parsers for multiple programming languages. It would be nice to specify Zarr in KS.

BTW, https://github.com/KOLANICH/kaitai_struct_formats/blob/numpy_npy/serialization/numpy_npy.ksy may be helpful for your task.

jakirkham commented 3 years ago

cc @rabernat (who has done some other spec doc work and may have thoughts here)