• Programmatic approach — a specific parser program is written to parse each message format.

    编程方法——编写特定的解析程序解析每种消息格式

    youdao

  • Compile and run the sample parser program ccalc with the following input (which includes a slight typo).

    使用下面输入(其中稍微进行了排版)来编译运行这个示例解析器程序ccalc

    youdao

  • This is because we decided to explicitly permit the use of the Bison standard parser program in Bison output files without restriction.

    是因为我们决定明确允许使用Bison输出文件中的标准语法分析程序受限制的。

    youdao

  • Some programs copy parts of themselves into the output for technical reasonsfor example, Bison copies a standard parser program into its output file.

    一些程序由于技术原因而拷贝他们的某部分到输出——例如Bison拷贝一个标准语法分析程序的输出文件

    youdao

  • Descriptive approachYou write a single general-purpose model-driven parser program to parse all formats, with each message format represented by its own model.

    描述方法——将编写单个通用模型驱动解析程序解析所有格式每种消息格式各自模型表示

    youdao

  • For example, if you have five different COBOL data structures, you write five format-specific parsers, with the format information hard-wired into the parser program code.

    例如如果不同COBOL数据结构,您将编写五个特定于格式解析器,并格式信息硬编码解析程序代码中

    youdao

  • The disadvantage is lack of flexibility -- you must write a new parser program for each new format, and if a format changes, you must change, recompile, relink, and redeploy the parser program.

    缺点在于缺乏灵活性——必须每种新的格式编写新的解析程序并且如果格式更改,您就必须更改重新编译重新链接重新部署解析器程序。

    youdao

  • You can compile and "run" this program to see if your parser operates correctly before moving on to step 5.

    在进行步骤5之前可以编译运行程序查看解析器运作是否正确

    youdao

  • In this program, the parser USES global variables to track the list of messages parsed.

    这个程序中,解析使用全局变量追踪解析消息列表

    youdao

  • Some simple programs can get by on almost no additional code; others use a parser as a tiny portion of a much larger and more complicated program.

    一些简单程序可以依赖任何另外的代码;在一些大更复杂的程序中,解析器只是很小的一部分

    youdao

  • For instance, in the case of the simple line-counting program, there's no real need for a parser.

    例如那个简单计数程序例子中,实际上需要解析器

    youdao

  • The use of XSL separates the page layout from the program data, so you don't need to write or use an XML parser because XSL does it for you.

    XSL使用页面布局程序数据分隔开,因此不必编写使用XML解析器因为 XSL 替您这样做

    youdao

  • While the rest of the program is pretty much just boilerplate code to get the SAX2 parser running, the part in Listing 7 defines the application's personality.

    虽然程序其他部分只是SAX2解析器运行样板代码,但是清单7中的部分定义应用程序个性。

    youdao

  • As a reminder: the Reader is basically Clojure's parser; it turns a textual representation of a Clojure program into Clojure data structures, which can then be evaluated.

    说明一下,Reader基本上是个Clojure解析器文本形式Clojure程序转换为Clojure数据结构然后再对数据结构求值。

    youdao

  • The third production of program lets the parser go past an error, search for a semicolon, and continue afterwards (normally an error would be fatal to the parser).

    program第三个输出这个分析程序可以获得错误,从中搜索分号然后继续执行(通常错误对于解析器来说非常严重)。

    youdao

  • The third production of program lets the parser go past an error, search for a semicolon, and continue afterwards (normally an error would be fatal to the parser).

    program第三个输出这个分析程序可以获得错误,从中搜索分号然后继续执行(通常错误对于解析器来说非常严重)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定