/lexicalanalyzer-Python3-

Simple lexical analyzer to identify tokens using python3.

Primary LanguagePython

simplelexicalanalyzer-Python3-

----------Brief-------- Identifies tokens from input file. -Tokens- Keywords: {if, while, print} Symbols: {;, =, (, ), {, }, /, *, -, +, <, >, <=, >=, ==, !=} Identifiers: Starts with letter. Can be followed by any number of letters|digits|underscore Integers: One or more [0-9] Is case sensitive

----------Directions--------

Change the input file on line 7 to the input file name containing your script to be analyzed.