Talk:Creating A Shell

From OSDev.wiki
Jump to navigation Jump to search

Consider either deleting this page or improving it

Firstly, I want to say that this article is not of the best quality: both technically and stylistically. Specifically, it's not using any proper interpreter techniques, it doesn't even tokenize the input. The "empty" command just looks like a joke, a single space will break its usefulness. I don't understand why such a primitive shell should be described in an article on a wiki about one of the most difficult and complex programming tasks.

On the other hand, a proper article is probably out of place, maybe it would better fit something like a compiler development wiki.

Finally, I see three options: deleting it, moving it to the author's personal wiki page and completely rewriting it with proper practices. What do people think?

--Roman 16:51, 9 July 2016 (CDT)

RE: Consider either deleting this page or improving it

This article indeed looks like a very simple stub whose code is more than simple. Such simple code is self-explanatory if someone has basic knowledge of programming. We should either remove it or completely rewrite the article; Former, because it has not use at all. When someone will have the passion to rewrite it, he could explain what a shell does (and don't) in detail (which is absent in this one) and come up with either writing a command line interpreter from scratch or relying on libraries for scripting languages. This is problby closely connected to 'how to port libraries'.