First implementation steps for parser.
Add intermediate.
Refine grammar.
Refine grammar.