--- Suryaprakash Kompalli kompalli@cse.Buffalo.EDU wrote:
Hello, A friend is working on this project to simulate a shell. It has to be written in C/C++.. Any pointers to some sites/tutorials which give some guidelines etc...
1. Define the command interpreter syntax, and write the yacc grammar.
2. Implement it using flex (lexer) and bison (parser).
3. Do the screen handling, memory allocation, system interface stuff, et al.
Take a look at the bash source - it should help.
Rgds,
Krishnan
2. Define what
__________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com