Grammar implemented

The grammar doesn't do anything yet, but it's specified; there is no
backend to back it up yet.

Signed-off-by: Max Sikstrom <msikstrom@op5.com>