✏
hello.ru
EDITOR
TOKENS
NFA/DFA
AST/PARSE
SEMANTIC
IR CODE
OPTIMIZE
TARGET
EMISSION
PYTHON
7 DEMO
Ln 1, Col 1
RULang
1
🔤
Program chalayein tokens dekhne ke liye
(Run the program to see the tokens)
Layer 1: Lexical Analysis — NFA/DFA
Finite Automaton visualization showing state transitions
🔄
Program chalayein NFA/DFA dekhne ke liye
(Run to see the finite automaton for token patterns)
Layer 2: Syntax Analysis — AST & Parse Tree
Abstract Syntax Tree (top) and Parse Tree (bottom) from
recursive descent parsing
🌳
Program chalayein AST dekhne ke liye
(Run the program to see the syntax tree)
Layer 3: Semantic Analysis
Type checking, scope analysis, symbol table validation
🔍
Program chalayein semantic analysis dekhne ke liye
(Run to analyze types, scopes, and symbols)
Layer 4: Intermediate Code (IR)
Three-Address Code (TAC) generation from AST
📝
Program chalayein IR code dekhne ke liye
(Run to generate Three-Address Code)
Layer 5: Optimization
Constant folding, dead code elimination, common subexpression
elimination
⚡
Program chalayein optimization dekhne ke liye
(Run to see optimized code)
Layer 6: Target Code Generation
Assembly-like instruction generation from optimized IR
🎯
Program chalayein target code dekhne ke liye
(Run to generate assembly instructions)
Layer 7: Code Emission
Final machine code output with statistics
📤
Program chalayein final code dekhne ke liye
(Run to see emitted machine code)
⟳ Generated Python Code
🐍
"Python Banao" button dabaein
(Click "PYTHON BANAO" to generate)
7 Layers Demonstration
Step-by-step compilation pipeline with detailed explanations
🎓
Program chalayein demonstration dekhne ke liye
(Run a program to see all 7 layers in action)