SE701:HTML Browser

From Marks Wiki
Revision as of 20:21, 15 February 2008 by Mark (talk | contribs) (New page: pretty much write a parser and build an html tree structure. The tree structure can then be used for any purpose.. in this case simply prints it out. Due to the flexibility of generic fun...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

pretty much write a parser and build an html tree structure. The tree structure can then be used for any purpose.. in this case simply prints it out. Due to the flexibility of generic functions, algorithm for walking through the tree can be separated from the structure - (i.e. no need for visitor patter for example).

two kind of parsers will be build. One simply scans the file char by char, while the other will modify the reader macro to read '<' as a command.

should demonstrate the following:

⋄ anonymous functions ⋄ arbitrary-precision integers ⋄ condition restarts ⋄ generic functions ⋄ higher-order functions ⋄ keyword arguments ⋄ list processing ⋄ macros ⋄ method combination ⋄ multiple inheritance ⋄ optional arguments ⋄ packages ⋄ reader macros ⋄ dynamically scoped variables ⋄ the LOOP macro ⋄ the FORMAT function ⋄ the meta-object protocol

things left to do: ⋄ multiple dispatch ⋄ multiple inheritance ⋄ exact rational arithmetic ⋄ generalised references and perhaps more on FORMAT