XML challenges to programming language design

Per Bothner

<per@bothner.com>

June 2004

Presented June 13, 2004 at the 1st European Lisp and Scheme Workshop held in Oslo.

Abstract

People are using XML-based languages for a number of applications. The paper discusses what we can learn from this, and various programming language ideas and features inspired by XML applications and tools. Some but not all of the ideas have prototype implementations within Kawa.

PaperSlides

PDF,
HTML,
Docbook/XML source.

HTML (one page),
HTML (one page per slide),
XML source.

1. Introduction
2. Data constructor syntax
3. Typed node values
4. Namespaces
5. Sequences
6. Statements are expressions
7. Arrays
8. Attributes and keywords
9. Patterns
10. Graphics: Models and Views
11. Lexical structure
12. Links and more information
Bibliography
XML challenges to programming language design
What this talk is about
Constructing XML Elements
Constructor functions
Namespaces
Attributes
Sequences as multiple values
Sequences versus lists
Arrays
Expressions and Statements
Sequence Comprehensions
Application: GUI constructors
Example: a button bar
Functions and Patterns
Indentation