Content deleted Content added
Rescuing 1 sources and tagging 0 as dead. #IABot (v2.0beta9) |
|||
(37 intermediate revisions by 26 users not shown) | |||
Line 1:
{{short description|Type of computer programming}}
{{Programming paradigms}}▼
In [[computer science]],
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 punching [[paper tape]]. Later it referred to translation of [[high-level programming language]]s like [[Fortran]] and [[ALGOL]]. In fact, one of the earliest programs identifiable as a [[compiler]] was called [[Autocode]]. [[David Parnas|Parnas]] concluded that "automatic programming has always been a [[euphemism]] for programming in a higher-level language than was then available to the programmer."<ref>D. L. Parnas. "[
[[Program synthesis]] is one type of automatic programming where a procedure is created from scratch, based on mathematical requirements.
==Origin==
[[Milly Koss|Mildred Koss]], an early [[UNIVAC]] programmer, explains: "Writing machine code involved several tedious steps—breaking down a process into discrete instructions, assigning specific memory locations to all the commands, and managing the I/O buffers. After following these steps to implement mathematical routines, a sub-routine library, and sorting programs, our task was to look at the larger programming process. We needed to understand how we might reuse tested code and have the machine help in programming. As we programmed, we examined the process and tried to think of ways to abstract these steps to incorporate them into higher-level language. This led to the development of interpreters, assemblers, compilers, and generators—programs designed to operate on or produce other programs, that is, ''automatic programming''."<ref>Chun, Wendy. "On Software, or the Persistence of Visual Knowledge." Grey Room 18. Boston: 2004, pg. 30.</ref>
==Generative programming==
'''Generative programming''' and the related term [[Metaprogramming|
|quote=Generative programming, as a subdomain of meta-programming, describes the practice of writing programs that generate other programs as part of their execution.
|url=https://scala-lms.github.io/tutorials/01_overview.html
|title=About Generative Programming}}</ref> are concepts whereby programs can be written "to manufacture software components in an automated way"<ref>{{cite
|quote=Generative Programming (GP) is an attempt to manufacture software components in an automated way by developing programs that synthesize other programs.
|
|
|
|title=Generative Programming: Concepts and Experiences (GPCE)
|url=http://www.sigplan.org/Conferences/GPCE}}</ref><ref>A conference of [[SIGPLAN]] on
Line 26:
The goal is to improve [[programmer]] productivity.<ref>James Wilcox, "[http://edgewatertech.wordpress.com/2011/03/11/paying-too-much-for-custom-application-implementation-code-generation/ Paying Too Much for Custom Application Development]", March 2011.</ref> It is often related to code-reuse topics such as [[component-based software engineering]].
==Source
''Source
|quote=Software that generates application programs from descriptions of the problem rather than by traditional programming. It is at a higher level and easier to use than a high-level programming language such as ...
|url=https://www.pcmag.com/encyclopedia/term/37909/application-generator
|title=Application generator |publisher=PCmag.com}}</ref> or an [[
Modern programming languages are well supported by tools like [https://www.json4swift.com/ Json4Swift] ([[Swift (programming language)|Swift]]) and [https://www.json2kotlin.com/ Json2Kotlin] ([[Kotlin (programming language)|Kotlin]]).
Programs that could generate [[COBOL]] code include:
* the DYL250/DYL260/DYL270/DYL280 series<ref>{{cite web
|url=http://www.sysed.com/DnLoads/RefCards/DYL280.pdf
|title=DYL-280 Command Syntax
|access-date=2018-09-03
|archive-url=https://web.archive.org/web/20180730111004/http://www.sysed.com/DnLoads/RefCards/DYL280.pdf
|archive-date=2018-07-30
|url-status=dead
}}</ref>
* [[Business Controls Corporation]]'s SB-5
* [[KPMG|Peat Marwick Mitchell]]'s PMM2170 application-program-generator package
These application generators supported COBOL inserts and overrides.
A [[Macro (computer science)|macro]] processor, such as the [[C preprocessor]], which replaces patterns in source code according to relatively simple rules, is a simple form of source
[[Large language model]]s such as [[ChatGPT]] are capable of generating a program's source code from a description of the program given in a natural language.<ref name="ChatGPT can write code">{{Cite web |url=https://www.zdnet.com/article/chatgpt-can-write-code-now-researchers-say-its-good-at-fixing-bugs-too/ |title=ChatGPT can write code. Now researchers say it's good at fixing bugs, too |website=ZDNET |date=January 26, 2023 |first=Liam |last=Tung |access-date=June 22, 2023 |archive-date=February 3, 2023 |archive-url=https://web.archive.org/web/20230203051252/https://www.zdnet.com/article/chatgpt-can-write-code-now-researchers-say-its-good-at-fixing-bugs-too/ |url-status=live}}</ref>
Many [[Relational database system|relational database systems]] provide a function that will export the content of the database as [[SQL]] [[Data definition language|data definition]] queries, which may then be executed to re-import the tables and their data, or migrate them to another RDBMS.
==Low-code applications==
{{Main article|Low-code development platforms}}
A [[Low-code development platforms|
==See also==
* [[Automatic bug fixing]]
* [[Automated machine learning]]
* [[Comparison of code generation tools]]
* [[Feature-oriented programming]]
* [[GitHub Copilot]]
* [[AI-assisted software development]]
* [[Language-oriented programming]]
* [[Modeling language]]
Line 57 ⟶ 71:
* [[Vocabulary-based transformation]]
* [[Fourth-generation programming language]]
* [[Low-code development
* [[Emergent Coding]]
==Notes==
Line 68 ⟶ 83:
* [http://www.methodsandtools.com/archive/archive.php?id=86 Code Generation for Dummies]
▲{{Programming paradigms navbox}}
{{Authority control}}
|