/zig-shell

A mini shell done in Zig, learning project. It uses an autogenerated bison and flex parser.

Primary LanguageZig

How to compile it and run the shell

  1. Clone the repository
  2. Open the terminal
cd zig-shell
  1. Compile the code and run it
zig build run

This will generate the parser files

  • src/parser/parser.c from bison
  • src/parser/parser.h from bison
  • src/parser/scanner.c from flex

and compile and execute the shell.