Text this: Hamiltonian approach to the dynamics of Darwinian systems