proj: fixed parseMisc and test, cleaned up lexer.go