LordOfTrident / snash-old

A shell for unix and linux systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snash

A shell for unix/linux

License Issues GitHub pull requests


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.

Features

  • Input
  • Variables list
  • Lexer
  • Parser
  • Executor
  • Starting programs + passing parameters
  • Changing working directory (cd)
  • Setting Snash/environment variables
  • If statements
  • Loops

Known bugs

  • Readline not working properly with prompt escape sequences

Make

Use make all to see all the make targets.

Compiling

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

Installing

To install the shell, run make install and then you can use snash anywhere.

About

A shell for unix and linux systems

License:GNU General Public License v3.0


Languages

Language:C 96.9%Language:Makefile 3.1%