Automatic programming: Difference between revisions

Content deleted Content added
Source code generators
SdkbBot (talk | contribs)
m removed erroneous space
Line 11:
 
==Generative programming==
''Generative programming'' and the related term [[Metaprogramming|meta-programming]] <ref>{{cite web
|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
Line 30:
|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 [[ontology (information science)|ontological]] model such as a template and is accomplished with a [[programming tool]] such as a [[template processor]] or an [[integrated development environment]] (IDE). These tools allow the generation of [[source code]] through any of various means.
 
Modern programming languages are well supported by tools like [https://www.json4swift.com/ Json4Swift] ([[Swift_Swift (programming_languageprogramming language)|Swift]]) and [https://www.json2kotlin.com/ Json2Kotlin] ([[Kotlin_Kotlin (programming_languageprogramming language)|Kotlin]]).
 
Programs that could generate [[COBOL]] code include:
Line 47:
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-code generator. <ref>{{Cite web |last=LLC |first=Flatlogic |date=2022-11-15 |title=10+ Best code generation tools [Solutions Guide] |url=https://flatlogic.com/blog/10-best-low-code-generation-tools-solution-guide/ |access-date=2022-11-18 |website=Flatlogic Blog |language=en-US}}</ref> [[Source-to-source compiler|Source-to-source]] code generation tools also exist.<ref>Noaje, Gabriel, Christophe Jaillet, and Michaël Krajecki. "[https://www.researchgate.net/profile/Ponnuswamy_Sadayappan/publication/221302775_Automatic_C-to-CUDA_Code_Generation_for_Affine_Programs/links/09e4150e7f97085734000000/Automatic-C-to-CUDA-Code-Generation-for-Affine-Programs.pdf Source-to-source code translator: OpenMP C to CUDA]". High Performance Computing and Communications (HPCC), 2011 IEEE 13th International Conference on. IEEE, 2011.</ref><ref>Quinlan, Dan, and Chunhua Liao. "[https://www.researchgate.net/profile/Chunhua_Liao/publication/267861836_The_ROSE_Source-to-Source_Compiler_Infrastructure/links/5465a8120cf2f5eb17ff4238.pdf The ROSE source-to-source compiler infrastructure]". Cetus users and compiler infrastructure workshop, in conjunction with PACT. Vol. 2011. 2011.</ref>
 
==Low-code applications==