Automatic programming

In computer science, automatic programming[1] is a type of computer programming in which some mechanism generates a computer program, to allow human programmers to write the code at a higher abstraction level.

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 languages like Fortran and ALGOL. In fact, one of the earliest programs identifiable as a compiler was called Autocode. Parnas concluded that "automatic programming has always been a euphemism for programming in a higher-level language than was then available to the programmer."[2]

Program synthesis is one type of automatic programming where a procedure is created from scratch, based on mathematical requirements.

Origin

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."[3]

Generative programming

Generative programming and the related term meta-programming[4] are concepts whereby programs can be written "to manufacture software components in an automated way"[5] just as automation has improved "production of traditional commodities such as garments, automobiles, chemicals, and electronics."[6][7]

The goal is to improve programmer productivity.[8] It is often related to code-reuse topics such as component-based software engineering.

Source-code generation

Source-code generation is the process of generating source code based on a description of the problem[9] or an 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 Json4Swift (Swift) and Json2Kotlin (Kotlin).

Programs that could generate COBOL code include:

These application generators supported COBOL inserts and overrides.

A 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. Source-to-source code generation tools also exist.[11][12]

Large language models such as ChatGPT are capable of generating a program's source code from a description of the program given in a natural language.[13]

Many relational database systems provide a function that will export the content of the database as SQL 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

A low-code development platform (LCDP) is software that provides an environment programmers use to create application software through graphical user interfaces and configuration instead of traditional computer programming.

See also

Notes

  1. ^ Ricardo Aler Mur, "Automatic Inductive Programming Archived 2016-03-04 at the Wayback Machine", ICML 2006 Tutorial. June 2006.
  2. ^ D. L. Parnas. "Software Aspects of Strategic Defense Systems." American Scientist. November 1985.
  3. ^ Chun, Wendy. "On Software, or the Persistence of Visual Knowledge." Grey Room 18. Boston: 2004, pg. 30.
  4. ^ "About Generative Programming". Generative programming, as a subdomain of meta-programming, describes the practice of writing programs that generate other programs as part of their execution.
  5. ^ P. Cointe (2005). "Towards Generative Programming". Unconventional Programming Paradigms. Lecture Notes in Computer Science. Vol. 3566. pp. 315–325. doi:10.1007/11527800_24. ISBN 978-3-540-27884-9. Generative Programming (GP) is an attempt to manufacture software components in an automated way by developing programs that synthesize other programs.
  6. ^ "Generative Programming: Concepts and Experiences (GPCE)".
  7. ^ A conference of SIGPLAN on this topic is planned for November 2018. Earlier/1970s attempts in this area included Yacc and the related Lex programs.
  8. ^ James Wilcox, "Paying Too Much for Custom Application Development", March 2011.
  9. ^ "Application generator". PCmag.com. 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 ...
  10. ^ "DYL-280 Command Syntax" (PDF). Archived from the original (PDF) on 2018-07-30. Retrieved 2018-09-03.
  11. ^ Noaje, Gabriel, Christophe Jaillet, and Michaël Krajecki. "Source-to-source code translator: OpenMP C to CUDA". High Performance Computing and Communications (HPCC), 2011 IEEE 13th International Conference on. IEEE, 2011.
  12. ^ Quinlan, Dan, and Chunhua Liao. "The ROSE source-to-source compiler infrastructure". Cetus users and compiler infrastructure workshop, in conjunction with PACT. Vol. 2011. 2011.
  13. ^ Tung, Liam (January 26, 2023). "ChatGPT can write code. Now researchers say it's good at fixing bugs, too". ZDNET. Archived from the original on February 3, 2023. Retrieved June 22, 2023.

References

  • Generative Programming: Methods, Tools, and Applications by Krzysztof Czarnecki and Ulrich W. Eisenecker, Addison Wesley, 2000.

Read other articles:

Dillingen an der Donau Jl. Raja Lambang kebesaranLetak Dillingen an der Donau NegaraJermanNegara bagianBayernWilayahSchwabenKreisDillingenPemerintahan • MayorFrank Kunz (CSU)Luas • Total75,59 km2 (2,919 sq mi)Ketinggian422 m (1,385 ft)Populasi (2013-12-31)[1] • Total18.082 • Kepadatan2,4/km2 (6,2/sq mi)Zona waktuWET/WMPET (UTC+1/+2)Kode pos89407Kode area telepon09071Pelat kendaraanDLGSitus webwww.dillin...

 

