SRFI 268: Multidimensional Array Literals

by Per Bothner (SRFI 163), Peter McGoron (design), John Cowan (editor and steward), and Wolfgang Corcoran-Mathe (implementation)

status: draft (2026-03-30)

keywords: Reader Syntax

See also SRFI 25: Multi-dimensional Array Primitives, SRFI 122: Nonempty Intervals and Generalized Arrays, and SRFI 231: Intervals and Generalized Arrays.

Abstract

This is a specification of a lexical syntax for multi-dimensional arrays. Textually it is an alteration of SRFI 163, which is an extension of the Common Lisp array reader syntax to handle non-zero lower bounds and optional uniform element types (compatibly with SRFI 4 and SRFI 160). It can be used in conjunction with SRFI 25, SRFI 122, or SRFI 231. There are recommendations for output formatting, read-array and write-array procedures, and a suggested format-array procedure.