A shell for unix/linux
A shell for unix and linux systems. This is still a work in progress and ALOT has yet to be implemented. Snash stands for Snail Shell.
- Input
- Variables list
- Lexer
- Parser
- Executor
- Starting programs + passing parameters
- Changing working directory (cd)
- Setting Snash/environment variables
- If statements
- Loops
- Readline not working properly with prompt escape sequences
Use make all
to see all the make targets.
Run make
or make compile
which will create a binary in the bin/
folder.
If you want to change the compiler make uses, set the
C
variable. Example:make C=gcc
To install the shell, run make install
and then you can use snash
anywhere.