/-S2-Shell-Interpreter

Shell Interpreter that was the first project I made in university.

Primary LanguageCMIT LicenseMIT

-S2-Shell-Interpreter

This was my first real project in C, it was quite a buggy project and a not well written code, but back then, I was proud enough of it.

How to use - Linux Project

Compilation

Compile the program with make.

Clean files

Clean object files and binary by make clean.

Utilisation

Lauch the binary as:

  • ./interpreteur if you want to launch the test.sh script in the folder.
  • ./interpreteur myScript.sh if you want use your personnal Shell script.

What it could interpret

Commands:

  • echo
  • cat
  • ls
  • set
  • expr (without quotes or calcul priority)

Conditions:

  • if
  • while
  • until

Comments:

  • #...

Author

  • Etienne PENAULT - Programmation ImpĂ©rative I - Paris VIII