- UNIX system
- GNU Readline
- Curses (for GNU Readline)
- GNU Bison
git clone https://github.com/kirpichik/yxsh.git
cd yxshIf you have globally installed GNU Readline and
GNU Bison this step can be skipped.
- Open
Makefile - Edit
BISON,INCLUDESandREADLINE_LIBvariables for your environment.
GNU Bison compiler for parser generation.
Flags to external libraries for include GNU Readline. Example:
INCLUDE=-I/usr/local/opt/readline/includeFlags to external libraries for linking GNU Readline.
Example for dynamic linking:
READLINE_LIB=-lcurses -L/usr/local/opt/readline/lib -lreadlineOr for static linking:
READLINE_LIB=-lcurses /usr/local/opt/readline/lib/libreadline.amake./yxshAll the features described in the shell requirements, excluding loops, conditional jumps and logical expressions.