42sh

C

Python

42sh is a project created by a group of 4, which aims to develop a command interpreter that complies with the Bash POSIX standards.
The interpreter was implemented from scratch using the C language.

To achieve this, several steps were required, including the creation of a lexer, a parser, the construction of an AST (Abstract Syntax Tree), and the execution of the command(s).

In addition, several basic functions (builtins) were also recreated to allow for advanced use of the interpreter.

Finally, a test suite was developed in Python. This allows for efficient testing of the project and avoids regressions when adding new features.

Images