Welcome![Sign In][Sign Up]
Location:
Search - 词法分析程序

Search list

[ELanguage词法分析程序

Description: 一个词法分析源程序,可以运行的,请放心!
Platform: | Size: 60928 | Author: 79446210 | Hits:

[ELanguage编译原理词法分析

Description: 一个C语言编写词法分析程序
Platform: | Size: 1338 | Author: liufengfriend | Hits:

[Other Web Code词法分析程序(编译原理)

Description: 用C语言写的词法分析程序 #include "stdio.h" #include"string.h" #include "stdlib.h" FILE *fp; char filename[20]; char token[100]; int m=0; char getch() { char ch; ch=fgetc(fp); return ch; } char getbc(char ch) { while(ch==' ') ch=getch(); return ch; }
Platform: | Size: 1218 | Author: zhimoai | Hits:

[Other词法分析程序

Description: 用C语言写的此法分析程序
Platform: | Size: 19968 | Author: qhit2028 | Hits:

[Documents一个小语言的词法分析程序原理及其实现

Description: 承德有词法分析过程和源代码哦-Chengde, a lexical analysis and source code oh
Platform: | Size: 8192 | Author: 杨功成 | Hits:

[ELanguage一个小语言的词法分析程序

Description: 一个小语言的词法分析程序- A small language lexical analyaer
Platform: | Size: 7168 | Author: | Hits:

[ELanguage递归下降分析程序

Description: 这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which defines to take the lexical analyaer the data-in. In the lexical analysis, starts from the article article to scan the source program character, once discovered when conforms to "the word" the definition source program character string, translates it the fixed length the word interior to indicate, and looks up fills in the suitable information table. After the lexical analysis, the source program character string (source program exterior expression) is translated has and so on the long information the word string (source program internal expression), and produces two forms: The chart and the identifier table, they have separately contained in source program all constants and all identifiers.
Platform: | Size: 1024 | Author: 刘远兴 | Hits:

[Windows Develop词法分析程序C

Description: 用C语言实现的 c语言的词法分析程序 功能齐全 实现算法效率嘎-C language for the c language lexical analysis procedure is complete algorithm efficiency Ga
Platform: | Size: 13312 | Author: 比赛 | Hits:

[ELanguage国立——词法分析

Description: 自己做的一个普通词法分析程序c语言环境终结符:e c j t u可扩展-have done an ordinary lexical analysis procedure c language environment End Address : c j e t u scalability
Platform: | Size: 3072 | Author: 海浪 | Hits:

[ELanguage词法分析 C++

Description: 词法分析程序 能自动识别VC++程序编译原理课程上机作业C++程序编写-lexical analysis program can automatically identify VC compiler theory courses on the plane operations C programmers
Platform: | Size: 246784 | Author: 俞鹏 | Hits:

[ELanguage简易C语言词法分析程序

Description: 简易C语言词法分析程序.zip直接解压即可解压后内有说明,请参考说明-simple C language lexical analysis procedure. Zip can be directly extracted unpacked within a note, please refer to Note
Platform: | Size: 46080 | Author: cdy | Hits:

[ELanguage我编写的编译原理实验的词法分析程序

Description: 词法分析程序,不用多说了,算法是我优化了n久的,给大家参考一下-lexical analysis procedure Needless to say, I optimization algorithm is a long n, for your reference
Platform: | Size: 2048 | Author: 冯亮 | Hits:

[ELanguagec语言词法分析程序

Description: .X语言词法分析程序的设计 目的:设计、编制、调制一个具体的词法分析程序,加深对词法分析原理的理解。 要求: (1)通过理解正规式、有限自动机原理,根据下面的X语言的说明编制一个X语言的词法分析程序。 (2)提交实验报告,报告内容如下: 目的要求、DFA、程序清单(带注释)、测试样例及结果-. X language lexical analysis procedure is designed to: design, preparation, modulation of the lexical analysis of a specific procedure, deepen understanding of the principles lexical analysis. Requirements: (1) through the understanding of the formal ceremony, finite automata theory, in accordance with the following X-language description of the preparation of an X language lexical analysis procedures. (2) submitted to the experiment report, which reads as follows: The purpose of the requirements, DFA, the list of procedures (with Notes), the test sample and the results
Platform: | Size: 33792 | Author: 萧飞 | Hits:

[ELanguage编译小程序-词法分析

Description: 这是一个用C++编写的编译原理的词法分析程序,希望对各位学习编译的同学有一定帮助-This is a C compiler prepared by the tenets of lexical analysis procedure, and I hope to learn from you and the compiler will definitely help students
Platform: | Size: 1024 | Author: 陈陪 | Hits:

[ELanguage编译实验词法分析报告

Description: 编写一个C语言的子集的词法分析程序,对C语言源代码程序进行扫描,识别简单语言的基本字、标识符、无符号整数、运算符和界符等单词符号,产生的单词转换成特别码表示,形成word文件(单词序列)保存。-CCwordSequence) preservation.
Platform: | Size: 51200 | Author: 郑章孝 | Hits:

[ELanguagec++词法分析程序

Description: 一个用C++编写的C语言词法分析程序,本人在做WEBSPHERE MQ的收发信息时需要对远端发过来的数据进行解析,然后才能确定要发送到哪一个终端,因此写了对词法分析做了一定的研究,也就写了这么一个程序.-prepared by the C language lexical analysis procedures, I do WebSphere MQ the need to send and receive information sent to the remote data analysis, in order to determine where to send a terminal, wrote a pair of lexical analysis done some research, it was such a procedure.
Platform: | Size: 9216 | Author: 何福康 | Hits:

[Other词法分析程序(050812020508+谢少春)

Description: 词法分析程序,输入字符序列,输出字符和内码 -lexical analysis procedure, the importation of character sequences, and characters within the output code
Platform: | Size: 2048 | Author: 刘军 | Hits:

[ELanguageS语言词法分析程序

Description: 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能:  组织源程序的输入  按规则拼写单词,并转换成二元形式  删除空格及无用符号(如回车符,字符常数的引号符等)  发现并定位错误  建立单词表、符号表、常数表等文件 三、 实现方法 数据结构 1、 输入 S语言源程序,为文本文件 2、 输出 词法分析程序的运行结果是:产生一个单词序列文件(token文件)和一个常数表、一个符号表文件,并输出错误信息。 (1) token文件结构 token文件用于存放从S语言源程序中扫描出来的一个个单词符号的机内表示,其文件结构如下: typedef struct token { nt label char name[30] int code int addr }token 说明:  label:单词序号;  name[30]:单词本身;  code:单词的编辑;  addr:地址,单词本身保留字时值为-1,为标识符成常数时为大于0常数,即该标识符成常数在符号表中的入口地址。 -one, Experiment S language compiler of lexical analysis to achieve whatever S scanning each line of source language symbols, makes up words, replaced internal said (token) 2, the experimental requirements call for compiler of the following functions :
Platform: | Size: 77824 | Author: 范鹏 | Hits:

[Other resource词法分析C语言版

Description: 词法分析程序 代码很有质量 但程序还须改善-lexical analysis is the quality of the code but must improve procedures
Platform: | Size: 2048 | Author: asd | Hits:

[assembly languagePL0词法分析程序

Description: 三、 实验要求 1. 使用 PL/0 语言编写程序,实现输出斐波那契数列前 20 项数值。 2. 从 PL/0 编译程序源码中抽出词法分析部分,构建 PL/0 独立词法分析程序。功能:输入为 PL/0 源程序, 输出为单词符号的序列;对于标识符和无符号整数,显示单词种别和单词自身的值两项内容;对于其他单词符 号,仅显示其单词种别。 3. 使用 AutoFlowchart 画出独立词法分析程序的程序流程图,并分析每部分的功能和特点。(Iii. Experimental requirements 1. Use PL/0 language to write programs to output the first 20 values of Fibonacci sequence. 2. Extract the part of lexical analysis from PL/0 compiler source code, and build PL/0 independent lexical analysis program. Function: Input as PL/0 source program, Output a sequence of word symbols; For identifiers and unsigned integers, the word class and the value of the word itself are displayed. For other word characters , showing only its word class. 3. Use AutoFlowchart to draw the program flow chart of the independent lexical analysis program and analyze the functions and characteristics of each part.)
Platform: | Size: 46080 | Author: 欢迎联合管理 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net