ياكوبا سيلا سيلا مع أستون فيلا في 2013 معلومات شخصية الاسم الكامل ياكوبا سيلا[1] الميلاد 29 نوفمبر 1990 (العمر 33 سنة)إيتامبيه، فرنسا الطول 1.84 م (6 قدم 0 بوصة) مركز اللعب وسط الجنسية فرنسا مالي  معلومات النادي النادي الحالي بوتوشاني الرقم 25 مسيرة الشباب سنوات فريق 1995–...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada November 2022. Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Ilya S...

American basketball player & coach David VanterpoolWashington WizardsPositionAssistant coachLeagueNBAPersonal informationBorn (1973-03-31) March 31, 1973 (age 50)Daytona Beach, FloridaNationalityAmericanListed height6 ft 5 in (1.96 m)Listed weight200 lb (91 kg)Career informationHigh schoolMontgomery Blair(Silver Spring, Maryland)CollegeSt. Bonaventure (1991–1995)NBA draft1995: undraftedPlaying career1996–2007PositionShooting guard / small forwardNumber22C...

 

Dallas Museum of Art, davor die Skulptur Ave von Mark di Suvero Das Dallas Museum of Art (DMA) ist ein Kunstmuseum in der Innenstadt von Dallas, Texas. Es befindet sich im so genannten Arts District entlang des Woodall Rogers Freeway, zwischen den Straßen St. Paul und Harwood. Der Architekt Edward Larrabee Barnes entwarf das 1984 eröffnete Museumsgebäude.[1] Die Sammlung umfasst mehr als 24.000 Objekte, die aus der Zeit vom 3. Jahrtausend vor Christus bis zur Gegenwart reichen.[...

 

Hof van Beroep voor het 1e circuitCourt of Appeals for the First Circuit Het John Joseph Moakley United States Courthouse, de zetel van het hof Type Hof van Beroep Jurisdictie Maine Massachusetts New Hampshire Puerto Rico Rhode Island Zittingsplaats(en) John Joseph Moakley U.S. CourthouseBoston, Massachusetts Geschiedenis Opgericht 16 juni 1891 Samenstelling Samenstelling 1 president6 rechters5 senior rechters President Jeffrey R. Howard Circuitrechter Stephen Breyer Website ca1.uscourts.gov ...

9108 ТоруюсаВідкриттяВідкривач Такао КобаяшіМісце відкриття Обсерваторія ОїдзуміДата відкриття 9 січня 1997ПозначенняТимчасові позначення 1997 AZ6 1998 KQ56Категорія малої планети Астероїд головного поясуОрбітальні характеристики[1] Епоха 23 травня 2014 (2 456 800,5 JD)Велика півв

 

Monts de la Jizera Localisation des monts de la Jizera à la frontière polono-tchèque. Géographie Altitude 1 127 m, Wysoka Kopa Massif Sudètes occidentales Administration Pays Pologne République tchèque VoïvodieRégion Basse SilésieLiberec PowiatDistrict Jelenia GóraLiberec Géologie Âge Tertiaire Roches Granite et basalte modifier  Frýdlantské cimbuří, formation granitique surplombant Bílý Potok (Liberec). Les monts de la Jizera (ou de l’Izera) constituent un...

 

2012 single by Walk the MoonAnna SunSingle by Walk the Moonfrom the album i want! i want! and Walk the Moon B-sideAnywayicanReleasedFebruary 7, 2012 (2012-02-07)Recorded2010Studio Doppler (Atlanta, Georgia) Maze (Atlanta, Georgia) Genre Dance-pop[1] electropop[2] indie pop[3] Length5:21LabelRCASongwriter(s)Nicholas PetriccaAdrian GalvinNick LerangisAdam ReifsnyderProducer(s)Ben AllenWalk the Moon singles chronology Anna Sun (2012) Tightrope (2012) Music ...

Het beleg van Tsingtao Onderdeel van de Eerste Wereldoorlog Duitse versterkingen marcheren naar de buitenste verdedigingslinie Datum Blokkade: 27 augustus - 7 november 1914 Amfibische operaties: 17 oktober - 7 november 1914 Volledig beleg: 31 oktober - 7 november 1914 Locatie Tsingtao Resultaat Geallieerde overwinning Strijdende partijen  Duitse Keizerrijk Oostenrijk-Hongarije  Japans Keizerrijk Vlag van Verenigd Koninkrijk Verenigd Koninkrijk Leiders en commandanten Alfre...

 

2000 Indian filmNarasimhamDVD coverDirected byShaji KailasWritten byRanjithProduced byAntony PerumbavoorStarringMohanlalThilakanKanakaN. F. VargheseAishwariyaa BhaskaranJagathy SreekumarCinematographySanjeev SankarEdited byL. BhoominathanMusic byM. G. RadhakrishnanC. Rajamani (score)ProductioncompanyAashirvad CinemasDistributed bySwargachitraRelease date 26 January 2000 (2000-01-26) Running time175 minutesCountryIndiaLanguageMalayalamBudget₹1.1 crore[1]Box officeest. ...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Elizabeth Arden – news · newspapers · books · scholar · JSTOR (October 2022) (Learn how and when to remove this template message) Florence Graham redirects here. For the community in Los Angeles CA, see Florence-Graham, California. Canadian-American businesswom...

Pemilihan Umum Bupati Gunungkidul 2020201520249 Desember 2020[1]Kandidat   Calon Sutrisna Wibawa Immawan Wahyudi Bambang Wisnu Handoyo Partai PAN NasDem PDI-P Pendamping Mahmud Ardi Widanto Martanty Soenar Dewi Benyamin Sudarmadi Suara rakyat 144.012 53.576 116.881 Persentase 30,61% 11,39% 24,85%   Calon Sunaryanta Partai Partai Golongan Karya Pendamping Heri Susanto Suara rakyat 155.876 Persentase 33,15% Peta persebaran suara      Sutrisna...

 

Колегіальний костел Пресвятої Діви МаріїКостел Непорочного Зачаття Пресвятої Діви Марії 48°55′25″ пн. ш. 24°42′33″ сх. д. / 48.92372777780577309° пн. ш. 24.70918888891677767° сх. д. / 48.92372777780577309; 24.70918888891677767Координати: 48°55′25″ пн. ш. 24°42′33″ сх. д. / &#x...

 

2001 film This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Wooly Boys – news · newspapers · books · scholar · JSTOR (June 2015) (Learn how and when to remove this template message) Wooly BoysDirected byLeszek BurzynskiWritten byMax EnscoeAnnie DeYoungGeorge Buck FlowerEd HansenGlen StephensProduced byRobert SchwartzStarringPet...

Для термина «Hieron.» см. также другие значения. Иеронимлат. Eusebius Sophronius Hieronymus Картина Жака Бланшара, 1632 Родился около 345 (или 347) годаСтридон, Далмация (Римская империя) Умер 30 сентября 419 (или 420) годаВифлеем (Иудея, Византийская империя) Почитается в Православной и Католичес...

 

АвтодорогаInterstate 39 39 I-39 и US 51 в Висконсине. Основная информация Страна Соединённые Штаты Америки Регионы Висконсин и Иллинойс Владельцы Департамент транспорта Иллинойса[d] и Департамент транспорта Висконсина[d] Управляется Interstate Highway System Длина 492,68 Начало I-55 / US 51, ...

 

Japanese musician, record producer and fashion designer This article is about the visual kei musician. For the alternative rock musician, see Chai (band). ManaMana performing with Moi dix Mois in 2011Background informationAlso known asSerinaBornMarch 19Hiroshima, JapanGenres Gothic metal industrial metal neoclassical dark wave synthpop punk rock Occupation(s) Musician songwriter record producer fashion designer model Instrument(s) Guitar synthesizer keyboards bass drums Years active1986–pre...

Final de la Copa de Europa de Naciones de 1960 Unión Soviética 2-1 Yugoslavia Imagen del Parque de los Príncipes, tomada en 2004, sede de la final.LocalizaciónPaís  FranciaLugar Parque de los Príncipes París, FranciaDatos generalesTipo final de la Eurocopa y partido entre dos selecciones nacionales de fútbolSuceso Final de Eurocopa 1960Organizador UEFAAsistencia 17966Participantes Unión Soviética 2 Yugoslavia 1HistóricoFecha 10 de julio de 1960Cronología ◄ Actual ► Final ...

 

American radio network This article is about the current radio network in its second incarnation. For the defunct network formerly known as ABC Radio, see Cumulus Media Networks. ABC AudioCountryUnited StatesOwnershipOwnerABC News(Disney Entertainment)Key peopleStacia Philips Deshishku(vice president and general manager)HistoryFoundedAugust 7, 2014 (2014-08-07)Former namesABC Radio (2015-2019)CoverageAvailabilityAvailable on select radio affiliatesLinksWebsiteabcaudio.com ABC A...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!