This module contains a very simple parser for HTML documents.
Author: Michael Hanus
Version: October 2017
readHtmlFile
:: String -> IO [HtmlExp]
Reads a file with HTML text and returns the corresponding HTML expressions. |
parseHtmlString
:: String -> [HtmlExp]
Transforms an HTML string into a list of HTML expressions. |
Reads a file with HTML text and returns the corresponding HTML expressions.
|
Transforms an HTML string into a list of HTML expressions. If the HTML string is a well structured document, the list of HTML expressions should contain exactly one element. |