An Objective Psychology of Grammar