-
本程序实现了简单的编译器功能,是用PL0语言编写的,思路明确...
本程序实现了简单的编译器功能,是用PL0语言编写的,思路明确-This procedure achieved a simple compiler function is PL0 languages, ideas clearly
- 2022-06-02 01:55:43下载
- 积分:1
-
前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明...
前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧-few days ago wrote a small language lexical analysis procedures, because the other day in the knowledge base to see a VC pascal lexical analysis procedures, find that quite complex. In fact, lexical analysis procedure is the same principle, I think if you understood a simple lexical analysis procedure to write complex it is not difficult, is nothing but add a few keywords and writing several conditions judgment statement it. Lexical analysis is the basis of compilers, as well as the most simple. Well, now let us look at the procedures it. Let us look at this small language grammar it
- 2022-08-08 01:17:36下载
- 积分:1
-
Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 proc...
打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 procedure. In 2.output has all production patterns and
LALR analytical table all conditions.
- 2022-02-07 22:42:39下载
- 积分:1
-
正则表达式
regex-spencer-3.8-doc.zip
- 2022-06-16 11:44:29下载
- 积分:1
-
C++编写的Pascal词法分析器
C++编写的Pascal词法分析器-C compilation Pascal morphology analyzer
- 2023-05-05 20:00:02下载
- 积分:1
-
of the document infile outfile read into output documents, infile outfile to com...
通过对文档infile的读入 输出outfile的文件,outfile将infile中的编译语句分类组织-of the document infile outfile read into output documents, infile outfile to compile the statement classification
- 2022-01-26 02:24:03下载
- 积分:1
-
一个简单的井字游戏程序使用Prolog语言
A simple tic tac toe program using prolog
- 2022-01-26 18:31:11下载
- 积分:1
-
一个基于C++的语法分析类,可以用来定制自己的编译器
一个基于C++的语法分析类,可以用来定制自己的编译器 -A class based C++ syntactic analysis, it can be used to build you own compiler
- 2022-10-28 08:20:04下载
- 积分:1
-
词法分析器的源码,能够通过各种各样的测试
词法分析器的源码,能够通过各种各样的测试-lexical analyzer source, through all kinds of tests
- 2022-10-10 07:40:02下载
- 积分:1
-
This an expression used to generate value for the procedures it can be imported...
这是一个用来生成表达工的值的程序 它可以输入8进制或十进制的数 建立一棵语法树 并返回表达式的值-This an expression used to generate value for the procedures it can be imported or 8 band of a few decimal establish a syntax tree and return to the value of the expression
- 2022-11-08 09:00:08下载
- 积分:1