I am not sure whether you understood the principle of parsing. A parser in fact works has to do something with a tree, but this tree is not a binary search tree for supported builtins, but a parse tree like this(http://en.wikipedia.org/wiki/Abstract_syntax_tree) to handle more complex statements and processes: the purpose of a parser is to generate such a tree, which can be easily processed afterwards.
This is not the final form of the shell. The parser in it's current form
was written to have some kind of basic shell to
test the commands. I will change it as soon as I have enough time.
I am not sure whether you understood the principle of parsing. A parser in fact works has to do something with a tree, but this tree is not a binary search tree for supported builtins, but a parse tree like this(http://en.wikipedia.org/wiki/Abstract_syntax_tree) to handle more complex statements and processes: the purpose of a parser is to generate such a tree, which can be easily processed afterwards.