infinitycoding / ultrashell

The new shell of the universe operating system
GNU General Public License v3.0
0 stars 0 forks source link

question #1

Open MartinErhardt opened 9 years ago

MartinErhardt commented 9 years ago

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.

BlitzBasic commented 9 years ago

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.