Read "Sociocultural Knowledge in Conversational Inference" by John J. Gumperz, and "Opening up Closings" by Schegloff and Sacks in The Discourse Reader [Jaworski and Coupland (eds)]. This work has other relevant material as well.
While both stylistics and discourse analysis are concerned with language, they approach it from different perspectives and follow different steps. Here's a simplified breakdown:
🔹 Stylistics focuses on how language style creates meaning, often analyzing literary texts.
Although, I, to a certain degree, agree with the last feedback of Mr. Ahmad, I believe that Systemic Functional Linguistics (SFL) offers a much more comprehensive and productive approach to DA.
5. Interpret how discourse constructs identity, power, or ideology.
6. In Critical Discourse Analysis, expose hidden ideologies and power relations.
In short, Stylistics proceeds from text → linguistic features → interpretation → aesthetic meaning, while Discourse Analysis proceeds from context → discourse practices → linguistic choices → social meaning/ideology.