Work on more advanced shell lexer.