A Java-based lexical compiler that performs lexical analysis on source code by breaking it into meaningful tokens. This project demonstrates core compiler design principles, including tokenization, symbol table handling, and error detection.
- Lexical Analysis (Scanner)
- Token generation (identifiers, keywords, operators, literals, separators)
- Symbol Table creation
- Error handling for invalid tokens
- Modular and extensible Java architecture
- Console-based output for tokens and analysis
- Compiler Design Fundamentals
- Lexical Analysis
- Regular Expressions
- Finite Automata (DFA/NFA concepts)
- Token Classification
- Java File Handling
- Java (JDK 8+)
- Object-Oriented Programming (OOP)
- Regular Expressions
- Command Line Interface (CLI)