Location:
Search - YUFAFENXI
Search list
Description:
Platform: |
Size: 14087 |
Author: |
Hits:
Description: 本课程设计即为词法分析阶段。词法分析阶段是编译过程的第一个阶段。这个阶段的任务是从左到右一个字符一个字符地读入源程序,对构成源程序的字符流进行扫描和分解,从而识别出一个个单词(也称单词符号或符号)。如保留字(关键字或基本字)、标志符、常数、算符和界符等等。-the curriculum design shall lexical analysis stage. Lexical analysis stage of the process is to compile the first phase. This phase of the task whatever it is a character to a character read source code, which constitute the source of the characters flow scanning and decomposition, which identified a 000 word (also known as a symbol or word symbol). Words such as reservations (keyword or basic word), URI, constant, operator and so on community website.
Platform: |
Size: 2248 |
Author: 黄德春 |
Hits:
Description: 语法分析器的一个很好的源代码 非常实用 而且功能非常强大-parser a good source of very practical and very powerful
Platform: |
Size: 1071 |
Author: 小政 |
Hits:
Description: 这是一个用C语言实现的LL(1)语法分析程序-This is a C language of LL (1) syntax analysis program
Platform: |
Size: 2124 |
Author: yue |
Hits:
Description: 编译原理语法分析器编程- The translation principle grammar analyzer programs
Platform: |
Size: 14336 |
Author: 李绍峰 |
Hits:
Description: 语法分析器的一个很好的源代码 非常实用 而且功能非常强大-parser a good source of very practical and very powerful
Platform: |
Size: 1024 |
Author: 小政 |
Hits:
Description: 这是一个用C语言实现的LL(1)语法分析程序-This is a C language of LL (1) syntax analysis program
Platform: |
Size: 2048 |
Author: yue |
Hits:
Description: 我花了很长时间做的一个语法分析器,
他可以查看生成的语法树(如果无语法错误的话)-I spent a lot of time doing a parser, He can check the syntax tree production (if not the grammar mistakes)
Platform: |
Size: 116736 |
Author: king |
Hits:
Description: 语法分析器的代码和EXE文件 由编译原理的算法编出的 -Grammar parser code and EXE file by the compiler algorithms allocation principle of
Platform: |
Size: 2045952 |
Author: 枫丹 |
Hits:
Description: 编译原理\LR(0) 语法分析器
编译原理\LR(0) 语法分析器-Compilation Principle LR (0) Compilation Principle parser LR (0) parser
Platform: |
Size: 136192 |
Author: 皇甫 |
Hits:
Description: 用visualC++实现的语法分析器,能够对编程语言的词法和句法进行分析-With visualC++ Realized parser, capable of programming language morphology and syntax analysis
Platform: |
Size: 246784 |
Author: 苗晨 |
Hits:
Description: 编译原理语法分析,需要的人可以下载去-Compilation Principle syntax analysis, those who need it can be downloaded to
Platform: |
Size: 724992 |
Author: 罗唐坤 |
Hits:
Description: 一个递归下降分析程序,实现了对语法分析程序所提供是单词序列的语法检查和结构,并实现了简单语言进行语法分析.-A recursive descent parser to realize a parser is provided by the word sequence and structure of the grammar checker, and the realization of a simple language syntax analysis.
Platform: |
Size: 251904 |
Author: dingfeng |
Hits:
Description: 一个真正详细的语法分析器的程序,有详细注解-A real parser detailed procedures, detailed comments
Platform: |
Size: 2048 |
Author: cathy |
Hits:
Description: 一个语法编译程序,包括词法分析器、语法分析器以及实现对简单程序设计语言中的逻辑运算表达式、算术运算表达式、赋值语句、IF语句、While语句以及do…while语句进行编译,并生成中间代码和直接生汇编指令的代码生成器-a english compile
Platform: |
Size: 2710528 |
Author: yangjun |
Hits:
Description: 程序名称: 递归下降语法分析器
程序用途: 编译原理实验
实验题目: 识别下列表达式
E->E+T|T T->T*F|F F->(E)|i -Name: recursive descent parser program purposes: to compile the experimental subject of experiment: Identify the following expression of E-> E+ T | T T-> T* F | F F-> (E) | i
Platform: |
Size: 1024 |
Author: zdh |
Hits:
Description: 编译器语法分析程序,输入一个表达式,进行语法分析-Compiler, parser, enter an expression for parsing
Platform: |
Size: 1024 |
Author: 余雨 |
Hits:
Description: 语法分析程序
利用C++(或C)编制确定的自顶向下预测分析语法分析程序,并对简单语言进行语法分析。
待分析的简单语言的语法若文法G[ E]为:
(1) E –> TE’
(2) E’ –> +TE’
(3) E’ –> e
(4) T –> FT’
(5) T’ –> *FT’
(6) T’ –> e
(7) F –> (E)
(8) F –> i
实验说明
具体要求如下:
(1)用可视化界面分步骤实现,显示输出每一步的处理结果。
(2)首先按照判别步骤判断给定文法是否LL(1)文法。
(3)给出文法的预测分析表。
(4)编写预测分析程序,输出句子的分析过程。
(5)输入源文件串,以“#”结束,如果是文法正确的句子,则输出成功信息,打印“SUCCESS”,否则输出“ERROR”。
例如:
输入文件: i+i*(i+i) #
输出 success
过程:略;
输入文件: i+ii#
输出 error-yufafenxi
Platform: |
Size: 13312 |
Author: chenxue |
Hits:
Description: 实现语法分析,用lex返回词法分析的结果,yacc进行分析-yufafenxi
Platform: |
Size: 48128 |
Author: wang |
Hits:
Description: ll1文法分析大综合!各种简单的复杂的语法分析,里面有实验报告和源代码,很有帮助-ll1 grammar analysis of large integrated! A variety of simple and complex grammatical analysis, which has experimental report and source code, very helpful
Platform: |
Size: 283648 |
Author: lyd |
Hits: