Slide 13 : 26
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")
We show a contrast between HTML syntax and LAML syntax. The tag application passes the attributes a1 and a2 with given values
Mirror characteristica:
The syntactic differences between HTML and LAML are minimal
Textual contents is passed as quoted strings
White space is added in between content string unless explicitly suppressed
(f 'a1 "v1" 'a2 "v2" "Some text" _ ".")
CSS attributes can be given side by side with HTML attributes
(f 'css:a1 "v1" 'a2 "v2" "Some text.")
HTML attributes are checked during the evaluation process