Closed

Build a Shell Interpreter

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.

Skills: C Programming, C++ Programming, Flex, Shell Script

See more: Build A Website Small, build a website small business, output string prompts user password include requirements output, project will write interpreter small language, redirection shell interpreter, shell interpreter redirection, shell interpreter, write interpreter small language grammar java, build shell script ubuntu, build server india small business database raid, shell programming small projects, build small linux system containing busybox, centos build shell, build small linux, build small linux system

About the Employer:
( 8 reviews ) Schaumburg, United States

Project ID: #16429887

12 freelancers are bidding on average $145 for this job

kaloyan13

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

$100 USD in 2 days
(325 Reviews)
6.9
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 More

$150 USD in 3 days
(127 Reviews)
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. More

$211 USD in 5 days
(117 Reviews)
6.1
liveexperts123

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

$155 USD in 3 days
(28 Reviews)
6.0
ITPyramid85

Hello,how are you. I have read your bid carefully. I am lexer, parser, flex programmer with 10 years experience. also c/c++ language is my top skill. I can provide high quality and high speed. If you want to More

$155 USD in 3 days
(3 Reviews)
5.1
whizwigmarvel

I have understood what you need exactly. Ready to start work right now and will complete it by this weekend successfully. Please contact me. Thanks. Donnie

$155 USD in 3 days
(4 Reviews)
4.7
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 More

$100 USD in 2 days
(27 Reviews)
4.4
rjuliot

A proposal has not yet been provided

$144 USD in 2 days
(7 Reviews)
3.9
adampohp79

Dear Sir! Nice to meet you. I had developed several web sites using C++ and C#. I am good at C frameworks and MFC and API. Please check my portfolio, then you will choose me. Thanks.

$155 USD in 3 days
(1 Review)
2.6
$150 USD in 3 days
(0 Reviews)
0.0
grs14015

A proposal has not yet been provided

$155 USD in 3 days
(0 Reviews)
0.0
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 days
(0 Reviews)
0.0