Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Code generation


Related Topics
LEX

  
  Code generation - Wikipedia, the free encyclopedia
In computer science, code generation is the process by which a compiler's code generator converts a syntactically-correct program into a series of instructions that could be executed by a machine.
The input to the code generator stage typically consists of a parse tree, abstract syntax tree, or intermediate language code (often in three address code form).
Just-in-time compilers are an example of a code generator that produce native or nearly native code from byte-code or the like when programs are loaded onto the compilers.
en.wikipedia.org /wiki/Code_generation   (496 words)

  
 ONJava.com -- Code-Generation Techniques for Java
Code generation is the technique of writing and using programs that build application and system code.
The separation between code generation logic in the generator and output formatting in the templates is akin to the separation between business logic and user interfaces in web applications.
Generated database-persistence code also is an excellent foundation for a solid application, because it is consistent and relatively bug-free.
www.onjava.com /pub/a/onjava/2003/09/03/generation.html   (1232 words)

  
 java.net: Extensible Code Generation with Java, Part 2
Code generation, in that case, is not the design smell, but the solution to the design smell that you are stuck with.
Code Generation in Action: A book written by the author of this article on code generation that presents several models of generators and a wide variety of code generation targets.
Code generation should be limited only to those things that require no human modification at any time for any reason.
today.java.net /pub/a/today/2004/05/31/generation-pt2.html   (1873 words)

  
 Code Generation
The primary objective of the code generator is to convert atoms or syntax trees to instructions.
The parser is extended to generate and assembly code.
The actions associated with code generation for a stack-machine based architecture are added to the grammar section.
cs.wwc.edu /~aabyan/464/Book/CodeGen.html   (1127 words)

  
 Code Generation Isa Design Smell
The input to the code generator is the higher abstraction that is being converted to a lower abstraction: the output code.
Generating code that is almost what you want may not be quite so bad if you can bridge the gap to what you need by inheriting from the generated classes.
Code generation isn't a design smell, bad code generation is a design smell, and there's a world of difference between the two.
c2.com /cgi/wiki?CodeGenerationIsaDesignSmell   (6539 words)

  
 java.net: Extensible Code Generation with Java, Part 1
Code generation is a key new trend in engineering, one that you need to understand well.
Using a code generator to build the code for you can save you a lot of time, both in writing the code and fixing the inevitable bugs that spring from swathes of hand-written code.
Code generation is using one application to build code for another application.
today.java.net /pub/a/today/2004/05/12/generation1.html   (2072 words)

  
 Are You Missing Out on Code Generation?
Code generation is a time-saving technique that helps engineers do better, more creative, and useful work by reducing redundant hand-coding.
Code that is copied and pasted to multiple places is difficult to maintain properly across all of the copies.
Generated code should have comments that instruct engineers about how and when to edit the generated code.
www.devx.com /java/editorial/15511   (1361 words)

  
 Code Generation Network - Dave Thomas Interview
Use code generation when you come to a place where you have a need that can't be handled without introducing 'smells' using conventional means.
Code generators don't have to be an all-or-nothing implementation.
The smallest code generator I've written this week generated a table of the number of bits set in the binary representations of the numbers between 0 and 255 (I needed it for a search algorithm).
www.codegeneration.net /tiki-read_article.php?articleId=9   (4610 words)

  
 Code Generation - Software Reality
Automated code generation is not a new concept, although it has seen relatively little recognition until recently.
I was reading the code generation article and I thought other readers might be interested in an open source project that I have been working on.
The difference between 75% code generation and 100% code generation is the ability to switch the generation engine from one language to another, preserving your investment in the data model and the business rules, which is the ultimate driver for any business and its applications.
www.softwarereality.com /programming/code_generation.jsp   (2414 words)

  
 Amazon.com: Code Generation in Microsoft .NET: Books: Kathleen Dollard   (Site not responding. Last check: 2007-10-22)
