what is the difference between a text and discourse?
The main difference between text and discourse is that the text does not specify an agent whereas the discourse specifies the agent of the information. Thus, a text is necessarily non-interactive while discourse is necessarily interactive.