Skip to content

EastonArcher/Lexcial-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexical Analyzer

Developed a C-based lexical analyzer implementing Backus-Naur notation to identify lexemes and tokens in source files. The output associates each lexeme with a token group, displaying pairs on screen.

How to Use

To use this lexical analyzer, follow these steps:

  1. Ensure you have the necessary modules loaded. If using g++, run the following command:
module load gnu
  1. Compile the lexical analyzer using the provided makefile:
make


(School Project)

About

⚡C-based lexical analyzer using Backus-Naur form. Matches lexemes to tokens, handles delimiters, and identifies unknown lexemes from a source file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published