Sorry, I'm not following. What do spaces have to do with this? Grammar is dependent on concepts like lexemes (sort of like words), but there aren't any spaces between lexemes in spoken language.