Skip to content

It's a GUI desktop application used to scan C++ code and convert it to tokens with little error detection

Notifications You must be signed in to change notification settings

bstawy/Lexical-analyzer

Repository files navigation

Lexical-analyzer

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

About

It's a GUI desktop application used to scan C++ code and convert it to tokens with little error detection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages