Lecture overview
Keyboard shortcut: 'u'  Previous page
Keyboard shortcut: 'p'  Next page
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide
Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Slide 14 : 42
The HTML4.0 Mirror in LAML

We will here describe the HTML4.0 loose mirror in LAML

The HTML4.0 mirror is an exact mirror of version 4.0 of HTML (loose)


<f a1="v1" a2="v2"> Some text. More text</f>

We show the syntax of a tag application f on some text. The tag application passes the attributes a1 and a2 with given values


(f 'a1 "v1" 'a2 "v2" "Some text." "More text")

We show a contrast between HTML syntax and LAML syntax. The tag application passes the attributes a1 and a2 with given values

The mirror function f distinguishes between attribute names, attribute values, and content strings via the runtime types of the parameters together with their mutual position in the parameter list