Type a shell command and watch it flow through the three stages of my
minishell (a bash-like shell written in C): the lexer splits it into
tokens, the expander resolves $VAR / $?,
and the parser builds an execution tree. This only parses — it never runs anything.
$
Try
⚠︎Syntax error
Tokens
lexer output
command
word / arg
pipe
and / or
redirection
fd
subshell