The AutoWeaver script is a technique for creating intelligent surface "weaving" and patterning using MEL.
This script began as a light reworking of the Weaver script written by Simon Greenwold in conjunction with the Emergent Design Group at MIT; but very quickly began to deviate considerably from the original weaver script as the fundamental patterning interface was rewritten to allow for features such as responsiveness to grid location, dynamic patterning, and strand movement along the surface normals.
Eventually, another version of the weave command was added that allows the pattern procedures to return a vector defining the change in position in the x, y, and z direction. This is the "true" way the script now operates, the older interface is left to provide an easier way to create patterns, but the values coming from the older syntax are translated on the fly into the vector format.
Code samples and documentation are currently available in the header comments of the script itself.