扫描程序有时又把它称为词法分析程序。
和亚历克斯词法分析程序如何解析c风格的评论吗?
这是一个词法分析程序,能够区分标识符、数字、表达式。
This is a lexical analysis procedure and can distinguish identifier, figures and expression.
执行词法分析的程序称为词法分析程序或扫描程序(Scanner)。
Perform lexical analysis program called lexical analyzer or scanner (scanner).
作为一种专用的编译工具,LEX的源程序简单,编译后生成的词法分析程序效率高。
Being a special compile tool, the source program of lex is simple. The compiled lexical analyzer constructed by lex has high efficiency.
上面的 typographify.def中所示的语法提供了Spark词法分析程序/扫描程序的设计指南。
The grammar shown above in typographify.def provides guidance for the design of a Spark lexer/scanner.
《编译原理》S语言词法分析程序设计方案了解词法分析程序的两种设计方法:1。根据状态转换图直接编程的方式;
" Compiler Principle" S language lexical analysis program design process to understand lexical analysis of two design methods: 1. According to the state transition diagram direct way of programming 2.
尽管词法分析不是必须通过正则表达式来完成,但是它们往往可以便捷地解决程序编制和数据语言的难题。
While lexing does not have to be done through regular expressions, they tend to be a handy vehicle through the jungle of programming and data languages.
在学习了本教程之后,您将了解如何定义词法元素、编写yacc规则,并使用相应的规则机制来构建和定义各种不同的分析引擎和应用程序。
By the end of this tutorial, you'll understand how to define lexical elements, write yacc rules, and use the rule mechanism to build and define a range of different parsing engines and applications.
这个程序是一个关于词法的分析程序。
在对程序进行词法和语法分析后得到EPOM的情况下通过询问-回答的对象控制模式可以方便的构建OSTPM。
It can get the EPOM after the process of lexical analysis and syntax analysis, and then can construct the OSTPM according to EPOM using Request-Reply Pattern.
在状态转换图的基础上,构造词形表,为每个状态设计一段处理程序,使词法分析能从字符串中识别单词。
At the base of converted-state chart, building morphology table, designing a section of program for every status, in order to enable lexical analysis to recognize word from character string.
使用LR分析表的词法分析器,统一了词法分析器和语法分析器的构造方法,简化了编译程序的设计和构造。
The lexical analyzer using the LR parsing table unifies the construction method of lexical analyzer and syntax analyzer, simplifies the design and construction of compiler.
类库在编译程序的面向对象构造过程中起重要作用,词法分析类库是编译类库的重要组成部分。
Class library plays the vital role in the construction of compiler by object-oriented method and lexical analysis class library is an important part of object-oriented compiling class library.
若用词法和语法分析程序共同组成语言处理系统,其函数名、参数和返回值应一致。
If system of processing language is established with programs of lexical analysis and parsing, the function name, parameter and return value should be accordant.
本系统针对源程序进行词法分析、语法分析、出错检测,并最终生成自定义的目标代码。
The system carrys through lexical analysis, grammar analysis, fluffing check and finally creating user-defined aim code.
然后介绍了以S语言为源语言运用编译构造原理和实现技术设计s语言的编译程序的词法分析器的过程和关键技术。
Then regard s language as the source language and use the compile principle and realized technical to design the lexical analysis of s language.
该语法分析器有四个部件组成,分词程序、词法分析、语法分析和语义预置。
There are four components of the parser, word process, lexical analysis, syntax analysis and semantic preferences.
词法分析的主要任务是:从左到右逐个字符地扫描源程序,产生一个个单词(Token),同时检查源程序中的词法错误。
Lexical analysis of the main tasks are: to scan source code character by character from left to right, resulting in one word (Token), also check the source of lexical errors.
词法分析的主要任务是:从左到右逐个字符地扫描源程序,产生一个个单词(Token),同时检查源程序中的词法错误。
Lexical analysis of the main tasks are: to scan source code character by character from left to right, resulting in one word (Token), also check the source of lexical errors.
应用推荐