Skip to content

Files

Latest commit

4843507 · Jun 6, 2018

History

History

lex

Lexical Analyzer

This system read a source code program and recognize a long string. (= Scanner Step)
If this long string is on lexical analyzer, this system will make tokens from source code program. (= Tokenize Step)
This tokens will be a input recognized by parser.

How to use

In window console

LexicalAnalyzer.exe <file_name>

Result

  • Apply test case:pal.mc -> output;below cature screenshot
  • If you want to input other test case, please refer