首先我们讨论了哪些问题最适合使用代码生成程序来解决。
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.
太多的公司依靠手工方法和程序来编译代码和生成软件发布版本。
Too many companies rely on manual processes and AD hoc procedures for compiling code and creating software distributions.
编辑生成的代码并运行程序的业务逻辑。
Edit the generated code and implement the business logic of the application.
您需要根据程序的需求只定制生成的代码。
You need to customize only the code generated according to the requirements of your application.
您只需编辑生成的代码,以满足程序的需要。
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.
应用程序的代码框架是自动生成的。
EMF是用于根据结构化模型构建工具和其他应用程序的模型框架和代码生成工具。
EMF is a modeling framework and code-generation tool for building tools and other applications based on a structured model.
在此方法中,在应用程序框架之上直接生成了大量应用程序代码,并且不需要开发人员的修改。
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.
在AMDD方法中,通过现有应用程序框架之上的模型转换来生成应用程序代码,这是基于技术框架的。
In the AMDD approach, the application code is generated via model transformations on top of an existing application framework, which is based on a technical framework.
这个应用程序的源代码生成需求非常普通。
This application's source code generation needs are quite modest.
这个应用程序的源代码生成需求非常普通。
This application's source code generation needs are quite modest.
应用推荐