BUILT WITH
PYTHON 3.6
GETTING STARTED
THIS FILE IS AN EXAMPLE TO INSTRUCT THE USER TO RUN THE PYTHON CODE TO FIND THE CLASSIFICATION OF LEXICAL UNITS IN JACK LANGUAGE.
PREREQUISITES
-> INSTALL REGEX PYTHON LIBRARY FROM https://pypi.org/project/regex/ pip install regex. -> create a notepad file to store the jack code in txt format. -> store python file and txt file in same directory.
USAGE
-> lexical analysis is the first phase of a compiler. -> The lexical analyser breaks these syntaxes into a series of tokens or lexical units. -> it removes white spaces or comments in the source code.