首先我们讨论了哪些问题最适合使用代码生成程序来解决。
First we discussed which problems were best solved with a code-generating program. These include the following.
然而,语言设计不充分并不是需要代码生成程序的唯一原因。
However, inadequate language design is not the only reason for needing code-generating programs.
大部分Scheme的实现都提供了一些特性来辅助构建代码生成程序。
And most Scheme implementations provide additional features to aid in building code-generating programs.
然后又介绍了一个具体的构建表的示例,并介绍了用c编写这样一个代码生成程序来构建静态表的详细过程。
We then examined a specific instance of table-building and went through the motions of writing a code-generating program to build static tables in c.
产生某种指定类型和格式的结果的程序或另一种编码序列(如“宏生成程序”、“微代码生成程序”)。
A program or other coding sequence that produces a result of specified type and format (" a macro generator "; "a microcode generator").
对于该操作,首先要为应用程序生成部署代码,并将其添加到服务器上,然后重新启动服务器。
For this task, you will first generate the deploy code for your application, add it to the server, and then restart the server.
您还可以从UML模型中生成结构性 C#代码,这使得您可以更快地生成程序。
You can also generate structural C# code from the UML model, which enables you to produce applications faster.
如果应用程序要使用大型XML语法,那么代码生成方式是个很好的方法。
The code generation approach is a good one if your application employs a large XML grammar.
太多的公司依靠手工方法和程序来编译代码和生成软件发布版本。
Too many companies rely on manual processes and AD hoc procedures for compiling code and creating software distributions.
您需要根据程序的需求只定制生成的代码。
You need to customize only the code generated according to the requirements of your application.
注意,SPE代码被编写为一个新的主程序,并在通过句柄嵌入PPE 代码之前为它生成代码。
Note that the SPE code is written as a new main program and code is generated for it prior to embedding through the handle into the PPE code.
您只需编辑生成的代码,以满足程序的需要。
You need to customize only the code that is generated to fit the requirements of your application.
作为一个简单的示例,我试着使用两款知名的测试生成工具来为保龄球游戏程序生成测试代码。
As a simple example of this, I have tried to generate tests for the bowling game program using two of the better known test generation tools. The interface to the bowling game looks like this.
清单1显示了大部分的应用程序代码(省略了为应用程序生成的Visual Studio代码)。
Listing 1 shows the bulk of the application code (the Visual Studio-generated code for the application is omitted).
生成应用程序(包括生成基本代码和目录)。
Generate the application (includes generating basic code and directories).
因此我们已经得到了比以前我们使用的四行代码高出很多的生成软件程序的能力。
So we get a lot more bang for the buck with those four lines of code than we used to.
在应用程序代码中,它们两个都是生成或使用消息的目的地。
In the application code, they are both just destinations which produce or consume messages.
举例来说,如果您度量软件开发人员的代码行数,那么团队将生成拥有许多不必要代码行的程序。
For example, if you measure lines of code per software developer, the team will generate programs with lots of unnecessary lines of code.
这种程序式的消费还可以让程序员跳过应用程序的代码生成例程,生成的代码只允许读取在注释中编码的信息。
Such programmatic consumption may also let programmers skip the code generation route for applications where the generated artifacts only allow information encoded in the annotations to be read.
另一个解决方案是购买MEAP平台执行本地应用程序代码生成。
Another solution is to buy a MEAP platform that performs code generation of native applications.
您还可以将向导所生成的代码用作实现完整应用程序的起始点:向导也生成模型,不只是代码。
You can also use what the wizard produces as the starting point to implement a full application: the wizard generates the models, too, not just the code.
EMF是用于基于结构化数据模型构建工具和其他应用程序的建模框架和代码生成工具。
EMF is a modeling framework and code generation facility for building tools and other applications based on a structured data model.
应用程序的代码框架是自动生成的。
应用程序或代码签名是这样一个过程,即生成私有、公共密钥和公共密钥证书,签署和优化应用程序。
Application or code signing is the process of generating private and public keys and public-key certificates, signing and optimizing the application.
EMF是用于根据结构化模型构建工具和其他应用程序的模型框架和代码生成工具。
EMF is a modeling framework and code-generation tool for building tools and other applications based on a structured model.
如果文档结构发生变化,再需要重新生成代码,并修改应用程序代码以使用最终修改后的数据类。
If the document structure changes, you need to rerun the code generation and modify your application code to work with the resulting modified data classes.
在此方法中,在应用程序框架之上直接生成了大量应用程序代码,并且不需要开发人员的修改。
In this approach, a large amount of the application code is generated directly on top of the application framework and requires no modification by the developer.
在此方法中,在应用程序框架之上直接生成了大量应用程序代码,并且不需要开发人员的修改。
In this approach, a large amount of the application code is generated directly on top of the application framework and requires no modification by the developer.
应用推荐