TweeZcodeCompiler / twee_zcode_compiler

compiler project at FU Berlin
MIT License
3 stars 0 forks source link

RFC: UML diagram for the twee DOM #19

Closed lhochstetter closed 9 years ago

lhochstetter commented 9 years ago

A first attempt for the DOM for the twee Language, request for comment

ottne commented 9 years ago

I would keep these classes as dumb as possible, i.e. not put any kind of logic into them. They only serve the purpose of accessing a document (and its contents) in an object-oriented manner.

One further note: one could make an abstract base class as a superclass of all possible text elements in passage bodies (i.e. text, links, lists, macros etc). This way you can easily store them in a single list structure.

Otherwise, I think this is sufficient. We're not really agile if we would continue to redraw parts.

lhochstetter commented 9 years ago

Allright I'll try to "dumb it down"