No, as already commentedcommented, LISP can of course be done with any machine word size. It's just that a 36 bit word could hold all elements of a "CONS" (aka a pair), the core management object of LISP, on the computer LISP was developed for (*1).
On a 36 bit machine, any access to a list will always retrieve a CONS at once, whereas on an 18 bit machine two fetches are necessary. More so, a 36 bit register does always holdholds a complete CONS, Both makesmaking a CONS as well atomic within the underlying hardware, all without further ado.
ItsIt's not about address length but encoding. In fact, the usable address space for 36 bit Lisp implementations was only 15 bitbits, good for 32 KiWords. This was quite fine in 1958 where even a top end-end computer like the IBM 704 maxed out at 32 KiWords (*2).
A pointer needs to be qualified, as it may point to another list (CONS), or a leaf (ATOM). It a A few bits are needed to be added to each pointer.
Now, the original LISP was developed on an IBM 704, a computer with 36 bit word size and 15 bit address size. Which, which not only gave nicely room nicely to hold two 15 bit address pointers plus the needed qualifiers, but also had already instructions for easy access of these fields.
In fact, LISP is waymuch more tied to the 704 machine structure than one may expect, as these 4 fields are what a type A instruction looks like:
DoesThis looks quite look like a CONS, doesn't it? This was noted by the developers of the first implementation. MoresoMore so as the 704 offered instructions to directdirectly read or write (*4) each of these fields within a register. Almost as if the 704 was on purposepurposely constructed to support Lisp (*5).
Using this structure made CONS atomic machine words and allowed not only allowed easy accessedaccess and use of both pointers, but it was also quite compact and performant. Later, non 704/709x based, 36 bit implementationimplementations had to use shift and masking operationoperations to do the same. loosingThis lost the performance advantage, but still kept the atomic nature of a CONS.
And yes, all of this can be of course be done as well on an 18 bit machine. Except now a CONS will cover two (18 bit) words, effectively halving the available memory as now only even addresses are valid - or each and every access will need to include a shift operation to turn a CONS address into a memory address (*8).
Like so often it's not about an implementation being impossible, or the difference being huge, but the little advantage that will pay out big when done often enough - like with every access or iterationiteration.
*2 - 32 KiWords may seem not much today, but it was exceptional at the time. For the 704, magnetic core memory was buildbuilt from one or more 737 Magnetic Core Storage Unit, each delivering a whopping 4096 Words in a shell roughly the size of one of today's 19" racks (plus two racks for the controller). It would take 8 such units to populate a 15 bit address range. Not sure how many users/universities could have afforded such a large configuration.
Very early computing had much more in common with micro pioneers and their single boarders than one often imagines - high flying ideas, like Lisp, and puny hardware barely able to implement a the basic version of that idea :)
*5 - Which may as well be part of the impression that Lisp is especially good on 36 bit (704) tpetype machines.
*7 - Assembly can mimic other high level languages quite closeclosely ... accepting a somewhat bendbent syntax might help :=).