![](/images/avatar.png)
【编译原理】词法分析
总体介绍
How to use it? In main.py:
Try to use “lexical.load(source)” to load the sourse; Try to use “lexical.analyze()” to execute the program and the return values are TOKEN TABLE and SYMTABLE.
How to use it? In main.py:
Try to use “lexical.load(source)” to load the sourse; Try to use “lexical.analyze()” to execute the program and the return values are TOKEN TABLE and SYMTABLE.