"An introduction to formal languages and automata" - читать интересную книгу автора (Peter Linz)