Tag: compiler design
Detect different tokens in a C program | Compiler Design
Each C program consists of various tokens. A token can be either a keyword, an identifier, a constant, a string literal, or a symbol. We use Lexical Analysis to convert the input program into a sequence of tokens and for detection of different tokens.