搜索资源列表
GCodeCompiles
- 这个文件里一直有一个源文件,主要是对数控系统中用到的G代码进行语法和词法分析,编译,对搞数控的兄弟有一定的参考价值。-This file has been a source file, mainly used in the numerical control system, G-code syntax and lexical analysis, compile, NC brothers are engaged in a certain reference value.
lex
- c-词法分析器,实现了词法分析和简单的语法token提取功能-C minus analysis
cifa
- 语法分析器,实现pascal语言的分析,对源程序从左到右进行扫描,对组成源程序的字符串拼接成为单词;并把其并把其转换成属性字输出,并管理符号表,处理词法错误。-Parser to realize pascal language analysis, source code is scanned from left to right, to the composition of a string of source code splicing into words and its properti
bianyi
- 编译原理课程设计,有源代码,实现类PL0语言的编译,mfc实现,包括词法分析、语法语义分析、目标代码生成等-Principles of curriculum design, compilation, active code, implementation class PL0 language compiler, mfc implementation, including lexical analysis, grammar, semantic analysis, object code gener
cffx
- 用C语言实现的C-语法的词法分析。对源程序进行词法判断,并输出相关结果-With the C language implementation of the C-syntax, lexical analysis.
tinyscan
- tiny语法分析器,源文件以及词法分析程序-tiny
867345arwetertrt
- 序实现了编译原理中的编译程序,完成了相应的词法、语法、语义分析-chengxushixianleyufayuyidenggongneng
89346508vc61667782466_newaspreytrtyh
- 判断单词结构的词法分析器小程序,它能够分析单词符号传递的语法语义-yufayuyifencichengxu
compile
- 编译器,实现基本的语法,词法分析功能,感兴趣的同学可以-Compiler to achieve the basic grammar, lexical analysis function
ForTrans
- 编译课程设计的基本任务是设计一个mini-pascal语言的编译器,将mini-pascal 语言的源程序翻译成等价的中间代码。要求输入mini-pascal语言写的源程序(以文件形式存储),首先经过词法分析,输出原程序分析后的二元式文件,供语法制导翻译用。经过语法制导翻译将词法分析器产生的二元式翻译成等价的四元式形式,也就是中间代码的生成。要求能进行正常的关键字如:begin,end, if ,else 等的识别-Compile the basic task of curriculum des
bian-yi-yuan-li-kechengsheji
- 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding pr
scanner
- 此程序完成了编译原理的词法和语法扫描的基本要求,最后显示扫描分析结果-This process is completed the compilation of lexical and syntax scanning principle the basic requirements, the final scan results show
GrammarAnalysis
- 实现对词法分析程序所提供的单词序列的语法检查和结构分析-Implementation of the lexical analysis program provided by the word sequence and structure analysis of the syntax check
LL1
- LL分析器 2、 在VC下打开LL1.dsp,阅读工程LL1,LL1为一个加、乘法(适当扩充可为四则)运算表达式的LL1预测语法分析器,规定其文法如下: E->TE’ (1) E’->+TE’ (2) E’->ε (3) T->FT’ (4) T’->*FT’ (5) T’->ε (6) F->(E) (7) F->i (8) 程序设计思路见课本P76,
Tiny
- 一个用c++写的表驱动的词法分析器,所分析语法是编译原理上的tiny语言- a table-driven lexical analyzer with using c++
lizong
- 编译原理词法分析 C++ 实现 没有实现语法检查-Compiler theory of lexical analysis
file
- 用C语言编写的对给定源文件进行语法和词法分析的源代码-Written by C language source files given syntax and lexical analysis of source code
Parser
- 语法分析器功能:词法分析、语义分析、编译-Parser functions: lexical analysis, semantic analysis, compile
Parser
- 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析-The preparation of a recursive descent parser, lexical analyzer to achieve the sequence of words provided by the syntax check and structural analysis
lex-and-yacc
- 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。 对输入的程序语句进行分析。对每个非终结点定义单个函数,定义了它的后继节点。然后用一个构造来的函数,使定义的后继节点符合语法,否则报错。 -Analysis of the i