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
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - first and follow algorithm - List
[
ELanguage
]
first&follow
DL : 0
first和Follow分析相关算法 编译原理实验的一个内容,VC++编译-Analysis of first and Follow-correlation algorithm to compile an element of principle experiment, VC++ compiler
Date
: 2025-12-26
Size
: 1.87mb
User
:
chuhaiyun
[
ELanguage
]
MyComPileDesign
DL : 0
问题描述 设计一个由正规文法生成First集和Follow集并进行简化的算法动态模拟。(算法参见教材) 【基本要求】 动态模拟算法的基本功能是: (1) 输入一个文法G; (2) 输出由文法G构造FIRST集的算法; (3) 输出First集; (4) 输出由文法G构造FOLLOW集的算法; (5) 输出FOLLOW集。 -Description of the problem to design a grammar generated by the First Set and Follow sets and dynamic simulation of a simplified algorithm. (See materials algorithm) the basic requirements of】 【dynamic simulation algorithm for the basic functions are: (1) enter a grammar G (2) output by the grammar G constructed sets FIRST algorithm (3) First output set (4) output by the FOLLOW structure grammar G set algorithm (5) Set the output FOLLOW.
Date
: 2025-12-26
Size
: 501kb
User
:
穆鹏
[
ELanguage
]
Operator_priority
DL : 0
自动的编译原理算符优先算法(具有自动算FIRST集,FOLLOW集和算符优先表,)编译后为exe,可输入参数执行环境为vs2005 语言C#-Automatic Compilation Principle operator priority algorithm (with automatic calculation FIRST sets, FOLLOW sets, and operator priority table,) compiled for the exe, the implementation of the environment can enter parameter vs2005 language C#
Date
: 2025-12-26
Size
: 33kb
User
:
高飞
[
ELanguage
]
20029440913
DL : 0
(1) 根据LL(1)分析法编写一个语法分析程序,可根据自己实际情况,选择以下一项作为分析算法的输入: a. 直接输入根据已知文法构造的分析表M b.输入文法的FIRST(α)和FOLLOW(U)集合,由程序自动生成文法的分析表M; c.输入已知文法,由程序自动构造文法的分析表M。 (2) 程序具有通用性 所开发的程序可适用于不同的文法和任意输入串,且能判断该文法是否为LL(1)文法。 (3) 有运行实例 对于输入的文法和符号串,所编制的语法分析程序应能正确判断此串是否为文法的句子,并要求输出分析过程。 -(1) According to the LL (1) method to write a parser, according to their own situation, choose one of the following analysis of the algorithm as input: a. directly into the basis of known structures of grammar table M b. enter the grammar of FIRST (α) and FOLLOW (U) set automatically by the program analysis table statute of Health M c. Enter known grammar, the program can automatically construct grammatical analysis table M. (2) program has universal The developed program used in various types of grammar and an arbitrary input string, and can determine whether the grammar LL (1) grammar. (3) the running instance Grammar and symbols for the input string, the parser should be compiled correctly determine whether this string of sentence grammar, and asked the output of the process.
Date
: 2025-12-26
Size
: 283kb
User
:
zmf
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.