Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 967 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 967 Bytes

mimi

GitHub license Creator rozukke Made with Rust

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)".

Usage

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 of mimi.

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.