Skip to content

Vaibzz/Lexical-Analyzer-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexical-Analyzer-for-Java

A lexical Analyzer for Java created using C++. The program takes a java file as input and scans the whole file. It categorizes each token of the program as one of the following:

  • SEPARATOR
  • IDENTIFIER
  • OPERATOR
  • LITERAL
  • KEYWORD
  • FUNCTION ARGUMENT

Execution Steps

  1. Copy all the files in a folder.
  2. Run the file "lexicalAnalyzer.cpp" on any gnu g++ compiler.
  3. Input the file path on the console and hit Enter!

Note: Some Sample Java files (testFile_1.java, etc.) have also been added to the repository for input.

About

A lexical Analyzer for Java created using C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published