Description: Iii. Experimental requirements
1. Use PL/0 language to write programs to output the first 20 values of Fibonacci sequence.
2. Extract the part of lexical analysis from PL/0 compiler source code, and build PL/0 independent lexical analysis program. Function: Input as PL/0 source program,
Output a sequence of word symbols; For identifiers and unsigned integers, the word class and the value of the word itself are displayed. For other word characters
, showing only its word class.
3. Use AutoFlowchart to draw the program flow chart of the independent lexical analysis program and analyze the functions and characteristics of each part.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
PL0词法分析程序\fa.tmp | 0 | 2020-03-30
|
PL0词法分析程序\fa1.tmp | 200 | 2020-03-31
|
PL0词法分析程序\fas.tmp | 0 | 2020-03-30
|
PL0词法分析程序\fib.pl0 | 144 | 2020-03-06
|
PL0词法分析程序\词法.cpp | 5800 | 2020-03-31
|
PL0词法分析程序\词法.exe | 136704 | 2020-03-31
|
PL0词法分析程序 | 0 | 2020-03-31 |