文件名称:词法分析2004328831139
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.03mb
- 下载次数:
- 0次
- 提 供 者:
- 陈**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
前些天写了个小语言的词法分析程序,因为前些天在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
相关搜索: 知识库
(系统自动生成,下载前可以参看下载内容)
下载文件列表
词法分析2004328831139
.....................\cifa001.cpp
.....................\CompilerCode.doc
.....................\lex23
.....................\.....\Debug
.....................\.....\global.h
.....................\.....\lex.cpp
.....................\.....\lex.dsp
.....................\.....\lex.dsw
.....................\.....\lex.exe
.....................\.....\lex.ncb
.....................\.....\lex.opt
.....................\.....\lex.plg
.....................\.....\output.txt
.....................\.....\output2.txt
.....................\.....\test.txt
.....................\.....\test2.txt
.....................\词法分析
.....................\........\cifa.cpp
.....................\........\cifa.dsp
.....................\........\cifa.dsw
.....................\........\cifa.ncb
.....................\........\cifa.opt
.....................\........\cifa.plg
.....................\........\Debug
.....................\........\infile.txt
.....................\........\outfile.txt
.....................\........\词法分析.dsp
.....................\........\词法分析.dsw
.....................\........\词法分析.ncb
.....................\........\词法分析.opt
.....................\........\词法分析.plg
.....................\词法分析--test
.....................\..............\cifa.cpp
.....................\..............\cifa.dsp
.....................\..............\cifa.dsw
.....................\..............\cifa.ncb
.....................\..............\cifa.opt
.....................\..............\cifa.plg
.....................\..............\Debug
.....................\..............\infile.txt
.....................\..............\outfile.txt
.....................\..............\词法分析.dsp
.....................\..............\词法分析.dsw
.....................\..............\词法分析.ncb
.....................\..............\词法分析.opt
.....................\词法分析2004328831139.txt
.....................\cifa001.cpp
.....................\CompilerCode.doc
.....................\lex23
.....................\.....\Debug
.....................\.....\global.h
.....................\.....\lex.cpp
.....................\.....\lex.dsp
.....................\.....\lex.dsw
.....................\.....\lex.exe
.....................\.....\lex.ncb
.....................\.....\lex.opt
.....................\.....\lex.plg
.....................\.....\output.txt
.....................\.....\output2.txt
.....................\.....\test.txt
.....................\.....\test2.txt
.....................\词法分析
.....................\........\cifa.cpp
.....................\........\cifa.dsp
.....................\........\cifa.dsw
.....................\........\cifa.ncb
.....................\........\cifa.opt
.....................\........\cifa.plg
.....................\........\Debug
.....................\........\infile.txt
.....................\........\outfile.txt
.....................\........\词法分析.dsp
.....................\........\词法分析.dsw
.....................\........\词法分析.ncb
.....................\........\词法分析.opt
.....................\........\词法分析.plg
.....................\词法分析--test
.....................\..............\cifa.cpp
.....................\..............\cifa.dsp
.....................\..............\cifa.dsw
.....................\..............\cifa.ncb
.....................\..............\cifa.opt
.....................\..............\cifa.plg
.....................\..............\Debug
.....................\..............\infile.txt
.....................\..............\outfile.txt
.....................\..............\词法分析.dsp
.....................\..............\词法分析.dsw
.....................\..............\词法分析.ncb
.....................\..............\词法分析.opt
.....................\词法分析2004328831139.txt