Lexical Analysis - Identifier Token

1 - About

A token that has a name is called an identifier.

Example:

3 - Example:

Consider the following programming expression:

sum = 3 + 2;

Tokenized in the following table:

Token
Lexeme Lexeme type
sum Identifier
= Assignment operator
3 Integer literal
+ Addition operator
2 Integer literal
; End of statement

4 - Documentation / Reference

code/grammar/identifier.txt · Last modified: 2017/09/17 17:55 by gerardnico