Title:
A-simple-language-interpreter Download
Description: A simple language interpreter, which can read a simple text markup files, and extract and
Convert the corresponding membership information. Contents of the file is shown below.
A simple text markup file:
<class>
<student>
<name> ABC </ name>
<id> 123456 </ id>
group1
</ Student>
</ Class>
Each "tag" contains two parts: the tag name and tag values. For example, <id> 123456 </ id> is a set of tags. Tag Name
Contained in a pair of angle brackets
("<" And ">"), <id> called tag header, </ id> as end tag. Tag between the head and tail marking as standard
Note value. In the above example,
Tag name = id, tag value = 123456 and group1 is the tag name = student of the tag values. Sum of tag name
And write tag values can branch, but
Table secret <> carriage return can not be split between all the tag value strings can not be split Enter the line or other marker.
Specific input a
To Search:
File list (Check if you may need any files):
标记语言的简单解释器算法实现\Debug\Testoutput.txt
............................\.....\标记语言的简单解释器算法实现.exe
............................\.....\标记语言的简单解释器算法实现.ilk
............................\.....\标记语言的简单解释器算法实现.pdb
............................\标记语言的简单解释器算法实现\Debug\BuildLog.htm
............................\............................\.....\mt.dep
............................\............................\.....\stdafx.obj
............................\............................\.....\vc90.idb
............................\............................\.....\vc90.pdb
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest.res
............................\............................\.....\标记语言的简单解释器算法实现.exe.intermediate.manifest
............................\............................\.....\标记语言的简单解释器算法实现.obj
............................\............................\.....\标记语言的简单解释器算法实现.pch
............................\............................\linked_Queue.h
............................\............................\linked_Stack.h
............................\............................\ReadMe.txt
............................\............................\stdafx.cpp
............................\............................\stdafx.h
............................\............................\targetver.h
............................\............................\test.xml1.txt
............................\............................\test.xml2.txt
............................\............................\test.xml3.txt
............................\............................\test.xml4.txt
............................\............................\test.xml5.txt
............................\............................\Testoutput.txt
............................\............................\标记语言的简单解释器算法实现.cpp
............................\............................\标记语言的简单解释器算法实现.vcproj
............................\............................\标记语言的简单解释器算法实现.vcproj.HQH-PC.HQH.user
............................\............................\标记语言的简单解释器算法实现.vcproj.侯擎昊-PC.侯擎昊.user
............................\............................\算法思路和数据结构设计说明.docx
............................\标记语言的简单解释器算法实现.ncb
............................\标记语言的简单解释器算法实现.sln
............................\标记语言的简单解释器算法实现.suo
............................\............................\Debug
............................\Debug
............................\标记语言的简单解释器算法实现
标记语言的简单解释器算法实现
pa_B 2010.doc