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: 2994 |
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: java实现的对算术表达式进行词法分析和语法分析,实现过程很简练,值得参考哦!-achieve the right arithmetic expression for lexical analysis and syntax analysis, implementation process is very concise and valuable reference Oh! Platform: |
Size: 74752 |
Author:陈为 |
Hits:
Description: 类c语言编译器,提供从词法分析到语义分析的一系列操作,可供编译原理学习使用。-category c compiler, from lexical analysis of the semantic analysis of a series of manipulations, Principle study compiled for use. Platform: |
Size: 32768 |
Author:张博 |
Hits:
Description: java词法分析的主要代码,由sun的j2re提取,javac\v8\parser\-java lexical analysis of the main code from the sun j2re extraction, javac \ v8 \ parser \ Platform: |
Size: 5120 |
Author:zb |
Hits:
Description: 本程序是用JAVA语言编写的一个小的词法分析器,可实现输入语句的词法分析。-this program is written in Java and a small lexical analyzer can achieve input sentences of lexical analysis. Platform: |
Size: 18432 |
Author:苏艳 |
Hits:
Description: JAVA词法分析程序,程序不难,但是对于初学者来说具有一定参考价值-JAVA lexical analysis procedure is not difficult, but for a newcomer with a certain reference value Platform: |
Size: 20480 |
Author:奚士佳 |
Hits:
Description: JLex词法分析生成器,可以用于生成简单词法分析器,java编写-JLex lexical analysis generator can be used to produce simple lexical analyzer, the preparation of java Platform: |
Size: 94208 |
Author: |
Hits:
Description: 采用MyEclipse3.1+JDK1.5编译通过
中文词法分析-MyEclipse3.1 JDK1.5 compiler used by the Chinese lexical analysis Platform: |
Size: 2467840 |
Author:张磊 |
Hits:
Description: 这是一个词法分析程序,是在编译原理课编写下来的,经过多次修改。还能够分析对10+9e这样的单词。比较全面。-This is a lexical analysis procedure is compiled in principle lesson from the prepared, after several revisions. Also 10 9e analysis of the word. More comprehensive. Platform: |
Size: 1024 |
Author: |
Hits:
Description: 对一个Java程序进行简单的词法分析,要求用到StringTokenizer等类进行各类分析的题目。-of a Java process simple lexical analysis, StringTokenizer requirements used for various categories such as analysis of the topic. Platform: |
Size: 6144 |
Author:lizhx |
Hits:
Description: 此为编译原理的词法分析部分,包括源程序的录入,token,错误,符号表的输出及保存,作的不是太好-this principle to build the lexical analysis, including the source of input, token, the erroneous, Symbol Table output and storage, is not very good for! Platform: |
Size: 60416 |
Author:闫相通 |
Hits:
Description: 编译原理上机实验,c语言的词法分析器。将单词分为保留字,标识符,数字。可实现c语言的几乎全部词法分析。-Principle of the Experimental Machine compiler, c language lexical analyzer. The word is divided into reserved words, identifiers, numbers. Can be realized almost all of c language lexical analysis. Platform: |
Size: 3072 |
Author:齐旭蕾 |
Hits:
Description: 实现编译原理中的词法分析,通过java语言实现-Implement the principle of the lexical analysis compiled by java language Platform: |
Size: 73728 |
Author:上官清水 |
Hits: