This is the first phase of compiler. It's a GUI desktop application use to scan C++ code and convert it to tokens with a little errors detection.
-
Inputs:
Stream of characters (multiple lines of code written in C++ language syntax). -
Output:
Stream of tokens in form: (token value, token type).
Example: int x = 5;Token Value Token Type int Keyword x Identifier = Operator 5 Constant ; Punctuation