jovanbulck / jsh

A basic UNIX shell implementation in C
GNU General Public License v3.0
30 stars 10 forks source link

jsh 2.0 from the ground up #71

Open jovanbulck opened 8 years ago

jovanbulck commented 8 years ago

As you have probably noticed, jsh development has been lagging for a while. In the meantime however, my C skills and understanding of programming languages have vastly improved. jsh started as a proof-of-concept fun program and therefore lacks a solid formal programming language foundation. As a result, I've been considering a jsh redesign from scratch for a while now. A minimal elegant shell instead of hacking in new feature requests.

Design goals

jsh's grammar should start simple and subsequently be extended as desired. The lexer and parser should be generated from the formal grammar using the free software tools Flex and Bison.

Doing the above will take time, especially since I have no experience with lexers/parsers/interpreters --all help is appreciated ;-) I believe however that it will greatly improve the quality of the code base. And --which is more-- it will be fun...

When I have time --probably not very soonish-- I'll start working on this in a brand new jsh-dev branch. The first stable version will be released as jsh 2.0 and from then on the current master branch will be discontinued and moved to a jsh-legacy branch.