The singular homology of a compact smooth Riemannian manifold can be described by means of its Morse-Smale-Witten chain complex. There are proofs of this which rely on Conley index theory. We generalize these ideas to cover a class of semilinear parabolic equations, notably reaction-diffusion equations. Finally, one obtains a Morse complex for suitable isolated invariant sets.