Deriving Variation from Grammar