CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - first and follow algorithm
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Oracle
SQL Server
MySQL
Other Databases
Search - first and follow algorithm - List
[
SQL Server
]
LL-1-wenfa-fenxiqi
DL : 0
预测分析表自动构造程序的实现 设计内容及要求:对于任意输入的一个LL(1)文法,构造其预测分析表。要求:首先实现集合FIRST(X)构造算法和集合FOLLOW(A)构造算法,再实现教材P.79给出的预测分析表构造算法。程序显示输出预测分析表或输出到指定文件中。 预测分析程序的实现 设计内容及要求: 对文法 G: E→E+T|T 按教材P.76表4.1构造出G的预测分析程序, T→T*F|F 程序显示输出如P.78那样的匹配过程。 F→(E)|i -Predictive analysis table automatically construct procedures to achieve design content and requirements: For any input an LL (1) grammar, construct its predictive analysis table. Requirements: First, to achieve set FIRST (X) construction algorithm and set FOLLOW (A) construction algorithm, and then realize textbooks P.79 predictive analysis given in the table construction algorithm. Predictive analysis program displays the output table or output to the specified file. Implementation of predictive analytics program design content and requirements: for grammar G: E → E+T | T P.76 Table 4.1 by textbooks construct predictive analysis program G, T → T* F | F program displays the output as such P.78 matching process. F → (E) | i
Date
: 2025-12-26
Size
: 20kb
User
:
郭彦斌
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.