作者: Steve J. Chapin , Paul G. Talaga
DOI:
关键词: Web content 、 Web development 、 Programming language 、 The Internet 、 Set (abstract data type) 、 Syntax (programming languages) 、 Markup language 、 Haskell 、 World Wide Web Consortium 、 Computer science
摘要: We report on the embedding of a domain specific language, (X)HTML, into Haskell and demonstrate how this superficial non-context-free language can be represented rendered to guarantee World Wide Web Consortium (W3C) compliance. Compliance web content is important for health Internet, accessibility, visibility, reliable search. While tools exist verify compliant according W3C, few systems that all produced compliant. present CH-(X)HTML, library generating (X)HTML by using encode nontrivial syntax set forth W3C. Any document with library, while compilation error will occur if non-compliant markup attempted. To our we examples performance measurements.