Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - CALL
Search - CALL - List
这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写,像hash表里的hash函数,还有像动态自增长分配等。当然这个还很不完善,但是已经作了很多工作,差就差在没有找到理想的脚本支持语言,最后没有办法只能用函数指针的数组来进行语义调用了。-this but my DEDECATES production, from the play of parser, written in their own procedures, not to use the results of others directly from the original grammar conducted calculated reasoning, but the use of the c language, many are bottom of their function to write, like hash exterior of the hash function , as from the dynamic growth of distribution. Of course, this is far from perfect, but has made a lot of work, they just lacked the poor fail to find an ideal script language support, no way to the final only with an array of function pointers for the Semantic call.
Date : 2008-10-13 Size : 88.94kb User : 中国

DL : 0
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇编实现并编译为 io.obj,将由 Link 链接。生成 EXE。整个流程完整清晰,代码易读。-JC1.0. The compiler includes complete documentation and procedures. With Lex Bison, can develop. Statement 5, support mixed computing. Input and output as two IO statement (function call), compiled by the compiler to achieve and io.obj will link Link. EXE generation. The entire process, complete and clear, legible code.
Date : 2008-10-13 Size : 1.15mb User : jimsoft

DL : 0
PL/0语言是Pascal语言的一个子集,我们这里分析的PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。以下源程序是以清华大学出版社《编译原理》中的源代码为基础作了少量改动而成。 程序在Turbo Pascal 7.0上编译运行通过。 -PL / 0 language Pascal language is a subset of, we have here the analysis of PL / 0 compilers including the right PL / 0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL / 0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided a report errors and error recovery functions. The source did not compile the wrong circumstances, PCODE category called to explain the interpretation and implementation of procedures generated PCODE category code. Following is the source Qinghua University Press, &quo
Date : 2008-10-13 Size : 18.61kb User : 姚紫欣

一、 实验内容 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 :
Date : 2008-10-13 Size : 75.96kb User : 范鹏

序(约延时8ms)后再回到按键查询状态,不断循环;有按键时,LED动态显示子程序作为按键防抖延时被连续调用二次(约延时16ms),待按键处理程序执行完后,再回到按键查询状态,同时兼顾了按键扫描取值的准确性和LED动态显示的稳定性。秒定时采用定时器T0中断方式进行,60秒计数由定时-sequence (about 8ms delay) to come back button inquiries and continuously cycle; When a button, LED dynamic display subroutine as a button camera was delayed second consecutive Call (about 16ms latency), the key question after the implementation process, to return to the keys for the state, taking into account the keys scanning accuracy and value of the LED display dynamic stability. Seconds regularly used T0 timer interrupt, 60 seconds count by the timing
Date : 2008-10-13 Size : 73.12kb User : 递减化

设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck 5) 类型检测 Class CAnalyzer 类型匹配 函数调用参数检测 6) 代码生成 PCode 80X86 ASM 7) 总结 详细内容请阅读本文提供的设计文档与全部源代码。-basic design documents as follows : 1) the overall framework 2) lexical analysis CTokenizer Class C Class CScaner keyword table identifier accidence 3) syntax analysis Class CParser Grammar basic tree structure support for the statement and Operational 4) Establishment of the symbol table Class LineListRec Class Buck etListRec Class CSymbolTable Class CFunArgsC heck 5) type detection Class CAnalyzer type matching function call parameters detection 6) code Generation PCode 80X86 ASM 7) summarized details please read this paper the design documentation and full source generation yards.
Date : 2008-10-13 Size : 10.35kb User : shifenai

