Location:
Search - token word
Search list
Description: 使用面向对象方法完成“快速拼写检查程序”的分析、设计和实现过程。快速拼写检查程序基本要求说明如下: 1.进行拼写检查的文件以文本文件形式存储于外存上;2.只检查文件中英文单词的拼写错误;3.单词是用字母(a…z或A…Z)定义,任一非字母字符作为分隔符;4.判断单词拼写正误的依据是词典,词典以文本文件形式存放于外存上;5.词典文件第1行为词典的名称,以后每一行存放一个单词;6.输出结果以文本文件形式存储,其格式为:第1行:被拼写检查的文件名 + 词典名 第2行后的每一行: 出错单词 位于第x行7.设计一个合理的GUI,注意GUI界面类与功能类的关系应比较松散。-use of object-oriented method to complete the "quick spell-check procedure" in the analysis, design and implementation process. Rapid screening procedures spelling basic requirements as follows : 1. Spell-checking documents to text files stored in the form of Disk; 2. Just check the documents in both Chinese and English word spelling errors; 3. Word is letters (a z or A ... ... Z) definition, as a non-alphabetic character as the separator; 4. Judge spelling error is the basis of dictionaries, dictionaries in the form of text files stored in external memory; 5. Dictionary document acts of a dictionary of names, each line deposited a word; 6. Output form of a text document storage, its format : Line 1 : The spell-check dictionary file name from the second line after each line : at
Platform: |
Size: 8857 |
Author: 罗春威 |
Hits:
Description: 对简单的C程序或者Pascal程序进行词法分析以TOKEN字的形式放入结果文件-of simple C program or Pascal procedures lexical analysis in the form of the word TOKEN Add outcome document
Platform: |
Size: 8589 |
Author: 杨鼎新 |
Hits:
Description: 使用面向对象方法完成“快速拼写检查程序”的分析、设计和实现过程。快速拼写检查程序基本要求说明如下: 1.进行拼写检查的文件以文本文件形式存储于外存上;2.只检查文件中英文单词的拼写错误;3.单词是用字母(a…z或A…Z)定义,任一非字母字符作为分隔符;4.判断单词拼写正误的依据是词典,词典以文本文件形式存放于外存上;5.词典文件第1行为词典的名称,以后每一行存放一个单词;6.输出结果以文本文件形式存储,其格式为:第1行:被拼写检查的文件名 + 词典名 第2行后的每一行: 出错单词 位于第x行7.设计一个合理的GUI,注意GUI界面类与功能类的关系应比较松散。-use of object-oriented method to complete the "quick spell-check procedure" in the analysis, design and implementation process. Rapid screening procedures spelling basic requirements as follows : 1. Spell-checking documents to text files stored in the form of Disk; 2. Just check the documents in both Chinese and English word spelling errors; 3. Word is letters (a z or A ... ... Z) definition, as a non-alphabetic character as the separator; 4. Judge spelling error is the basis of dictionaries, dictionaries in the form of text files stored in external memory; 5. Dictionary document acts of a dictionary of names, each line deposited a word; 6. Output form of a text document storage, its format : Line 1 : The spell-check dictionary file name from the second line after each line : at
Platform: |
Size: 8192 |
Author: 罗春威 |
Hits:
Description: 对简单的C程序或者Pascal程序进行词法分析以TOKEN字的形式放入结果文件-of simple C program or Pascal procedures lexical analysis in the form of the word TOKEN Add outcome document
Platform: |
Size: 187392 |
Author: 杨鼎新 |
Hits:
Description: 类高级语言的词法分析程序 在keyword里是关健词 origin输入源文件 token输出结果-Category of high-level language of the lexical analysis process is the keyword key word origin source file input output token
Platform: |
Size: 3072 |
Author: 王冠 |
Hits:
Description: 词法分析程序。通过分析文件的各个单词得到一个Token序列。课程作业:-)-Lexical analysis program. By analyzing the various documents with a word sequence Token. Coursework :-)
Platform: |
Size: 3072 |
Author: 孙振华 |
Hits:
Description: 完整的S语言词法分析器,
包含文件说明:
parser.cpp 词法分析C++源码
Scanner.exe 词法分析程序
key.txt 是关键字表
s.txt 测试源码表
程序运行生成:
symble.txt 符号表
token.txt 单词表-Complete S language lexical analyzer, including documentation: parser.cpp lexical analysis C++ Source Scanner.exe lexical analysis procedure is key.txt keyword table s.txt test run generated source table: symble.txt symbol table token.txt word list
Platform: |
Size: 20480 |
Author: 李宁 |
Hits:
Description: 布尔表达式的语法分析及语义分析程序设计 初始条件: 词法分析的结果,即已经分析得到的TOKEN字。
-Boolean expression parsing and semantic analysis procedures for the design of the initial conditions: the results of lexical analysis, that has the word TOKEN analysis.
Platform: |
Size: 3072 |
Author: frank |
Hits:
Description: 二---十进制的语法分析及语义分析程序设计
初始条件: 词法分析的结果,即已经分析得到的TOKEN字。
-Second--- decimal syntax analysis and semantic analysis procedures for the design of the initial conditions: the results of lexical analysis, that has the word TOKEN analysis.
Platform: |
Size: 1024 |
Author: frank |
Hits:
Description: 实现一个词法分析器,词法分析程序的主要任务是从左到右扫描每行源程序,拼成单词,换成统一的内部表示 (token)输出,送给语法分析器。具体包括:
–组织源程序的输入;
–按规则拼单词,并转换成二元形式;
–滤掉空白符,跳过注释、换行符及一些无用的符号(如字符常数的引号) (实验一已完成);
–进行行列计数,用于指出出错的行列号,并复制出错部分;
–列表打印源程序;
–发现并定位词法错误;
–生成符号表。token 文件和符号表用作语法分析的输入部分。
-Implement a lexical analyzer, lexical analysis program' s main task is scanned from left to right each line source, makes up words, and replaced with a unified internal representation (token) output, given parser. These include:- Organization of the input source - word fight by the rules, and converted into binary form - filter out the blank character, skip notes, line breaks and some useless symbols (such as character constants quotation marks) (experimental 1 has been completed) - to the ranks of count, the ranks for that error number, and copy the wrong part of it - list of print source - find and locate lexical errors - generate symbol table. token file and symbol table as part of parsing the input.
Platform: |
Size: 28672 |
Author: 何娜 |
Hits:
Description: 定义C语言或其子集的单词并给出编号,根据给定的语言子集构造词法分析器,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常量、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值(遇到错误时可显示“Error”,然后跳过错误部分继续显示),要求输出以文件形式存放的Token串。-The definition of C language or a subset of the word and give numbers, according to a subset of a given language construct lexical analyzer, from the input source, the identified individual has the independent meaning of words, that is basically reserved words, identifiers, constant, operator, separator five categories. And turn out every word in its own internal code and the word symbolic value (an error is encountered can be displayed "Error", then skip the error part of the continued to show), requiring form of a document stored in the output string Token.
Platform: |
Size: 5120 |
Author: xiaoding |
Hits:
Description: 词法分析源码:从左到右扫描每行该语言源程序的符号,拼成单词,换成统一的内部表示(token),送给语法分析程序。-Lexical analysis Source: from left to right scan every line in the source language of symbols, spell the word, and replaced with a unified internal representation (token), sent to the parser.
Platform: |
Size: 1024 |
Author: zhangxueli |
Hits:
Description: 词法分析的主要任务是:从左到右逐个字符地扫描源程序,产生一个个单词(Token),同时检查源程序中的词法错误。执行词法分析的程序称为词法分析程序或扫描程序(Scanner)。-The main task of lexical analysis: one by one character to scan from left to right source to generate a one word (Token), also check the source of lexical errors. Implementation of the lexical analysis process is called lexical analysis or scanning process procedures (Scanner).
Platform: |
Size: 3072 |
Author: windia |
Hits:
Description: 词法分析器 token代码 流程图 实验结果-词法分析器
Platform: |
Size: 66560 |
Author: zhangxia |
Hits:
Description: 实验三:CMM语言解释器实验文档
二,实验结构与功能概述:
解释器在语法分析的基础上,对语法分析程序的输出,语法树遍历,完成语义检查并生成代码,代码以四元式的形式输出,cmm解释器解释执行四元式序列,完成对cmm语言的解释。
1.系统的输入:CMM源程序
系统的输出:1,单词(token)序列(词法分析)
2,语法树(语法分析)
3,四元式序列,cmm执行结果(语义分析)
-Experiment III: CMM document language interpreter the second experiment, experiment overview of the structure and function: the interpreter based on the analysis in the grammar, the output of the parser, syntax tree traversal, semantic checks and to generate code completion, code to four yuan-style form of output, cmm interpreter interpreted four-type sequence, complete cmm language interpretation. 1. System Input: CMM source system output: 1, word (token) sequence (lexical analysis) 2, the syntax tree (syntax analysis) 3, four-type sequence, cmm implementation of the results (semantic analysis)
Platform: |
Size: 6905856 |
Author: 杀手47 |
Hits:
Description: 使用C语言开发的一个简单的词法分析器。矩阵。最后生成token串。-Developed using C language with a simple lexical analyzer. Matrix. Last generated token string.
Platform: |
Size: 64512 |
Author: zhangqida |
Hits:
Description: 词法分析器,简单的,易于初学,这是给语法分析器作准备的。-Token describe
Platform: |
Size: 197632 |
Author: 星子 |
Hits:
Description: 根据高级语言的词法定义,对于给定的源程序进行词法分析,生成单词序列(TOKEN字序列)-According to the lexical definition of high-level language, for a given source code for lexical analysis, generates the word sequence (TOKEN word sequence)
Platform: |
Size: 3072 |
Author: 顾责源 |
Hits:
Description: 一个用于vector string里
单词截取的程序
只给了代码库没给-One for vector string li
Word interception procedures
Only to the code base did not give
Platform: |
Size: 2048 |
Author: ronny |
Hits:
Description: 编译原理 词法分析器 同读取文件操作识别出一个个单词 放入token队列缓冲区-Compiler theory lexical analyzer to read the same file operations to identify a word into the token queue buffer
Platform: |
Size: 914432 |
Author: 杨先生 |
Hits: