Shape grammars specify a mechanism for performing recursive shape computations. A general paradigm is established for a computer implementation supporting this computation in the algebras of points and lines in two dimensions (<i>U<sub> 0 2</sub></i> and <i>U<sub> 1 2</sub></i>). The guiding principles and the actual implementation are described.