Find Jobs
Hire Freelancers

Build a Simple Shell Interpreter

$30-250 USD

Completed
Posted about 6 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 16523909

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I've done a shell interpreter for another project implementing command interpretation, I/O redirection and pipes. It interpreted LS, EXIT and CD commands internally. It can be improvised for your project.
$150 USD in 5 days
5.0 (4 reviews)
3.5
3.5
5 freelancers are bidding on average $132 USD for this job
User Avatar
You think , I will do it with full of your IDEA! I believe that my 9+ years of programming experience makes me highly qualified for this project. I believe that I would be an asset to this project. Relevant Skills: C Programming, Shell Script,
$155 USD in 1 day
5.0 (81 reviews)
7.3
7.3
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD in 3 days
4.9 (156 reviews)
7.1
7.1

About the client

Flag of UNITED STATES
Schaumburg, United States
5.0
10
Payment method verified
Member since Jan 29, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.