AMADEUS html
|
- HTML mapping
|
|
Sketch 0 general
|
Sketch 1 even tags
|
Sketch 2 odd tags
|
Sketch 3 comments
|
Sketch 4 member grouping
|
#
# some patterns
|
#
|
#
Sketch 5 Sketchy HTML text with BODY
|
#
Sketch 6 Sketchy HTML text with FRAMESET
|
#
#.
|
|
-.
Sketch 6
|
- Sketchy HTML text with FRAMESET
|
|
|
- HTML
|
|
|
|
||
=
|
|
||
DOCTYPE . . .
|
|
||
|
|
||
. . .
|
|
||
=.
|
|
|
- HEAD
|
|
|
|
|
|
. . . TITLE
|
|
|
. . .
|
|
|
-.
|
|
|
- FRAMESET
|
|
|
COLS=" %, %"
|
|
|
FRAME
|
|
|
SRC=" " NAME=" "
|
|
|
|
|
|
|
- FRAMESET
|
|
|
|
ROWS=" %, %"
|
|
|
|
FRAME
|
|
|
|
SRC=" " NAME=" "
|
|
|
|
FRAME
|
|
|
|
SRC=" " NAME=" "
|
|
|
|
-.
|
|
|
-.
|
|
|
- NOFRAMES
|
|
|
|
|
|
. . .
|
|
|
-.
|
|
-.
|
-.
Sketch 5
|
- Sketchy HTML text with BODY
|
|
|
- HTML
|
|
|
|
||
=
|
|
||
DOCTYPE . . .
|
|
||
|
|
||
. . .
|
|
||
=.
|
|
|
- HEAD
|
|
|
|
|
|
. . . TITLE
|
|
|
. . .
|
|
|
-.
|
|
|
- BODY
|
|
|
|
|
|
. . .
|
|
|
-.
|
|
-.
|
|
-.
Sketch 4
#
# member grouping
#
#
An arbitrary group of branch members may be formed by enclosing them into a module sketch or a simple tagless sketch:
#
#
# [module sketch (or module branch) comment]
#
#
[sketch (or branch) head]
#
#
sketch (or branch) body
#
#
. . .
#
#
#.
#
|
-
#
|
[head of this (tagless) simple sketch (or branch)]
#
|
sketch (or branch) body
#
|
. . .
#
|
-.
#
the module and simple sketch above are textualized to
#
[sketch (or branch) head]
#
textualized sketch (or branch) body
#
[head of this (tagless) simple sketch (or branch)]
#
textualized sketch (or branch) body
#
Module comments are not subject to textualization.
#
Beside additional structuring of sketchy HTML texts, such grouping schemes can be used also for inserting necessary sub-schemes where needed.
#
#.
Sketch 3
#
# comments
#
#
#
# oneline comments
#
#
#
#
Primitive (text) comments with prefix '!' represent HTML-comments:
#
#
primitive (member or head) text !zzzzz
#
#
the primitive above is textualized to
#
#
primitive (member or head) text <!zzzzz>
#
#
Primitive head comments without prefix '!'
#
#
are not subject to textualization.
#
#
#.
#
Sketch 7 bock comments
#
#.
Sketch 7
#
# bock comments
#
#
Loop schemes are used to represent block comments:
#
||
= [TAG]
#
||
#
||
#
||
=.
#
the sketch above (similarly a branch) is textualized as corresponding simple sketch (simple branch) enclosed between "<!" and '>' i.e. as:
#
<!
#
|
- [TAG]
#
|
#
|
#
|
-.
#
>
#
#.
Sketch 2
#
# odd tags
#
#
Simple branches are used to represent odd tags (or even tags with omitted endtag):
#
TAG
#
branch body
#
#
the branch above is textualized to
#
<TAG>
#
textualized branch body
#
#
Simple branch heads are used to represent attributes:
#
TAG
#
attributes one or more primitive heads
#
branch body
#
#
the branch above is textualized to
#
<TAG attributes>
#
textualized branch body
#
#.
Sketch 1
#
# even tags
#
#
Simple sketches are used to represent even tags:
#
|
- EVENTAG
#
|
#
|
sketch body
#
|
-.
#
the sketch above is textualized to
#
<EVENTAG>
#
textualized sketch body
#
</EVENTAG>
#
Simple sketch heads are used to represent attributes:
#
|
- EVENTAG
#
|
attributes one or more primitive heads
#
|
sketch body
#
|
. . .
#
|
-.
#
the sketch above is textualized to
#
<EVENTAG attributes>
#
textualized sketch body
#
</EVENTAG>
#
Primitives with comments are used for a simpler representation of even tags without attributes:
#
primitive text EVENTAG
#
the primitive above is textualized to
#
<EVENTAG>primitive text</EVENTAG>
#
#.
Sketch 0
#
# general
#
#
Any sketchy HTML text is a sketch, containing a simple sketch with comment "HTML" as the single member of its first branch.
#
The type of the outer sketch, as well as its other elements (comment, head(s), additional branches) are insignificant.
#
For better structuring, tagged elements of the sketchy HTML text may be represented as simple subschemes (instead of plain-text tagging). Loop schemes can be used for block comments, and module schemes for arbitrary grouping.
#
#.