How to define a grammar (context-free) for a new programming language (imperative programming language) that you want to design from scratch.
In other words: How do you
You'll want to have a look at EBNF (Extended Backus-Naur Form).
(Assuming you want to write a context free grammar, that is.)