SVG, Scheme, and LAML
- Mirror functions of SVG elements
- One-to-one correspondence between SVG elements and mirror functions in Scheme
- Generated automatically from the SVG DTD by use of LAML tools
- Contain detailed knowledge of the element contents and the attributes
- Validates the SVG document when a Scheme expression is evaluated
- Main advantage
- It is possible to program abstractions on top of the native SVG elements
- It is possible to embed arbitrary computations in an SVG document
- Evaluated at SVG generation time