|
项目描述: |
In my first year university programming project one of my missions is to write a parser.   Parsing is mainly about advanced problems such as matching up parentheses and building expression tress, but before it can be done, there are some mundane things to take care of: skipping over spaces, recognizing that a sequence of characters such as 0.13 and + represents a real number and a plus operator respectively, and so on.
在我大学第一年中,我的一个编程项目是编写一个分析器。主要分析一些高级问题,如模式匹配,生成表达式树,在运行它之前,要注意一些小事情:跳过空格,识别一个字符序列,如0.13 ,以及表达一个实数,一个+运算符,等等
来源: http://www.codeguru.com/cpp_mfc/LexicalAnalyser.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
LexicalAnalyser |
 1.0  |
2004-04-09 |
下载 |
|
|