MiniDevil As beautiful as a shell
MiniDevil documentation

What is MiniDevil?

MiniDevil is a POSIX inspired shell written in C as a 42 school project.
It reads a line from terminal then breaks it into tokens and parses them into an AST (Abstract Syntax Tree) & executes the tree.

How does it work?

Entry point

main() in src/main.c initialises t_shell, calls main_loop().
main_loop() is a REPL that sets up signals, reads one line of input, passes it to handle_input(), frees it, and repeats until the shell exits.

Where to start

Module index

External links

Authors