DL : 0
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。 该软件为PL/0语言编译程序,所实现的扩充功能如下: 1.增加单词:保留字 ELSE,FOR,TO, DOWNTO 2.增加运算 +=,-=,++,-- 3.不等号# 改为 <> 4.增加条件语句的ELSE子句 5.扩充语句: ①FOR <变量>:=<表达式> TO <表达式> DO <语句> ②FOR <变量>:=<表达式> DOWNTO<表达式> DO <语句> 其中,语句①的循环变量的步长为1, 语句②的循环变量的步长为-1。 概述 源文件: *.plo 目标文件: *.COD 实现平台:C++ Builder6.0 -the compiler, the source language of PL / 0 language, target language of the imaginary stack of computer assembly language. PL / 0 language Pascal language is a subset of, PL / 0 compilers including the right PL / 0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL / 0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided the error reporting function. The source did not compile the wrong circumstances, Call category PCODE explain the interpretation and implementation of procedures generated P
Date : 2008-10-13 Size : 374.08kb User : mayfar

《PL/0的编译器》:PL/0语言是Pascal语言的一个子集,《PL/0的编译器》实现了把客户用PL/0语言编写的程序编译成类PCODE代码,并能虚拟机上解释运行生成的类PCODE代码的功能。《PL/0的编译器》采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。-"PL / 0 compiler" : PL / 0 Pascal language is a language subset, "PL / 0 compiler" achieved the customers using PL / 0 language procedures compiled PCODE category code and the virtual machine can explain the operation generated PCODE category code functions. "PL / 0 compiler" to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis and code generation as an independent for the subroutine call syntax analysis program. Grammatical analysis at the same time, provided a report errors and error recovery functions.
Date : 2008-10-13 Size : 374.94kb User : 李建龙

这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写,像hash表里的hash函数,还有像动态自增长分配等。当然这个还很不完善,但是已经作了很多工作,差就差在没有找到理想的脚本支持语言,最后没有办法只能用函数指针的数组来进行语义调用了。-this but my DEDECATES production, from the play of parser, written in their own procedures, not to use the results of others directly from the original grammar conducted calculated reasoning, but the use of the c language, many are bottom of their function to write, like hash exterior of the hash function , as from the dynamic growth of distribution. Of course, this is far from perfect, but has made a lot of work, they just lacked the poor fail to find an ideal script language support, no way to the final only with an array of function pointers for the Semantic call.
Date : 2025-12-25 Size : 89kb User :

DL : 0
JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇编实现并编译为 io.obj,将由 Link 链接。生成 EXE。整个流程完整清晰,代码易读。-JC1.0. The compiler includes complete documentation and procedures. With Lex Bison, can develop. Statement 5, support mixed computing. Input and output as two IO statement (function call), compiled by the compiler to achieve and io.obj will link Link. EXE generation. The entire process, complete and clear, legible code.
Date : 2025-12-25 Size : 1.15mb User :

DL : 0
PL/0语言是Pascal语言的一个子集,我们这里分析的PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。以下源程序是以清华大学出版社《编译原理》中的源代码为基础作了少量改动而成。 程序在Turbo Pascal 7.0上编译运行通过。 -PL/0 language Pascal language is a subset of, we have here the analysis of PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided a report errors and error recovery functions. The source did not compile the wrong circumstances, PCODE category called to explain the interpretation and implementation of procedures generated PCODE category code. Following is the source Qinghua University Press, &quo
Date : 2025-12-25 Size : 18kb User : 姚紫欣

一、 实验内容 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 :
Date : 2025-12-25 Size : 76kb User : 范鹏

设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck 5) 类型检测 Class CAnalyzer 类型匹配 函数调用参数检测 6) 代码生成 PCode 80X86 ASM 7) 总结 详细内容请阅读本文提供的设计文档与全部源代码。-basic design documents as follows : 1) the overall framework 2) lexical analysis CTokenizer Class C Class CScaner keyword table identifier accidence 3) syntax analysis Class CParser Grammar basic tree structure support for the statement and Operational 4) Establishment of the symbol table Class LineListRec Class Buck etListRec Class CSymbolTable Class CFunArgsC heck 5) type detection Class CAnalyzer type matching function call parameters detection 6) code Generation PCode 80X86 ASM 7) summarized details please read this paper the design documentation and full source generation yards.
Date : 2025-12-25 Size : 10kb User : shifenai

