The fab lab content archive has many tutorials, including:
The fab modules include math-string based design tools. For detailed background on fast math string evaluation, see this presentation or the project home page.
For a (slightly outdated) overview to designing with code, see tutorials one and two.
For a detailed look at the data structures and parameters used in kokopelli
(one of the provided GUIs), read this documentation.