Compiler - Lexical Analyzer
This project is a lexical analyzer (scanner) written in Java. It reads a source code file, tokenizes it based on a finite state machine, and detects reserved words, identifiers, numbers, symbols, and errors.
Java

What I did
Designed and implemented a finite state machine (FSM) to tokenize source code into meaningful lexical units
Built recognition logic for reserved words, identifiers, numeric literals, symbols, and lexical errors
Developed a file reader pipeline that processes raw source code and outputs a structured token stream
Have a similar project in mind?
Tell me what you're building and let's see how I can help.
Get in touch