-
do-while循环编译器设计,用C++语言编写的源代码.-do-while cycle compiler design, C++ languages source code.
- 2022-10-25 20:55:03下载
- 积分:1
-
brief introduction, the entire project is divided into five documents : Main.c
简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来。:)-brief introduction, the entire project is divided into five documents : Main.c----- procedure entry point, it is actually very simple, it is called two functions. Global.h----- definition of global variables and Wang Parse.h----- parser the main algorithm Prece.h----- definition and realization of a number of priority the operation Stack.h----- the definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge
- 2022-09-22 15:55:02下载
- 积分:1
-
LEX程序 用来生成词法分析器
LEX程序 用来生成词法分析器-LEX procedure uses for to produce the morphology analyzer
- 2023-07-16 11:55:03下载
- 积分:1
-
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C...
(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.
- 2022-03-23 02:20:36下载
- 积分:1
-
很详细的PL0编译演示程序,学习编译的极品!
很详细的PL0编译演示程序,学习编译的极品!
-very detailed PL0 compiler Demonstration Program, the study compiled Acura!
- 2022-04-14 14:02:01下载
- 积分:1
-
aac解码器源程序在Visual C++下的实现,浮点的.速度快,效果好....
aac解码器源程序在Visual C++下的实现,浮点的.速度快,效果好.-aac decoder source code in Visual C++ under the realization of the floating-point. Fast and effective.
- 2023-07-04 15:50:03下载
- 积分:1
-
Flex词法/语法分析器源码
Flex词法/语法分析器源码 -Flex syntactic and phrase parser code
- 2022-09-27 12:35:03下载
- 积分:1
-
递归下降语法分析
递归下降语法分析-decline recursive grammar analysis
- 2022-04-10 05:33:19下载
- 积分:1
-
token 词法分析 C++写成,就是一个词法分析的一个实验报告,比较方便需要的同事...
token 词法分析 C++写成,就是一个词法分析的一个实验报告,比较方便需要的同事-token Lexical Analysis C++ languages, is a lexical analysis of an experimental report, more convenient to the needs of colleagues
- 2022-09-10 11:35:03下载
- 积分:1
-
NASM是一个开源跨平台的汇编器。里面的源码有linux下和dos下的。包含一个NASM汇编教程,源码非常清晰,含少量汇编代码。...
NASM是一个开源跨平台的汇编器。里面的源码有linux下和dos下的。包含一个NASM汇编教程,源码非常清晰,含少量汇编代码。-NASM is an open source cross-platform assembler. Inside the source code under linux and dos are under. NASM contains a compilation of tutorials, source code is very clear, with a small amount of assembly code.
- 2022-03-30 13:18:34下载
- 积分:1