The mechanics of code generation introduced in the book are organized around these steps, and provide the tools to leverage code generation for significant payback on the very first application where it is used.
Anyone skilled enough to understand how code generation can revolutionize their development process should be able to handle the VB, XML, and XSLT used in the book, and either apply the principles in derivative work, or use her code directly.
After trying all the generation tools out there in the hope of finding a replacement for my own application I was disappointed to see that they all had a `philosophy' that one had to embrace to use their tools and that all the tools were inflexible from a developer's viewpoint.
www.amazon.com /Code-Generation-in-Microsoft-NET/dp/1590591372   (2468 words)

  
 Code Generation
Code generation by definition is always going to be much faster than hand coding.
Code generation will always have fewer errors than hand written code, due to the elimination of typos, human error, and so on.
Automatic code generation ensures that software developers are more likely to be focussed on the business requirements than the more mundane task of coding.
www.codefutures.com /code-generation   (636 words)

  
 Code generation using Javadoc
In many cases simple attributes that describe a class are used as input, and a code generator creates classes that are integrated within an application framework.
utomatic code generation is becoming increasingly common in software development, a result of the need to hide complexity from the software developer and the acceptance of various standard and de facto standard application programming interfaces.
A code generator can be a timesaving tool that increases code quality and introduces a more formal and automated approach to part of the development cycle.
www.javaworld.com /javaworld/jw-08-2000/jw-0818-javadoc.html   (1002 words)

  
 Code Generation
There are, however, various reasons to distrust code generated from a formal or semi-formal specification.
First, the translation process may not be formal: the specification and/or target language may not have formal semantics, the translation may not be formally defined, and the code generator may not transparently implement the formal translation.
Third, the generated code may not be suitable for the environment: it may be too inefficient, or not match the traceability/readability standards required for the project.
www.cs.umn.edu /crisys/code-gen.html   (437 words)

  
 Amazon.com: Code Generation in Action: Books: Jack Herrington   (Site not responding. Last check: 2007-10-22)
Developers using code generation are producing higher quality code faster than their hand-coding counterparts.
He is an expert in the use of code generation techniques from very simple code maintenance to code generators, which build entire tiers of functionality.
I embraced code generators long time ago, so I was more than happy to finally found a dedicated book on the subject, since this is almost unexplored topic.
www.amazon.com /Code-Generation-Action-Jack-Herrington/dp/1930110979   (1841 words)

  
 IntelliJ IDEA :: Code Generation
The constructor generation feature allows you to specify a set of class fields to be initialized in the generated constructor.
Simultaneous generation of the equals() and hashCode() methods will protect you from possible problems when a class instance is added to a collection.
This feature is available due to the incredible on-the-fly code analysis described in more detail here.
www.jetbrains.com /idea/features/code_generation.html   (486 words)

  
 Server-Side Code Generation - Ajax Patterns
A single code base can be used to generate a web application (Ajaxian or not), standalone desktop application, and maybe even a mobile application.
In those environments, there is still some role for Server-Side Code Generation, but mainly as a helper for very specific tasks and with some flexibility, rather than as the overarching architectural style.
Server-side code generation produces HTML responses, so is technically one form of HTML Response.
ajaxpatterns.org /Server-Side_Code_Generation   (1707 words)

  
 Code Generation
Also, whatever finally does produce the machine code typically can be considered to be a "code generator" (consider macro assemblers if you have any doubt), so that claim is necessarily false; the recursion has to stop somewhere.
They all have different database schemas unique to their solution, but the code to access the database is always the same grunt work again and again.
Generated code should never be edited by hand.
c2.com /cgi/wiki?CodeGeneration   (1016 words)

  
 Code generation @ SharpToolbox - .NET tools, libraries and add-ins - DotNet tools
Compiler generator that takes a compiler description in the form of an LL(1) attributed grammar and generates the scanner and the parser of the described parser.
Code generation tool that takes an existing database and automatically generates the code for updating, deleting, inserting and selecting records.
It's a generalized, language-neutral, multiplatform software source code and documentation generator, capable of accepting several input formats, such as XML, CSV, plain text, and Sisendel EF (entity files), a new textual multitier entity design language for describing metadata.
sharptoolbox.com /categories/code-generators   (2268 words)

  
 Reflection vs. code generation
However, this article shows that you can use the power of Java's Reflection API to reduce tedious code writing, and use active code generation to overcome reflection limitations.
Coding a load procedure is often tedious and subject to frequent updates and rewrites due to changes to the source data or the target Java class.
Having coded the solution several times, I knew the solution and the code structure before I wrote any of the code.
www.javaworld.com /javaworld/jw-11-2001/jw-1102-codegen.html   (1186 words)

  
 Code Generation Network
Check the database of generators to find an up-to-date list of all of the available code generation tools to fit your needs.
The tools library has pointers to tools for building code generators in all of the popular languages.
We are looking for people who have successfully applied code generation solutions to their work to give interviews or to endorse techniques.
www.codegeneration.net   (540 words)

  
 CodeFutures | Java Code Generation Software
The code generation templates are written in standard Java so there is no need to learn a proprietary code generation template language as with other solutions.
We were able to build upon the generated persistence layer and generate much of our client and business layer code.
In some cases, we were able to generate up to 75% of the code leaving only business logic to program.
www.codefutures.com /architect   (800 words)

  
 [No title]
The Stylus Studio® XML Java Code Generator works with the several popular Java XSLT processors, including Apache Xalan-J and the Saxon XSLT processor.
One of the key highlights of the Java Code generator is its unique ability to generate the code needed to seamlessly access a wide variety of different data sources.
Think of it as an adapter layer in your code that converts the legacy data into an XML format on the fly, enabling you to use virtually any data source in an XSLT or XQuery application.
www.stylusstudio.com /java_code_generation.html   (1973 words)

  
 Code Generation Library - Code Generation Library
cglib is a powerful, high performance and quality Code Generation Library, It is used to extend JAVA classes and implements interfaces at runtime.
"The Byte Code Engineering Library (formerly known as JavaClass) is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with.class)." Used by cglib for Class file format manipulation.
" Voruta reduces JDBC code in application, it makes code more readable and safe, SQL procedures and queries are mapped to JAVA methods using custom javadoc tags and dynamic code generation at runtime.
cglib.sourceforge.net   (358 words)

  
 PHP Classes - Classes: Code Generation
There are not enough user ratings to display for this class.
Generate a class to output DTD compliant documents
Generate code to process form and insert MySQL row
www.phpclasses.org /browse/class/90.html   (185 words)

  
 CodeSmith Tools: Home
In this tutorial you will learn how to generate a best practices Data Access Layer (DAL) using Microsoft’s Enterprise Library in less than 15 minutes with CodeSmith and the.netTiers template library.
Generate stored procedures for all CRUD operations including common queries based on indexes and foreign keys with server side paging support
In addition to code and interface improvements, we're excited to announce the addition of the CodeSmith User's Guide, written by well-known.NET author Mike Gunderloy.
www.codesmithtools.com   (558 words)

  
 MyGeneration - Code Generation and OR Mapping
The data providers are loosely coupled to your application and allow you to use the same compiled code to access a whole host of databases.
Code-generation scripts for the popular MyGeneration code generator.
One of our users kierepka has started a Code Snippets library for our dOOdads.NET architecture, check it out.
www.mygenerationsoftware.com /portal/default.aspx   (526 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.