lexer

lexer

 英

  • 网络词法分析器;词法分析程序;词法分扫描器类

例句

The lexer actually does some of the work of figuring out where in a message it is, but the parser still ties everything together.

lexer实际上完成指出位于消息哪个地方一些任务但是解析器所有内容一起

Additionally there is implemented a IDL lexer, which allows to use the preprocessor library as the lexing component of a IDL oriented tool.

此外实现一个IDLlexer允许预处理器用作某个面向IDL工具lexing组件

Whenever possible, try to develop separate tests for your lexer and your parser.

只要可能尝试lexer解析器开发单独测试

The lexer for this example is more complicated than the one for the calculator; quite a bit so.

示例lexer计算器更为复杂复杂

So this lexer does not recognize any keywords (except true and false, which are needed by the preprocessor itself).

因此这个lexer识别任何关键除了truefalse因为预处理本身需要它们)。

A lexer is a software component that divides text strings into individual words, or tokens, so that the individual words can be indexed.

lexer一个文本字符串分成单个命令或者标记软件组分这样使得单个命令可以检索

On the basis of the test tool of executing characteristics of programs, we modify the lexer and parser to implement it.

工具程序执行特征测试工具基础词法分析器语法分析加以修改实现

These directives are used to define the tokens the lexer can return.

这些指令用来定义lexer可以返回记号

The lexer is the part of our language knowledge that says "this is a sentence; this is punctuation; twenty-three is a single word. "

词法分析器我们语言知识识别一个句子标点;twenty-three一个单一一部分

The symbols produced by the lexer are called terminals or tokens.

lexer生成符号称为终结符terminals或者记号tokens)。

JAPANESE_LEXER: A lexer for extracting tokens from Japanese text.

JAPANESE_LEXER:一个Japanese文本提取标记lexer

The C++ lexers packaged with the Wave library may be used standalone, too, and are not tied to the C++ preprocessor iterator at all.

Wave一起打包C++lexer可以单独使用没有C++预处理迭代捆绑一起

So, in this example, NUMBER is a terminal; the lexer is producing this result.

所以这个例子NUMBER一个终结符lexer正是生成这种结果

KOREAN_MORPH_LEXER: A lexer for extracting tokens from Korean text.

KOREAN_MORPH_LEXER:一个Korean文本提取标记lexer

The tokens ALPHA, INT, and REAL are typically provided from the lexer.

INTREAL通常lexer提供

KOREAN_LEXER: A lexer for extracting tokens from Korean text.

KOREAN_LEXER:一个Korean文本提取标记lexer

This does mean that the lexer and the parser both have to know that an empty line separates a header from a body.

确实意味lexer解析器必须明白一个行将标题主体分离出来

A listing of supported lexer types follows.

下面一个支持lexer类型清单

JAPANESE_VGRAM: A lexer for extracting tokens from Japanese text.

JAPANESE_VGRAM:一个Japanese文本提取标记lexer

Most simple programming projects, of course, can get by with very trivial lexers.

当然大部分简单编程项目使用非常普通lexer就可以完成

CHINESE_VGRAM: A lexer for extracting tokens from Chinese text.

CHINESE_VGRAM:一个Chinese文本提取标记lexer

Thus, P: : RD on top of Perl 5 is a powerful parser and lexer combination.

因此,Perl5之上P::RD一个解析词法分析器强大组合

A good lexer example can help a lot with learning how to write a tokenizer.

一个lexer例子非常有助于学习如何编写tokenizer)。