Python Compiler
Lexer · Parser · Semantic · Symbol Table
Farah • Mahnoor • Zaynab
Ready
Compiler Phases
Home
Run All
F5
Lexical Analysis
Syntax Analysis
Semantic Analysis
Symbol Table
File
Open File
Save File
Clear
Examples
— Load example —
Hello World
Variables & Types
Arithmetic
if / elif / else
While Loop
For Loop
Function Definition
List Operations
Undefined Variable Error
Lexical Analysis
Tokenize source code into a stream of classified tokens
Phase 1
Source Code
source.py
Ln 1, Col 1
Run Lexer
Ready to Tokenize
Write or load source code on the left, then click
Run Lexer
to see the token stream.