From 32aa4ca98434ec438f99b92d7fda6c3e7e5815f1 Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Wed, 4 Mar 2026 11:40:55 -0500 Subject: [PATCH] Enhance documentation on customizable sparse formats Clarify the optional nature of custom formats for parsers and specify error handling for unsupported tensor formats. --- spec/latest/index.bs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/latest/index.bs b/spec/latest/index.bs index e30ffbb..acec3f8 100644 --- a/spec/latest/index.bs +++ b/spec/latest/index.bs @@ -289,7 +289,9 @@ Coordinate format is an alias for [[#coor_format]] format. ### Custom Formats ### {#custom_formats} The contents of this section are optional for all parsers, but enable -customizable sparse formats for matrices and tensors. +customizable sparse formats for matrices and tensors. If the parser +does not implement tensor formats, it should error when the "custom" key +is present. Binsparse describes custom multidimensional formats hierarchically. We can understand these formats as arrays of arrays, where the parent array and