Sorry for the late post.
What i have done this week
During the test for the parse command function, i find that there are long whitespaces that will be parse as package name. So i use shlex to remove long whitespaces.
First use shlex to split into seperate words, and then use space to join them( ' '.join(shlex.split(command)) ), this will remove long whitespaces, tab and line inditations.
After discussion with my mentor, we are now at the final step of the shell script parser which is updating the functions to enable this parser in the tern.
Did i get stuck somewhere?