Please wait a minute...
Computer & Telecommunication
Current Issue | Archive | Adv Search |
Construction of the Lexical Analyzer by Direct Programming
YANG Chao, ZHENG Zhi-qun, HE Shu-qian, SHI Chun
Hainan Normal University
Download:   PDF(0KB)
Export: BibTeX | EndNote (RIS)      
Abstract  The construction of the lexical analyzer by direct programming is analyzed and studied in this paper. The lexical analyzer is described by the regular expression, the state diagram and FA. Then an example is used to analyze and explain the structural process of the lexical analyzer. By further analyzing the performance of the lexical analyzer, we find that the lexical analyzer constructed by direct programming is faster than other types of lexical analyzer.
Key wordscompiler principle      lexical analyzer      FA      state diagram      regular expression     
:  TP313  

Cite this article:

YANG Chao, ZHENG Zhi-qun, HE Shu-qian, SHI Chun. Construction of the Lexical Analyzer by Direct Programming. Computer & Telecommunication, 2018, 1(1-2): 1-4.

URL:

https://www.computertelecom.com.cn/EN/     OR     https://www.computertelecom.com.cn/EN/Y2018/V1/I1-2/1

[1] XU Jin-qun XIE Ye-nan ZHOU Ying GU Xiu-xiu. Driver Fatigue Driving Detection System Based on EAR Algorithm[J]. 电脑与电信, 2024, 1(6): 1-.
[2] REN Hao. Expression Recognition Method Combined with Attention Feature Fusion[J]. 电脑与电信, 2024, 1(5): 71-.
[3] LIU Ping WANG Shi-wei JIANG Meng-yun. Research on the Ideological and Political Education in the Courses of Embedded System in Applied Undergraduate[J]. 电脑与电信, 2024, 1(3): 24-.
[4] WANG Ning GUO Gong-hua. Research on Upgrading Method of E-government Extranet Based on SPN and Super SIM Zero Trust Security Gateway[J]. 电脑与电信, 2024, 1(1): 56-61.
[5] YU Yan LIU Zhong-xu. Design of SCN Facial Expression Recognition System Based on WeChat APP[J]. 电脑与电信, 2024, 1(1): 67-71.
[6] LI Gao-xiang WU Yu. Research on the Factors Influencing the Application Efficiency of E-learning Space for Primary and Secondary School Teachers Based on ISM Model [J]. 电脑与电信, 2023, 1(5): 21-.
[7] CHAI Yuan-yuan SUN Na-xin MENG Chen-ran CHENG Hui ZHENG Jing-jing.
Exploration on Computer Practice Teaching Mode Based on Curriculum Ideology and Politics
[J]. 电脑与电信, 2023, 1(1-2): 5-7.
[8] ZHAO Xiao SUN Lian-shan.
Experimental Teaching Reform of Compiler Principles Focusing on Training Engineering Ability
[J]. 电脑与电信, 2023, 1(1-2): 8-11.
[9] SU Cui-wen CHAI Guo-qiang.
Real-time Facial Expression Recognition Based on Facial Feature Detection
[J]. 电脑与电信, 2023, 1(1-2): 17-21.
[10] HE Zong-xi JIANG Ming-zhong XIE Ming-xia PANG Jia-bao CHEN Qiu-yan HU Yi-bo. Design of Driver Fatigue Recognition Algorithm Based on YOLOv8 and Face Key Points Detection[J]. 电脑与电信, 2023, 1(11): 1-6.
[11] ZHANG Miao-miao CHAI Guo-qiang YU Hai-le XU Hao-xuan.
Facial Feature Test and Fatigue Driving Warning Based on Deep Learning
[J]. 电脑与电信, 2022, 1(12): 1-.
[12] ZHAO Sheng-na. Video Watermarking Algorithm Based on Minimum Distortion[J]. 电脑与电信, 2021, 1(9): 48-54.
[13] HU Hui. Research on Practical Teaching Method of PCB Design and Production#br# in Electronic Design Course in Colleges and Universities#br#[J]. 电脑与电信, 2021, 1(8): 10-13.
[14] SU Yan-tao ZHEN Zhong-qiang OU Lin-bo. A Solution for Smart Steel Mills Based on 5G SA[J]. 电脑与电信, 2021, 1(8): 40-43.
[15] TANG Xiao-qing. A Semi-supervised Linear Subspace Learning Approach via Sparse Coding[J]. 电脑与电信, 2021, 1(8): 44-48.
Copyright © Computer & Telecommunication, All Rights Reserved.
Powered by Beijing Magtech Co. Ltd