A dynamic approach to discourse structure is characterized using the notion of degrees of salience of items in the stock of knowledge the speaker assumes s/he shares with the hearer. A preliminary algorithm of salience assignment (based primarily on the appearance of the nodes of the dependency tree representing the underlying structure of the sentence to topic or focus) has been implemented and a visualization of its results has been produced in order to make the implications of proposed discourse analysis more perspicuous.