Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program
Title: lexical-analyzer Download
 Description: Compile a report principle experiment to experiment: lexical analyzer experimental purposes: to achieve lexical analysis program TINY+ language (scanner) Experiment: a lexical analyzer Input Output Scan program source code file, the output is token string. 2, you need to follow the " longest string matching principle" , such as matching the string ' : =' is the assignment operator instead of a colon and equals two operators. Token expressed as key-value pairs (Kind, Value) format. The following token symbols represent different categories (ie Kind values) KEY expressed reservations expressed special symbol SYM word identifier ID NUM represents a numerical value represents the string constant constant STR 3, the detection lexical error: give meaningful error messages and line number the error occurred.
 To Search:
File list (Check if you may need any files):
 

lexical analyzer
................\Debug
................\.....\exp1.exe
................\.....\exp1.ilk
................\exp1
................\exp1.sdf
................\exp1.sln
................\exp1.v12.suo
................\....\Debug
................\....\exp1.vcxproj
................\....\exp1.vcxproj.filters
................\....\src.cpp
................\文档.doc
    

CodeBus www.codebus.net