Wrote basics of EBNF grammar.