Format of Compiled Program

I follow Pierce’s suggestion of coding a variable as merely the static depth of the binding—an integer. The applied occurrence of r in (λrr) is at depth 0. The depth of t in (λt(λi(λjt))) is 2.

The expression is compiled thus:

<ident>
char less than 253. Pierce’s binding depth.
(<Expression><Expression>)
At increasing addresses:
(λ<ident><Expression>)
<digs>
These are byte aligned. Obviously there are size limitations. I want to see what performance is with fixed limits. We can contemplate different limits later. Perhaps dynamic limits might be useful—but simple first!