PLY implementation of PCL lexer and a bit of a parser.