HTML generation, HTML parsing

Erik Zuurbier erik.zuurbier@klm.nl
Wed, 17 Jun 1998 14:44:39 +0200


Paul

I have made a program that takes an SGML file for one specific document type
and converts this into a scrollable window displaying formatted text, also constructing
a table of contents from the headings. For parsing I use the Clean book parser
combinators. For formatting I use formatting combinators that I devised myself.

I had plans to add more to this, including separating parsing/formatting from
displaying the window, by writing the formatted result to a file. Formatting is a bit
resource-greedy and it redoes much work every time the window is opened, while
the contents are the same all the time. But for what I wanted I also needed the
Object IO library, which currently does not seem stable in its design. Therefore
I delayed the work

You can get this program if you like. Will a Macintosh .sit file (containing a folder
with the .icl and .dcl files) do?

I have also built a class called Optiimizer for doing an advanced type of Simulated
Annealing. Instances of the class have, among a few others, a function to assess the
cost of a candidate solution, a function to change a candidate solution into a new
one, and a function to draw a candidate solution in a window. I have an instance for
the travelling salesman problem, and I am working on one for optimizing a school time
table.

Erik Zuurbier