In languages where word order matters a lot less, the grammar is still there---it just relies more on things like case markers and agreement markers (i.e. morphology).