-
前些天写了个小语言的词法分析程序,因为前些天在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
-
software that use for writing the coding, also work with MPLAB for compiler. (ou...
software that use for writing the coding, also work with MPLAB for compiler. (ouput .hex file that can be use for design circuit (Proteus-software that use for writing the coding, also work with MPLAB for compiler. (ouput .hex file that can be use for design circuit (Proteus))
- 2022-02-14 18:23:22下载
- 积分:1
-
编制一个词法分析程序,从输入的源程序中,分析出各个具有独立意义的单词,即基本保留字、标识符、常量、运算符、界符五大类。并依次输出每类单词,错误时记下出错的行列,...
编制一个词法分析程序,从输入的源程序中,分析出各个具有独立意义的单词,即基本保留字、标识符、常量、运算符、界符五大类。并依次输出每类单词,错误时记下出错的行列,出错原因,然后跳过错误部分继续分析-compiled a lexical analysis procedures from the importation of the source, the analysis of the various independent significance of the word, that is to retain the basic character identifier, constants, and Operators, the industry address five major categories. And each type of output followed by the words, the wrong way down the ranks wrong, wrong reasons, then jump to the wrong part analysis
- 2023-04-16 02:05:03下载
- 积分:1
-
LDPC码在AWGN信道下的MATLAB仿真程序
LDPC码在AWGN信道下的MATLAB仿真程序-LDPC code in AWGN channel under the MATLAB simulation program
- 2023-01-22 19:35:04下载
- 积分:1
-
编译器,解释器构造,词法、语法、语义分析
编译器,解释器构造,词法、语法、语义分析-interpreter
- 2022-01-26 06:23:52下载
- 积分:1
-
gc6.7 一个适用于CC++的内存垃圾回收器,可以像Java中那样随意的分配内存而不用释放,也不必担心内存泄漏了...
gc6.7 一个适用于CC++的内存垃圾回收器,可以像Java中那样随意的分配内存而不用释放,也不必担心内存泄漏了-gc6.7 an application to the C C memory for the garbage collector. Java can be as arbitrary as the allocation of memory instead of the release, there is no need to worry about a memory leak
- 2023-07-17 12:50:04下载
- 积分:1
-
编译原理课程报告
编译原理课程报告-report compiled Principle
- 2023-02-13 02:25:03下载
- 积分:1
-
在CPLD内实现声调和时间的控制,在LATTICE的ISPLEVER6.1下编译通过。可以修改定时时间进行声调的修改...
在CPLD内实现声调和时间的控制,在LATTICE的ISPLEVER6.1下编译通过。可以修改定时时间进行声调的修改-In the CPLD to achieve control of tone and time, in LATTICE under the ISPLEVER6.1 compiled through. Can be modified from time to time time to tone changes
- 2022-11-22 15:05:04下载
- 积分:1
-
TINYC source code
TINYC的源代码-TINYC source code
- 2023-04-16 17:45:04下载
- 积分:1
-
在文本下编辑,把需要分析的程序写在zf
在文本下编辑,把需要分析的程序写在zf-infile.txt内,程序的结尾必须以“@”标志符结束,程序结果输出在同目录内,文件名为zf-outfile.txt,此文件为自动生成。 - Edits under the text, the procedure which needs to analyze
writes in zf-infile.txt, the procedure ending must the designator end
by "@", the procedure result output in with the table of contents in,
document named zf-outfile.txt, this document is the automatic
production.
- 2022-06-01 10:33:22下载
- 积分:1