mimi
is a simple C compiler built with Rust following Nora Sandler's "Writing a C Compiler - Build a Real Programming Language from Scratch (2024)".
Use the compiler with the command mimi <file.c> [OPTIONS]
. There are a few available options, listed below.
General options:
--help
or-h
: View the help menu.--version
or-v
: Print the current version ofmimi
.
Options for testing:
--lex
or-l
: Only run the compiler up to the lexer stage.--parse
or-p
: Only run the compiler up to the parser stage.--codegen
or-c
: Only run the compiler up to the codegen stage.