搜索资源列表
flex_bingle
- 编译原理(Flex):生成词法和语法分析程序的源代码的程序。-Compiler Principle (Flex) : Generation morphology and syntax analysis of a program's source code procedures.
flexbison
- 词法,语法分析自动生成工具的使用教程(源代码)。 将flex,bison结合使用可以生成复杂的编译程序。用来做编译程序的前端非常合适。-morphology, syntax analysis tools automatically generate the directory (source code). To flex, bison combination can generate complex compiler. Procedures used in the compiler fron
ANSI+C+grammar
- C语言编译器的Lex及Yacc词法及语法分析规则源码-C language compiler Lex and Yacc analysis of lexical and grammatical rules of source
Oreilly-LexandYacc2ed
- Flex & Yacc,一套词法解析和分析的工具,来源于Unix,现已经在多个平台上有移值,这是Oreilly公司出的关于此工具的教程,用djvu阅读器打开即可。-Flex
ano
- 小型pascal语音编译器,包含词法分析工具FLEX和语法分析工具Bison-compiler pascal
TINY_Compiler
- TINY C编译器源码,用于参考学习编译原理(词法分析、语法分析、语义分析等)和LEX/YACC(不是FLEX/BISON)-TINY C compiler source code, compiled for the reference to learning theory (lexical analysis, syntax analysis, semantic analysis, etc.) and LEX/YACC (not FLEX/BISON)
Flex2.5-manual
- FLEX 是词法分析解析器的产生器,需要提供生成规则,动作可以用C语言写-FLEX is a lexical analysis parser generator, the need to provide the generation rule, action can be written using C language
code
- 一个结合flex和bison编写的词法分析/语法分析和语义错误检查程序,对C语言进行检查-an analyser for C programming language using GNU flex and bison
par
- 这是编译原理的源代码,涉及到了编译原理的词法分析,语法分析。本实验采用flex和bison工具,编写了一个lex程序和一个yacc程序,实现的功能是对源程序进行词法分析和语法分析,并输出语法分析的过程。-This is source code of principles of Compilers, involving lexical analysis, syntax analysis in principles of Compilers. This experiment used flex an
lc
- 引用原作者:这个类C编译器是我在2008年写的,完成度并不高,并没有实现指针、struct这些,不过还是实现了基本的C语言数据类型(int/char/long/short等),函数的声明、定义、调用、递归,if/for/while/goto等跳转,详细请看sample和source。 为了节省开发的时间,词法和语法分析分别采用lex和yacc编写,可以用Cygwin里面的flex和bison进行编译。另外我觉得编译成x86的bytecode比较麻烦,所以定义了一套自己的bytecode
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
lexical-analysis-procedures
- 用flex工具生成一个PL/0语言的词法分析程序,对PL/0语言的源程序进行扫描,识别出单词符号的类别,统计输出各种符号的信息。-Generation tool with a flex PL/0 language lexical analysis procedures, PL/0 language source scan, identify the word symbols category, statistical output of various symbolic information.
bison
- 用bison实现的四则运算逆波兰表达式计算器。其中的词法分析用flex实现。里面是VC的工程文件。有已经生成的exe.使用时注意输入的格式: 如 3+4 输入时为3 4 +,其中的空格不能少。-Reverse Polish Notation calculator with bison achieve four operations.
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
Y
- 采用flex工具进行词法分析并结合yacc工具进行语法分析生成文法编译器 进行了完整的词法、语法分析 初始源文件4个:19210216.l,19210216.y,code.h,table.h, 运行过程: 先写出词法分析*.l文件和语法分析*.y文件。 然后运行CMD,进入DOS下,将目录切换到flex和bison及源码所在目录 1、flex 19210216.l 生成lex.yy.c 2、bison -d 19210216.y 生成1921
st_1
- 本章实验为实验一,任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。-This chapter first experiment experiments, the task is to write a program to use C source c
LexicalAnalyzer
- 使用工具实现 C/C++语言词法分析器 实现功能:使用词法分析的自动生成工具Flex 生成 C/ C++ 语言的词法分析器 -使用工具实现 C/C++语言词法分析器
lab1
- 任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。在两个强大工具的帮助下,编写一个能进行词法分析和语法分析的程序是一件相当轻松愉快的事情。 需要注意的是,由于在后面的实验中还会用到本次实验已经写好的代码,因此保持一个良好的代码风格、系统地设计代码结构和各模块之间的接口对于整个实验来讲相当重要。 -The ta