The 2d language installs #2d reader support in the readtables, and then chains to the reader of another language that is specified immediately after 2d. The #2d syntax extension adds the ability use a two-dimensional grid syntax. That is, you can draw an ASCII-art grid and then treat that as an expression. For example, here is a simple equality function that operates on pairs and numbers, written