搜索资源列表
asm-lexer-and-paser
- 汇编语法语义分析器 lexer and paser-asm lexer and paser with lex
Test
- 此代码实现了算符优先文法分析器,实现对整数加减乘除运算表达式的分析和处理。 1.扫描程序,将任何一种整数运算表达式(无变量,操作数为正整数,允许加减乘除四种运算,允许使用括号和多层括号)识别为单词,并能发现单词的拼写错误 2.自底向上分析程序,在栈上实现对单词token串的自底向上分析 3. 根据算符优先文法的分析步骤,展示分析栈、token串的状态变化、相关量的优先级比较(算符优先分析表)结果输出 、判断当前是否进行规约或移进操作、(若须规约)显示当前应规约的串 4.展示语法树
QBasicBNF
- 这是一个QBasic语言的分析器,包括词法分析(QBlex.ll)和BNF语法信息 parse.ypp 可以供正在学编译原理的同学参考-This is a language analys for QBasic,QBlex.ll is a file for flex and parse.ypp is a program for bison
syntactic-analyzer
- 用Yacc编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-With Yacc write a parser, so that combined with the lexical analyzer that depending on the context-free grammar of language, whether the input word sequence recognition grammar of the senten
lexical-analyzer
- 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether the input word sequence recogn
lex
- 词法分析器又称扫描器。词法分析是指将我们编写的文本代码流解析为一个一个的记号,分析得到的记号以供后续语法分析使用。词法分析器的工作是低级别的分析:将字符或者字符序列转化成记号。-Lexical analyzer, also known as scanners. Lexical analysis refers to the text of the code we write flow analysis for a token one, analyze the resulting syntax no
morphology-analysis
- 词法分析器,将我们编写的文本代码解析为一个个记号,分析得到的记号供后续语法分析使用-morphology analysis,transform text to mark,and the mark can be used for subsequent grammer analysis
nibolanshifenxichengxu
- 逆波兰式程序分析器,用于自己编写的源程序进行语法分析,初步找出一些错误-nibolanshi chengxu fenxiqi
diguixiajiangfenxichengxu
- 递归程序分析器。这也是进行语法分析,只不过效率有点低,大家可以学思想-digui chengxufenxiqi
Compiler
- 算符优先文法分析器,支持简单的词法和语法分析,GUI可视化界面,代码简单明了-Operator precedence grammar analyzer, support simple lexical and syntax analysis, GUI visual interface, the code is simple and clear
Complier
- 基于c#的语法和词法分析器,有简单的界面-Based on c# syntax and lexical analyzer, there is a simple interface
LR0
- 对任意给定的文法G,完成识别文法活前缀的DFA、DFA的状态转化矩阵及LR(0)项目集规范族的构造;判断该文法是否为LR(0)文法,实现LR(0)分析表的构造,并输出到指定文件中;实现LR(0)分析器总控程序,对输入的表达式进行语法分析。-LR (0) Analysis Table and analyzer of structure
SourceInsight
- Source Insight是源代码编辑器的源动力。Source Insight提供语法高亮、代码导航和可定制的键盘快捷键。它不仅是一个编辑器,而且是一个理解大型源代码库的工具,因此被称为“程序编辑器和分析器”,它是灵活而轻量级的,提供有用的特性,如关系、上下文和符号窗口。它还可以显示引用树、类继承图和调用树,因为它在解析源代码时构建了一个内部的符号信息数据库。其最大的好处是在一个陌生的项目加速代码的理解(Source Insight is a source code editor by Sou