Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Java-Based Lexical Compiler

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.


๐Ÿ“Œ Features

  • 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

๐Ÿง  Concepts Covered

  • Compiler Design Fundamentals
  • Lexical Analysis
  • Regular Expressions
  • Finite Automata (DFA/NFA concepts)
  • Token Classification
  • Java File Handling

๐Ÿ› ๏ธ Technologies Used

  • Java (JDK 8+)
  • Object-Oriented Programming (OOP)
  • Regular Expressions
  • Command Line Interface (CLI)

๐Ÿ“‚ Project Structure

About

This is a Lexical compiler optimize the code by determining the identifiers...

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages