Location:
Search - lex java
Search list
Description: (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录;
(4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。
注意事项:
(1) 两人一组
(2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,JavaCC,ANTLR等
(3) 不用考虑Pascal和C的关键词不同问题,即Pascal子集语言中假设不出现int,for等作为变量标志符
(4) read()和write()可用由scanf(),printf()等组成的语句转换。
(5) 如果有疑问可以发信给我 xpqiu@fudan.edu.cn.
Platform: |
Size: 48656 |
Author: cy |
Hits:
Description: 包含两个简单的词法分析器代码,一个是用c写的,另一个是用java写的。有一个说明文档。
Platform: |
Size: 10335 |
Author: 杨敏 |
Hits:
Description: 现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
Platform: |
Size: 5623 |
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: 2994 |
Author: 万宏兴 |
Hits:
Description: 从lex&yacc说到编译器(5.实用javacc)-from lexyacc said compiler (five. Practical JavaCC)
Platform: |
Size: 11264 |
Author: 张国 |
Hits:
Description: java写的词法分析器,写得不好别怪我-java writes the morphology analyzer, writes is not good do not
blame me
Platform: |
Size: 58368 |
Author: oomomoko |
Hits:
Description: 现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
Platform: |
Size: 5120 |
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: JLex词法分析生成器,可以用于生成简单词法分析器,java编写-JLex lexical analysis generator can be used to produce simple lexical analyzer, the preparation of java
Platform: |
Size: 94208 |
Author: |
Hits:
Description: java实现的词法分析器,手工生成,输入源程序后,可分离出数字,标志符,分割符,运算符,保留字。-achieve the lexical analyzer, artisanal production, import source, can be broken down into digital, URI, Segmentation website Operators, reservations word.
Platform: |
Size: 36864 |
Author: |
Hits:
Description: (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录;
(4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。
注意事项:
(1) 两人一组
(2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,JavaCC,ANTLR等
(3) 不用考虑Pascal和C的关键词不同问题,即Pascal子集语言中假设不出现int,for等作为变量标志符
(4) read()和write()可用由scanf(),printf()等组成的语句转换。
(5) 如果有疑问可以发信给我 xpqiu@fudan.edu.cn.
Platform: |
Size: 48128 |
Author: cy |
Hits:
Description: 包含两个简单的词法分析器代码,一个是用c写的,另一个是用java写的。有一个说明文档。-Contains two simple lexical analyzer code, one is written with c, and the other is written in java. Document has a note.
Platform: |
Size: 10240 |
Author: 杨敏 |
Hits:
Description: lex 教程,很好很强大,真的很好很强大-lex tutorial, very good very strong, very powerful really good
Platform: |
Size: 475136 |
Author: 张三 |
Hits:
Description: 词法分析器 词法分析 lex java编写-Java prepared lexical analyzer
Platform: |
Size: 16384 |
Author: xuedagong |
Hits:
Description: java实现的词法分析器,手工生成,输入源程序后,可分离出标志符,分割符,运算符,保留字-achieve the lexical analyzer, artisanal production, import source, can be broken down into URI, Segmentation website Operators, reservations word
Platform: |
Size: 228352 |
Author: tangcong |
Hits:
Description: 此法分析器生成工具 Lex 设计实例 含源码 运行程序-This method Lex parser generation tool design examples with source code to run programs
Platform: |
Size: 735232 |
Author: J |
Hits:
Description: 词法分析器 NetBean开发,简单的识别程序-lex analysis
Platform: |
Size: 103424 |
Author: 刘华峰 |
Hits:
Description: lex an show tokenizer 2 java
Platform: |
Size: 2978816 |
Author: DJ |
Hits:
Description: 这是用JAVA写的一个ANSI C的词法和语法分析器 已经通过调试 可以使用 但是没有提供预处理器-A compiler for ansi c, including the lex and parse phases.
Platform: |
Size: 304128 |
Author: 王佰钦 |
Hits:
Description: lex,yacc是词法、语法分析工具,文档介绍了词法语法分析过程及java下的lex-yacc工具——java-lex, yacc is a lexical, grammar analysis tools, document describes the process of lexical and syntax analysis under the lex-yacc java tools- javacc
Platform: |
Size: 47104 |
Author: coransaku |
Hits: