MiniC / interactive playground

MiniC Compiler Playground

A client-side walkthrough of the same four-stage pipeline as the real C++/Flex/Bison compiler: lexing, parsing, semantic checks, and C code generation. Edit the source on the left, run it, and step through each stage on the right.

01
Lexer
Flex-style scanning into tokens
02
Parser
Bison grammar builds the AST
03
Semantic
Scope + type checking
04
Codegen
AST → readable C source
source.mini
Tokens
AST
Semantic
Generated C
Press "Compile" to run the pipeline.