Hostname: page-component-7479d7b7d-jwnkl Total loading time: 0 Render date: 2024-07-13T20:20:38.056Z Has data issue: false hasContentIssue false

Web programming in Scheme with LAML

Published online by Cambridge University Press:  08 December 2004

KURT NØRMARK
Affiliation:
Department of Computer Science, Aalborg University, Denmark (e-mail: normark@cs.auc.dk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

Functional programming fits well with the use of descriptive markup in HTML and XML. There is also a good fit between S-expressions in Lisp and the XML data set. These similarities are exploited in LAML which is a software package for Scheme. LAML supports exact mirrors of the three variants of XHTML 1.0, SVG 1.0, and a number of more specialized XML languages. The mirrors are all synthesized from document type definitions (DTDs). Each element in a mirror is represented by a named function in Scheme. The mirror functions validate the XML document while it is generated. The validation is based on finite state automata automatically derived from the DTD.

Type
Article
Copyright
© 2004 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.