- Automatic programming
In
computer science , the term automatic programming [Ricardo Aler Mur, " [http://et.evannai.inf.uc3m.es/icml06/aiptutorial.htm Automatic Inductive Programming] ", "ICML 2006 Tutorial". June 2006.] identifies a type ofcomputer programming in which some mechanism generates acomputer program rather than have humanprogrammer s write the code.There has been little agreement on the precise definition of automatic programming, mostly because its meaning has changed over time.
David Parnas , tracing the history of "automatic programming" in published research, noted that in the 1940s it described automation of the manual process of punchingpaper tape . Later it referred to translation of high-levelprogramming language s likeFortran andALGOL . In fact, one of the earliest programs identifiable as acompiler was calledAutocode . Parnas concluded that "automatic programming has always been aneuphemism for programming in a higher-level language than was then available to the programmer." [D. L. Parnas. " [http://klabs.org/richcontent/software_content/papers/parnas_acm_85.pdf Software Aspects of Strategic Defense Systems] ." "American Scientist". November 1985.]Generative programming
"Generative programming" is a style of
computer programming that uses automatedsource code creation through generic frames, classes, prototypes, templates, aspects, and code generators to improveprogrammer productivity. It is often related to code-reuse topics such as component-oriented programming.ource code generation
"Source code generation" is the act of generating source code basing on an ontological model such as a template and is accomplished with a
programming tool such as atemplate processor or an IDE. These tools allow the generation ofsource code through any of various means. The simplest form of source code generator is a macro processor, such as theC preprocessor , which replaces patterns in source code according to relatively simple rules.Implementations
IDEs such as
Microsoft Visual Studio have more advanced forms of source code generation, with which the programmer can interactively select and customize "snippets" of source code. Program "wizards", which allow the programmer to designgraphical user interface s interactively while the compiler invisibly generates the corresponding source code, are another common form of source code generation.Examples:
*
NConstruct is a Windows and Web rapid enterprise application development tool and environment for.NET Framework environment. It generates .NET C# source code for all tiers of the application through simple wizard procedures.*
MyGeneration is a template-based code generator for the Microsoft.NET Framework .* [http://webEbenezer.net Ebenezer Enterprises] provides an on line service that writes efficient C++ marshalling code.
* [http://www.latticesoft.com LatticeFramework Studio] is a model-driven and template-based rapid enterprise application development tool for .NET Framework environment. It generates C#, VB.NET, Java, Php, diagrams and documentations through simple wizard procedures.
ee also
*
Code generation (compiler)
*Template processor
*Source-to-source compiler
*Aspect-oriented programming
*Model Driven Engineering (MDE)
*Model-driven architecture (MDA)
*Domain-Specific Modeling (DSM)
*Modeling language
*Data transformation
*Transformation language (TL)
*XML transformation language (XTL)
*Model Transformation Language (MTL)
*Semantic translation
*Vocabulary-based transformation
*Data mapping
*Metadata
*Metaprogramming
*Modeling perspectives
* MOF Queries/Views/Transformations (QVT)
*Meta-Object Facility (MOF)
*Language-oriented programming (LOP)
**Domain Specific Language (DSL)
* Generative programming (GP)
*Generative Modelling Language (GML)
*Intentional Programming (IP)
*Software factory
* Metamodel
* Metamodeling
* Metamodeling technique
*XML Metadata Interchange (XMI)
*Object-oriented analysis and design (OOAD)
*Unified Modeling Language (UML)
*Software engine References
*"Generative Programming: Methods, Tools, and Applications" by Krzysztof Czarnecki and Ulrich W. Eisenecker, Addison Wesley, 2000.
External links
* [http://www.codegeneration.net Code Generation Network]
* [http://www.generative-programming.org/ "Generative Programming" book site: www.generative-programming.org]
* [http://www.codegeneration.net/cgia// "Code Generation In Action" book site: http://www.codegeneration.net/cgia/]
* [http://www.hope.cs.rice.edu/twiki/bin/view/GPCE08/WebHome GPCE (Generative Programming and Component Engineering) conference]* [http://www.program-transformation.org/Transform/GenerativeProgrammingWiki Generative Programming Wiki]
Wikimedia Foundation. 2010.