parsing dsls for statistics