作者: PETER THIEMANN
DOI: 10.1017/S0956796802004392
关键词:
摘要: We define a family of embedded domain specific languages for generating HTML and XML documents. Each language is implemented as combinator library in Haskell. The generated HTMLF;XML documents are guaranteed to be well-formed. In addition, each can guarantee that the valid certain extent (for only weaker possible). On top libraries, Haskell serves meta parameterized documents, map structured HTMLF;XML, conditional content, or entire web sites. libraries support element-transforming style, programming style allows programs have visual appearance similar without modifying syntax