Dynamic grammar support