登录
首页 » Compiler program » 前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明...

前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明...

于 2022-08-08 发布 文件大小:72.84 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

前些天写了个小语言的词法分析程序,因为前些天在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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vc脚本代码~~~大家多支持
    vc脚本代码~~~大家多支持-vc script code ~ ~ ~ we support more! !
    2022-02-01 18:43:26下载
    积分:1
  • The translation principle
    编译原理--词法扫描- The translation principle-- morphology scans
    2022-02-15 19:23:32下载
    积分:1
  • 词法分析,对一段程序,提取出所有的变量,数据结构里的东西,自己看看就明白了...
    词法分析,对一段程序,提取出所有的变量,数据结构里的东西,自己看看就明白了-Lexical analysis, for some procedures, to extract all the variables, data structure of things, could see for himself understood
    2022-07-25 21:28:39下载
    积分:1
  • 利用vc制作的模拟编译器的扫描程序,实现在输入字符串扫描分解为编译器能识别的符号。...
    利用vc制作的模拟编译器的扫描程序,实现在输入字符串扫描分解为编译器能识别的符号。- Using the vc manufacture simulation compiler scanning procedure, realizes in the input character string scanning decomposes the mark which can distinguish for the compiler.
    2023-04-24 06:45:03下载
    积分:1
  • a C language compiler source code, written in the Eastern foreigners, generating...
    一个C语言编译器源代码,外国人写的东东,生成目标代码时需要有masm配合。-a C language compiler source code, written in the Eastern foreigners, generating object code when it can meet the need.
    2023-03-13 21:30:04下载
    积分:1
  • pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
    pl/0,汇编原理、清华第二版。c++实现的-pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
    2022-02-10 02:02:03下载
    积分:1
  • vc实现的pl0编译器,有读取输出功能
    vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
    2022-10-10 13:20:03下载
    积分:1
  • 可以的,我见过,可以反编译出程序框架,但部分代码只能反编译成汇编Top4楼BlackPoint(黑点)回复于 2002...
    可以的,我见过,可以反编译出程序框架,但部分代码只能反编译成汇编Top4楼BlackPoint(黑点)回复于 2002-03-12 17:10...根据我所知道的dede就是最好的delphi反编译工具,可以还原窗体等资源,但是pas等只能还原成汇编,但是如果可以将汇编还原-Yes, I have seen, you can decompile a procedural framework, but some code can only decompile Top4 floor into a compilation BlackPoint (black spots) on 2002-03-12 17:10 Reply ... According to what I know is dede decompile delphi best tool to restore the form and other resources, but can only be restored to pas, such as compilation, but if it can be compiled to restore
    2022-04-19 08:00:06下载
    积分:1
  • 一个由LEX编写的C
    一个由LEX编写的C-词法分析程序。为锻炼使用者能力,未加载LEX已编译的代码。建立时最好建立控制台程序。-LEX written by a C-lexical analysis program. The user the ability to exercise without load LEX compiled code. Is best to establish procedures for the establishment of the console.
    2022-03-24 22:33:27下载
    积分:1
  • 在windows下应用的c语言编译器
    在windows下应用的c语言编译器- Under windows application c language compiler
    2022-03-21 06:02:06下载
    积分:1
  • 696518资源总数
  • 104225会员总数
  • 32今日下载