/HASH

This project is an extended subset of the bash shell for unix.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

HASH : A Shell (Bash extention) written in Haskell.

hash logo hash_gif

About

This project is a partial fullfillment for CS2433 (Principles of Programming Languages II) offered by Dr. Saurabh Joshi at IIT Hyderabad in Spring'19 semester.

Dependencies

The dependencies for this project are the following:

  1. Stack - Haskell Project Manager
  2. System Modules for Haskell (Unix, directory, etc. full list in .cabal file)
  3. Haskeline
  4. Tasty

Features

This project is an extended subset of the bash shell for unix. There are various handy features, some of which are:

  1. git config reading and git info display on prompt.
  2. .rc file parsing to store aliases.
  3. Intuitive builtins.

Instructions

In the project root directory run stack run.

Built-In Commands

  • help: Displays this text
  • cd: Change working Directory
  • history: Display previous commands entered
  • export: set export attribute for variables
  • unset: unset export attribute for variables
  • find: search for files in a directory hierarchy.

Contributors

Sai Harsha Kottapalli
Sagar Jain
Tanmay Renugunta
Srinivas Bogga