chore($parse): convert parser() and lex() to prototype-based code
lexer creates a list of identifier paths
rename test/watch to test/watchSpec