An attribute grammar based specializing layout engine written in OCaml. Layout algorithms may be specified with an attribute grammar, defining how various visual layout properties are computed from arbitrary tree data types. The attribute grammar will be specialized to a particular input tree prior to interpretation and rendering.
This prototype was developed as a student research project for the University of California, Berkeley's Parallel Web Browser project under the direction of Rastislav Bodík. See Leo Meyerovich's work on the Fast Tree Language for a more modern incarnation of similar ideas.