- Category:
- Platform:
- C/C++
- File Size:
- 1024
- Update:
- 2021-02-18
- Downloads:
- 0
- Uploaded by:
- 95bjyxszd95
Description: a) Start the program, request to input the name of the test program, input the name of the program, start the lexical analysis automatically and output the results;
b) The output is a binary sequence of words (see template output 1 and 2 for styles);
c) It is required to find the following lexical errors and point out the nature and location of the errors:
Illegal characters, which are not symbols of sample character set;
The character constant is missing the single quotation mark on the right (the character constant should be defined with single quotation mark on the left and right, and cannot cross lines);
The annotation part lacks the right boundary * / (the annotation requires the left and right sides to be delimited by / * and * / respectively, and cannot cross lines)
To Search:
File list (Click to check if it's the file you need, and recomment it at the bottom):
文件名 | 大小 | 更新时间 |
---|
编译原理词法分析器\实验一.cpp | 4770 | 2021-02-18
|
编译原理词法分析器 | 0 | 2021-02-18 |