Skip to content

Sadique14/Lexical-Analysis

Repository files navigation

Lexical Analysis

Program: HomeWork130238.cpp

Input: Source program with one or more space/newline after each lexeme. Input ends when 'eof' is given after a newline. Output: List of lexemes with their type.

Program: LexicalAnalysis38.cpp

Input: Source program with or without space after each lexeme. There can be comments in input. Input needs to be a valid program. Input ends when 'eof' is given after a newline. Output: List of Lexemes with their token name and attribute value and symbol table. C++11 required to compile the program

About

Compiler Design Laboratory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages