资源列表
a
- PASCAL语言的词法分析程序,用C++语言编写,开发环境为LINUX.包含源程序的输入文件和分析后的输出文件-PASCAL language lexical analysis procedures using C language, development environment for Linux. Includes input source document and analyze the output files
词法分析程序
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc =
cifafenxiqi
- /*** *****词法分析程序*** *****/ # include<iostream.h> # include<fstream.h> # include<math.h> int cc=0 -/*** ***** lexical analysis procedure *** *****/ # includelt; Iostream.hgt; # Includelt; Fstream.hgt; # Includelt; Math.hgt; Int cc =
词法
- 这是一个词法分析器,、实验内容: 1. 设计扫描器的自动机; 2. 设计翻译、生成Token的算法; 3. 编写代码并上机调试运行通过。 • 要求:输入——源程序文件; 输出——(1)相应的Token序列; (2)关键字、界符表,符号表,常数表。-This a lexical analyzer, and the contents : 1. The design of automatic scanner machine; 2. Design translation, the Token
numerical_analysis
- 在程序设计部分主要讨论了在读写函数表达式时,词法分析与语法分析的C++实现方法,这也正是本程序编写的难点与重点。之后介绍了复化求积法和Romberg求积法的编写步骤及方法以及数值积分的实现方法。-in the process of discussing some of the major functions of the reader expression, lexical analysis and parsing of C + + methods, which is precisely wha
recda
- 我们编译原理的上机作业,随便写写糊弄老师的,做tc下调试通过。-we build on the principle of operation for the casual writing fool the teachers do tc under debugging through.
85018312345678
- 编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。 -compiler theory LR (0) grammar analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and may import for the sentence syntax analysis
zy200512345
- 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行.. -this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, seman
qian
- 词法分析,用C语言开发的,绝对值的一看经过本人十多天的研究,写成的-lexical analysis using the C language, a look at the absolute value of my days after the study, written
zy134345345
- 一个简单实现了词法分析,语法分析,目标代码优化的编译器-a simple realization of the lexical analysis, grammar analysis, the objectives of optimizing code compiler
170054yufa 1234234234
- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来-definition and implementation of a stack and operation of the compile
我编写的编译原理实验的词法分析程序
- 词法分析程序,不用多说了,算法是我优化了n久的,给大家参考一下-lexical analysis procedure Needless to say, I optimization algorithm is a long n, for your reference
