https://github.com/eastonarcher/lexcial-analyzer
⚡C-based lexical analyzer using Backus-Naur form. Matches lexemes to tokens, handles delimiters, and identifies unknown lexemes from a source file.
https://github.com/eastonarcher/lexcial-analyzer
backus-naur-form lexeme lexical-analyzer token
Last synced: 3 months ago
JSON representation
⚡C-based lexical analyzer using Backus-Naur form. Matches lexemes to tokens, handles delimiters, and identifies unknown lexemes from a source file.
- Host: GitHub
- URL: https://github.com/eastonarcher/lexcial-analyzer
- Owner: EastonArcher
- Created: 2023-06-08T17:30:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T01:59:31.000Z (over 1 year ago)
- Last Synced: 2025-01-12T08:33:28.676Z (4 months ago)
- Topics: backus-naur-form, lexeme, lexical-analyzer, token
- Language: C
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```js
module load gnu
```
2. Compile the lexical analyzer using the provided makefile:
```js
make
```
3.
***(School Project)***