Comdes

Interactive Compiler Design Platform

Master Compiler Design

Explore every phase of compilation interactively — from lexical analysis to intermediate code generation.

4
Compiler Phases
5
Parsing Algorithms
Shareable URLs
?
Keyboard Shortcuts

Compiler Phases

Lexical Analyzer
Tokenize source code into lexemes and build a complete symbol table.
  • Keyword & identifier recognition
  • Colored token stream visualization
  • Symbol table with occurrences
  • Multi-language token support
Syntax Solver
Step-by-step engine for context-free grammars with five parsing algorithms.
  • Compute FIRST & FOLLOW sets
  • Generate LL(1) / LR parsing tables
  • Visualize parse trees & automata
  • Share grammars via URL
Semantic Solver
Evaluate syntax-directed translations with annotated parse trees.
  • Define semantic actions inline
  • S-attributed / L-attributed SDTs
  • Annotated parse tree visualization
  • Step-by-step evaluation trace
ICG Solver
Generate intermediate three-address code, quadruples, triples, and indirect triples.
  • Three-Address Code generation
  • Quadruples & Triples tables
  • Indirect triples with pointers
  • Arithmetic expression support

Practice & Learn

Practice & Learn

Curated problem sets and interactive theory lessons to solidify your understanding of compiler construction.

Curated grammar problems
Multiple difficulty levels
Interactive theory lessons
Algorithm deep-dives
ComdesBuilt with Next.js, React, and Zustand
Press ? for shortcutsLL(1) • SLR(1) • CLR(1) • LALR(1)