DL : 0
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。 该软件为PL/0语言编译程序,所实现的扩充功能如下: 1.增加单词:保留字 ELSE,FOR,TO, DOWNTO 2.增加运算 +=,-=,++,-- 3.不等号# 改为 <> 4.增加条件语句的ELSE子句 5.扩充语句: ①FOR <变量>:=<表达式> TO <表达式> DO <语句> ②FOR <变量>:=<表达式> DOWNTO<表达式> DO <语句> 其中,语句①的循环变量的步长为1, 语句②的循环变量的步长为-1。 概述 源文件: *.plo 目标文件: *.COD 实现平台:C++ Builder6.0 -the compiler, the source language of PL/0 language, target language of the imaginary stack of computer assembly language. PL/0 language Pascal language is a subset of, PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided the error reporting function. The source did not compile the wrong circumstances, Call category PCODE explain the interpretation and implementation of procedures generated P
Date : 2025-12-25 Size : 375kb User : mayfar

《PL/0的编译器》:PL/0语言是Pascal语言的一个子集,《PL/0的编译器》实现了把客户用PL/0语言编写的程序编译成类PCODE代码,并能虚拟机上解释运行生成的类PCODE代码的功能。《PL/0的编译器》采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。-"PL/0 compiler" : PL/0 Pascal language is a language subset, "PL/0 compiler" achieved the customers using PL/0 language procedures compiled PCODE category code and the virtual machine can explain the operation generated PCODE category code functions. "PL/0 compiler" to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis and code generation as an independent for the subroutine call syntax analysis program. Grammatical analysis at the same time, provided a report errors and error recovery functions.
Date : 2025-12-25 Size : 375kb User : 李建龙

DL : 0
简单C编译器生成的目标代码是8086的汇编代码(16位),可以在一般的PC上被像MASM之类的汇编编译程序编译,生成可执行文件后,在DOS或Windows控制台下运行。 实现的语言定义如下: 语言类似于tiny语言,不支持过程调用,也就是只有一个main函数,无其他函数和全局变量 基本语句:注释语句(/*…*/),输入语句(int input(void) ),输出语句(void output(int) ),赋值语句。这里的输入输出语句实际上类似于函数调用,可以看作是本语言内部的函数 算术运算符:+、—、*、/ 数据类型:整数.-Simple C compiler generated object code is 8086 assembly code (16), the PC in general were such as MASM compilation compiler compiler to generate executable file, in DOS or Windows console run. The realization of the language are defined as follows: the language is similar to tiny language, do not support the procedure call, that is, there is only one main function, no other function and global variable basic statement: Note statement (/* ...* /), type the statement (int input (void )), the output statement (void output (int)), assignment statements. The input and output statements in fact similar to function calls, can be seen as a function of the language within the Arithmetic Operators: 2B !,-,*,/ data types: integer.
Date : 2025-12-25 Size : 403kb User : Tony

cg编译器,可以编译cg语言的程序,方便直观。还可以在c++中调用。-cg compiler can compile cg language procedures, to facilitate intuitive. Can also c++ Call.
Date : 2025-12-25 Size : 208kb User : 司慧琳

DL : 0
动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern "C"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-Dynamic link library preparation process. Static library and dynamic library distinction, and call procedures in the static library and dynamic link library when the distinction. How to use tool to view a dynamic link library function of the output, Depends tools, C++ Compiler technology to adapt the name of a dynamic link library function of the impact of the output, extern
Date : 2025-12-25 Size : 169kb User : 王宇

孙鑫老师VC视频第十九课代码:动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern "C"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-Xin Sun 19th class teacher VC video code: dynamic-link library preparation process. Static library and dynamic library distinction, and call procedures in the static library and dynamic link library when the distinction. How to use tool to view a dynamic link library function of the output, Depends tools, C++ Compiler technology to adapt the name of a dynamic link library function of the impact of the output, extern
Date : 2025-12-25 Size : 169kb User : shanyingying

future call option in c...no nautanki seedhi baat
Date : 2025-12-25 Size : 2kb User : aashish
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.