-
Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历...
Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
- 2022-03-12 10:21:31下载
- 积分:1
-
FFmpeg output_example.cpp的源代码。
FFmpeg output_example.cpp的源代码。-The code of output_example.cpp belongs to FFmpeg.
- 2023-05-18 08:20:04下载
- 积分:1
-
lr(0),语法分析,界面很漂亮,利用C++语言,可生成语法树...
lr(0),语法分析,界面很漂亮,利用C++语言,可生成语法树-lr(0),parsing, interface is beautiful,use c++,can create syntax tree
- 2022-12-20 10:25:03下载
- 积分: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
-
K-nearest neighbor classifier (k-NN) is a nonparametric approach for classification. It does not require the priori knowledge such as priori probabilities and the conditional probabilities. It operates directly towards the samples and is categorized as an instance-based classification method.
- 2022-07-21 10:25:47下载
- 积分:1
-
这是一个功能完善的可编译DOS下和windows下的tiny
这是一个功能完善的可编译DOS下和windows下的tiny-c编译器。里面有可执行文件可以试验。源码非常清晰,值得研究。-This is a fully functional that can be compiled under DOS and windows under the tiny-c compiler. Inside the executable file can experiment. Source code is very clear and worth studying.
- 2022-04-19 11:11:57下载
- 积分:1
-
#包括<;fstream & gt;
#include
- 2022-02-03 06:24:20下载
- 积分:1
-
The Lua code will be embedded in a presentation to their own method of procedure
本代码演示了将Lua嵌入到自己程序中的方法
-The Lua code will be embedded in a presentation to their own method of procedure
- 2022-04-14 11:34:49下载
- 积分:1
-
编译课程设计,自己编的一个词法分析器,功能还算强大,只要自己再在上面加些代码可以构成语法分析,(包括与处理程序)....
编译课程设计,自己编的一个词法分析器,功能还算强大,只要自己再在上面加些代码可以构成语法分析,(包括与处理程序).-compiler curriculum design, own a series of the lexical analyzer, functions fairly strong, as long as the above again add some code may constitute syntax analysis, (including processing).
- 2022-10-21 12:20:03下载
- 积分:1
-
C语言编写的简单的将汇编语言文件转化为单词二元式流文件的小软件。...
C语言编写的简单的将汇编语言文件转化为单词二元式流文件的小软件。-,,
- 2022-07-03 07:26:42下载
- 积分:1