Slavic Languages in the Perspective of Formal Grammar