-
c―语言的词法分析器。将一个C
c―语言的词法分析器。将一个C--语言程序分割成token串的序列。处理C--语言的所有token类型。程序要做成命令行程序,带两个参数,分别表示输入和输出文件名。
-c-language lexical analyzer. A C language program is separated into token strings of sequences. C-treatment of all token types. Procedures to create command line process, with two parameters, respectively, express the input and output file names.
- 2022-10-07 07:50:04下载
- 积分:1
-
it is used to solve the matrix problem easily.having the good interface
it is used to solve the matrix problem easily.having the good interface -it is used to solve the matrix problem easily.having the good interface ...
- 2022-04-23 07:15:39下载
- 积分:1
-
能够生成exe执行文件的vc++源代码程序,多多指教~
能够生成exe执行文件的vc++源代码程序,多多指教~-capable of producing documents vc implementation of the source code procedures, exhibitions ~
- 2022-03-11 07:01:47下载
- 积分:1
-
编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间...
编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详-compiler source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generated object code target code enforcement explained in detail
- 2022-01-25 21:41:34下载
- 积分:1
-
Compilation Principle grammar
编译原理语法&词法分析器(附带实验报告)希望对大家有用-Compilation Principle grammar
- 2022-03-12 15:06:21下载
- 积分:1
-
ll1的词法分析实现,没有短语分析,只是确定是不是LL1文法.
ll1的词法分析实现,没有短语分析,只是确定是不是LL1文法.-ll1 achieve the lexical analysis, no phrase, is not only determined LL1 grammar.
- 2022-03-11 02:02:20下载
- 积分:1
-
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/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
- 2022-07-12 21:52:18下载
- 积分:1
-
Compiler Type Check & Scope Check
Compiler Type Check & Scope Check
- 2022-07-24 19:39:32下载
- 积分:1
-
简单的使用mfc开发的程序。
简单的使用mfc开发的程序。- Simple use mfc develops procedure.
- 2022-01-27 19:04:33下载
- 积分:1
-
Base64 decoder for Visual C, the so
Base64 decoder for Visual C++, 所谓的Base64 , 是密码学中的一门算法 , 在计算机界来说 , 常常运用在EMAIL传送之上-Base64 decoder for Visual C, the so-called Base64. Cryptography is the one algorithm, in the computer industry, for example, is often used in transmission above EMAIL
- 2023-04-21 09:20:03下载
- 积分:1