Skip to content

BrianOn99/3150shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#########
3150shell
#########

upstream git tree: https://github.com/BrianOn99/3150shell

About
=====

A simple shell for csci3150.

The major components are:
mainloop =>
        reader
        parser =>
                tokenizer
		buildtree
        interprter =>
                classify (command classifier)
                "builtin commands"
                "external program laucher"
                
Features
========

glob expand
builtin command: fg, jobs, exit, cd
pipes

Compile
=======

make

Coding convention
=================

I loosely follow the guide for linux kernel:
https://www.kernel.org/doc/Documentation/CodingStyle

In short,
        [1] 8 spaces for indentation
        [2] space around operators, like: bar = 3 + 4;

Convention for this program:
        Comments of "TODO" are inserted, for codes that are not fully implemented

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published