Using Lisp as a Markup Language The LAML Approach

Kurt Nørmark · 2004

Lisp is widely known as an extremely versatile language. In this paper we will demonstrate that Lisp can be used as a powerful markup language for WWW authoring and for provision of information on the Internet. Using the LAML approach, as introduced in this paper, we write textual documents directly in Lisp; Function calls serve as applications of tags, as known from the SGML family of markup languages. This idea is feasible mainly because of the unique syntactic properties of Lisp. The easy and uniform access to abstraction is the main advantage of using a programming language as a markup language. In addition, the direct availabilityofapowerful programming language allows the author to automate many trivial tasks in the writing process. We describe a systematic mirroring of HTML into Scheme, and we refer to a number of di#erent documentstyles based on this mirroring. 1 Introduction Authors and information providers using the Internet need to deal with programming at several di#eren...

Read the paper · More papers on PaperTik