Parser, Codegen: Shift operators

Signed-off-by: Pekka Enberg <penberg@iki.fi>