搜索资源列表
LR(1)
- 一个很好的用java编写的用来判断一个文法是否是LR(1)文法及其分析器的构造-yes
ILDA_FileParser
- ILDA文件分析和逐帧查看的工具, 可以把ILDA文件的帧数据转成C语言的数组来保存,也可以从C语言格式的文本文件中提取矢量数组为帧数据并显示,里面用到一个自己写的简单文法分析器 -1)Display ILDA file frame by frame, 2)convert ILDA file frame data to C language Vetor array. 3)Get frame vector array data from C file and display the
LL1
- L1文法分析器,只能分析 E -> TE E -> + TE | ε T -> FT T -> *FT | ε F -> i | (E)
cifafenxiqi
- 关于词法分析器自己写的一个程序,可能有些不完善的地方,需要配合固定的文法!-about cifafenxiqi code
lexlinuxsource
- 利用linux下的flex生成一个词法分析器,输入文法的正则表达式,加入相关处理函数。由main()调用yylex()入口函数执行词法分析 -Use under linux flex to generate a lexical analyzer input grammar regex adding handler function. Yylex () is called by the main () entry function to perform lexical analysis
compiler
- 编译原理:词法分析器、LL(1)文法、LR(1)文法的实现。基于Qt实现了图形界面。-Compiler theory: lexical analyzer, LL (1) grammar, LR (1) grammar implementations. Qt-based graphical interface to achieve.
aaa
- LR分析器的核心是一张分析表,它由两个子表组成: 其一是分析动作表;另一个为状态转移表。其中: S1,S2,…,Sn为分析器的各个状态;a1,a2,…,al为文法的全部终结符号和句子界符;X1,X2,…,Xp为文法字汇表中的全部文法符号。(I like doing sports and reading in my free time. My favorite sport is basketball. I often play basketball with my classmates after
实验2
- LL1文法分析器,可以识别LL1文法,求出first集与follow集,生成分析表。(LL1 grammar analyzer, you can identify the LL1 grammar, find the first set and follow set, generate an analysis table.)
语法分析器
- 该程序使用的自上而下的LL(1)分析法,,该文法不允许左递归,首先要消除左递归。(The program uses the top-down LL (1) analysis method, which does not allow left recursion, and the left recursion is first eliminated.)