The shell parser.

Signed-off-by: Shanjin Yang <sjyang@credosemi.com>