[metapost] recursion in MP/ MF [was: all intersections between two paths]

Hans Hagen pragma at wxs.nl
Wed Jan 19 20:21:29 CET 2005


Taco Hoekwater wrote:

> I also like recursion. It is unfortunate that precisely this part of 
> MP/MF cannot easily be changed. Knuth uses the (compile-time) size of 
> the param stack to differentiate between the three parameter types, 
> making it hard to manage the stack dynamically. This is much more of a 
> problem in MP than in TeX because graphics often relate themselves well 
> to recursive algorithms.

that stack is now 300; is there some limit in the source (e.g. due to packing 
things in bytes or so)?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the metapost mailing list