Build a Shell Interpreter

Chiuso Pubblicato 6 anni fa Pagato alla consegna
Chiuso Pagato alla consegna

The goal of this project is to build a simple shell interpreter which behaves similar to common shells including bash and csh. The project has been divided into parts. Some skeleton code has been provided. Much of the provided code uses C style data structure.

Part 1 involves writing a scanner and parser for your shell using the open source versions of Lex and Yacc (Flex and Bison). Part 1 is mostly completed.

Part 2 involves adding features that make the shell more useful and featured.

For example, Ctrl-C will need to be implemented. In many other shells, you can type Ctrl-C to stop a running command. If Ctrl-C is typed when no command is running, the current prompt is discarded and a fresh prompt is printed. As-is, your shell will simply exit when Ctrl-C is typed and no command is running. The implemented shell will need to behave as csh does with respect to Ctrl-C.

Other features that will need to be implemented into the shell are Exit. When Exit is called, the shell will be exited.

Subshells will also need to be implemented. Sometimes a user will need to run a complex command that uses the output from one shell command as the input of another.

Part 3 of the project involves adding a few more major features to the shell. You will allow for the parser to expand a few types of input, handle wildcards, and implement a line editor that allows you to do things like fixing typos and traversing a history of previously submitted commands.

Please feel free to message to get the full scope of this small project.

Programmazione C Programmazione C++ Flex Script di Shell

Rif. progetto: #16429887

Info sul progetto

8 proposte Progetto a distanza Attivo 5 anni fa

8 freelance hanno fatto un'offerta media di $140 per questo lavoro

kaloyan13

I have experience with similar project, that used flex/bison/c Share the details of your task. Thank you.

$100 USD in 2 giorni
(467 valutazioni)
7.3
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows envir Altro

$150 USD in 3 giorni
(179 valutazioni)
7.2
liveexperts123

hi i am expert in this domain and i am sure that i can do it perfectly inbox me ......................................................

$155 USD in 3 giorni
(41 valutazioni)
6.9
wangbeizou

Hello. How are you . I have read and understood this task. I have strong knowledge in Data structures, Algorithms Design, Computer Architecture, Compiler. And I'm expert in C/C++, Lex &Yacc and Flex & Bison. Altro

$211 USD in 5 giorni
(164 valutazioni)
6.4
kostasrim

Hello, my name is Kostas Kyrimis and I am an expert C/C++ developer with an extensive knowledge of algorithms and data structures. I have programmed shell programs before and I confirm that I can have your projec Altro

$100 USD in 2 giorni
(27 valutazioni)
4.4
rjuliot

A proposal has not yet been provided

$144 USD in 2 giorni
(7 valutazioni)
3.9
coursesfast

I have expertise in C/C++ and can easily finish this project in good time. Please send me more details about this work. I am placing a low bid to get my first project on freelancer.

$111 USD in 5 giorni
(0 valutazioni)
0.0