文件名称:一个小语言的yufa
介绍说明--下载内容均来自于网络,请自行研究使用
因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧。-few days ago because of 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.
相关搜索: 知识库
(系统自动生成,下载前可以参看下载内容)
下载文件列表
一个小语言的词法分析程序.htm