next up previous
Next: Text objects: HTML elements Up: Abidjan Course on Hypertext Previous: HTML tokens

Analysis: Parsing HTML token streams

Parser: an algorithm (or a programme based on an algorithm)

The parser defines an interpretation function which maps the token stream into an HTML document structure:

tex2html_wrap_inline1090

For the enthusiasts ...
In general, HTML can be defined formally as a context-free (Chomsky Type 2) language, and a tex2html_wrap_inline1092 can be represented as a tree.



Dafydd Gibbon, Sat Oct 17 18:58:17 CEST 1998