Location:
Search - Lex
Search list
Description: Lex&_Yacc_chap1.pdf
Lex&_Yacc_chap1.pdf
Lex&_Yacc_chap1.pdf
Lex&_Yacc_chap1.pdf
Lex&_Yacc_chap1.pdf
Platform: |
Size: 1546752 |
Author: lyx15@163.com |
Hits:
Description: 词法分析工具lex和语法分析yacc的使用说明文档,作编译器和解释器不可缺少的参考资料-Lexical analysis tools lex and yacc syntax analysis of the use of documentation for the compiler and interpreter indispensable reference
Platform: |
Size: 39936 |
Author: 流风 |
Hits:
Description: 一个关于lex用发的document- About lex with which sends document
Platform: |
Size: 43008 |
Author: 江腾蛟 |
Hits:
Description: 词法分析lex.yy原代码-lexical analysis lex.yy source
Platform: |
Size: 14336 |
Author: 张国 |
Hits:
Description: C语言C-lex词法分析头文件-C language C-lex lexical analysis header files
Platform: |
Size: 14336 |
Author: 张国 |
Hits:
Description: 从lex&yacc说到编译器(二)flex的使用-from lexyacc said compiler (2) the use of flex
Platform: |
Size: 4096 |
Author: 张国 |
Hits:
Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language
function:
1)Extract all lexems from C Language source code
2)Examine the syntax errors of the program and provide the line number of error line and note
3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Platform: |
Size: 192512 |
Author: 张永胜 |
Hits:
Description: Lex是美国Bell实验室用C语言研制的一个词法分析程序自生成工具。它的基本原理就是使用正则表达式扫描匹配文本,并为每一个匹配模式定义一些操作,当用C语言作宿主语言时,这些操作都由C语言实现。一种匹配的正则表达式可能会包含相关的动作。这一动作可能还包括返回一个标记。当 Lex 接收到文件或文本形式的输入时,它试图将文本与正则表达式进行匹配。它一次读入一个输入字符,直到找到一个匹配的模式。如果能够找到一个匹配的模式,Lex 就执行相关的动作(可能包括返回一个标记)。-Lex Bell Laboratories of the United States with C language developed by a lexical analysis tool generated from the process. Its fundamental principle is to use a regular expression matching text scanning, and for every definition of a matching model for operation, when the C language of the host language, these operators by C language. A match of which is likely to contain expressions related to the moves. This action may also include the return of a marker. When Lex reception of the document or text input, it is trying to text and is a regular expression matching. It read an input into the characters, until they found a matching pattern. If they can find a matching model, Lex on the implementation of the action (which may include a return of markings).
Platform: |
Size: 3072 |
Author: 万宏兴 |
Hits:
Description: 利用LEX生成工具生成统计文本文件中字符、单词和行数,并报告统计结果。-LEX generated using statistical tools generated text file of characters, words and action, and a report on results.
Platform: |
Size: 1024 |
Author: 刘斌 |
Hits:
Description: 这个是YACC和LEX结合使用来实现整数加法的简单事例,我体现的是基本的步骤,不在于其功能的完美和强大,给我一样的菜鸟以启示,以便您不必在开始的路上徘徊太久,希望您喜欢-the LEX and YACC is a combination of integers to achieve a simple example, I embody the basic steps, not its function in a perfect and strong, give me the same exposure to enlightenment, so that you need not start wandering on the road for too long, I hope you like
Platform: |
Size: 14336 |
Author: 江中月 |
Hits:
Description: 模拟lex ,实现lex 基本功能。以及基本功能点。-Simulation lex, realize the basic functions of lex. As well as the basic function point.
Platform: |
Size: 526336 |
Author: 程伟 |
Hits:
Description: lex 词法分析器的功能和输出格式
词法分析器的功能是输入源程序,输出单词符号。词法分析器的单词符号常常表示成以下的二元式(单词种别码,单词符号的
-lex lexical analyzer function and output format of the lexical analyzer function is an input source, output word symbols. Lexical analyzer of the word symbol is often expressed as the following binary-type (other types of code words, word symbols
Platform: |
Size: 36864 |
Author: Xianliang.liu |
Hits:
Description: 一本非常经典的yacc与lex的书籍,好好读,您将非常容易写出高质量的脚本程序;-err
Platform: |
Size: 84992 |
Author: |
Hits:
Description: 小型的Lex编译器,能从input.txt识别简单的C++语句,并将分析结果存于output.txt中-Lex small compiler, from input.txt identify simple C++ Statements, and the results of the analysis stored in output.txt in
Platform: |
Size: 280576 |
Author: yuleyi |
Hits:
Description: 基于C++的编译器词法分析模块生成器[Lex],可使用Visual C++ 2003编译,分析词法定义文件,产生确定自动机[DFA]和对应词法的分析代码,使用此代码可解析C++源码并生成TOKEN序列-Based on C++ compiler lexical analysis module generator [Lex], can use the Visual C++ 2003 to compile, analyze lexical definition file, generated to determine automata [DFA] and the corresponding lexical analysis code, use this code to resolve C++ source code and generates TOKEN sequence
Platform: |
Size: 268288 |
Author: secret |
Hits:
Description: 1.输入文件解析
2.正则表达式转化为NFA
3.多个NFA合并
4.NFA转换DFA
5代码生成
关于输入文件格式:
没有考虑对lex输入文件的出错处理,所以输入文件务必严格书写正确。
Lex中的正规表达式使用了以下运算符:
[] | * @ ( )
并且正规表达式中不能出现其他的子正规表达式。
如果想要在待识别的正则式中使用上述运算符,请使用转义符号,即\。
例如,如果想用*,可以写成\*
-1. Analysis of the input file 2. Regular expressions into NFA 3. More than the combined NFA conversion 4.NFA Code Generation DFA 5 on input file format: There is no consideration of the lex input file error handling, the input file must be written in strict correct. Lex in the regular expression operators used the following: [] |* @ () and regular expressions can not be a subset of other regular expressions. If you want to be identified in the regular-type operator to use the above, please use the escape symbol, that is, \. For example, if you want to use*, can be written in \*
Platform: |
Size: 17408 |
Author: 顾添锦 |
Hits:
Description: 汇编语言 词法分析器的生成器 Lex的实现-Lex
Platform: |
Size: 358400 |
Author: Eric |
Hits:
Description: 用lex生成的c minus词法分析器,功能简单有效-With c minus generated lex lexical analyzer function is simple and effective
Platform: |
Size: 10240 |
Author: my name |
Hits:
Description: 一个关于运算的词法分析器,转载人家的,很简单的一具词法分析器-lex
Platform: |
Size: 1024 |
Author: peilishen |
Hits:
Description: 用c++语言和lex-yacc工具实现的文法工具,基本功能相当于一个c语言文法,在平台性编程和可配置编程中作用很大,增加程序的灵活性。-Using c++ language and tools in the lex-yacc grammar tools, basic function is equivalent to a c language grammar, the platform of programming and programming can be configured to play a great role, increasing program flexibility.
Platform: |
Size: 140288 |
Author: malibin |
Hits:
« 12
3
4
5
6
7
8
9
10
...
36
»