Jump to content

Fourth-generation programming language: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
GreenC bot (talk | contribs)
Removed 1 archive link; reformat 1 citation per Category:CS1 errors: archive-url. Wayback Medic 2.5
Removing link(s) / list item(s) Wikipedia:Articles for deletion/Judoscript closed as delete (XFDcloser)
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{short description|Group of computer programming languages}}
{{short description|Group of computer programming languages}}
A '''fourth-generation programming language''' ('''4GL''') is any [[computer]] [[programming language]] that belongs to a class of languages envisioned as an advancement upon [[third-generation programming language]]s (3GL). Each of the [[programming language generations]] aims to provide a higher level of [[Abstraction layer|abstraction]] of the internal [[computer hardware]] details, making the language more [[programmer]]-friendly, powerful, and versatile. While the definition of 4GL has changed over time, it can be typified by operating more with large collections of information at once rather than focusing on just [[bit]]s and [[byte]]s. Languages claimed to be 4GL may include support for [[database]] management, [[Report generator|report generation]], [[mathematical optimization]], [[Graphical user interface builder|GUI development]], or [[web development]]. Some researchers state that 4GLs are a subset of [[domain-specific language]]s.<ref>35th Hawaii International Conference on System Sciences - 1002 [http://csdl.computer.org/comp/proceedings/hicss/2002/1435/09/14350279.pdf&ei=pgcWQ6CwKsKYYMfF9OAI Domain-Specific Languages for Software Engineering] {{webarchive|url=https://web.archive.org/web/20110516121525/http://csdl.computer.org/comp/proceedings/hicss/2002/1435/09/14350279.pdf%26ei%3DpgcWQ6CwKsKYYMfF9OAI |date=May 16, 2011 }}</ref><ref>
A '''fourth-generation programming language''' ('''4GL''') is a [[high-level programming language|high-level]] [[computer]] [[programming language]] that belongs to a class of languages envisioned as an advancement upon [[third-generation programming language]]s (3GL). Each of the [[programming language generations]] aims to provide a higher level of [[Abstraction layer|abstraction]] of the internal [[computer hardware]] details, making the language more [[programmer]]-friendly, powerful, and versatile. While the definition of 4GL has changed over time, it can be typified by operating more with large collections of information at once rather than focusing on just [[bit]]s and [[byte]]s. Languages claimed to be 4GL may include support for [[database]] management, [[Report generator|report generation]], [[mathematical optimization]], [[Graphical user interface builder|GUI development]], or [[web development]]. Some researchers state that 4GLs are a subset of [[domain-specific language]]s.<ref>35th Hawaii International Conference on System Sciences - 1002 [http://csdl.computer.org/comp/proceedings/hicss/2002/1435/09/14350279.pdf&ei=pgcWQ6CwKsKYYMfF9OAI Domain-Specific Languages for Software Engineering] {{webarchive|url=https://web.archive.org/web/20110516121525/http://csdl.computer.org/comp/proceedings/hicss/2002/1435/09/14350279.pdf%26ei%3DpgcWQ6CwKsKYYMfF9OAI |date=May 16, 2011 }}</ref><ref>
{{cite web
{{cite web
|url=http://homepages.cwi.nl/~arie/papers/dslbib/
|url=http://homepages.cwi.nl/~arie/papers/dslbib/
Line 20: Line 20:
== History ==
== History ==


Though used earlier in papers and discussions, the term 4GL was first used formally by [[James Martin (author)|James Martin]] in his 1981 book ''Applications Development Without Programmers''<ref>[[James Martin (author)|Martin, James]]. ''Application Development Without Programmers.'' Prentice-Hall, 1981. {{ISBN|0-13-038943-9}}.</ref> to refer to non-procedural, high-level [[specification language]]s. In some primitive way, early 4GLs were included in the [[Sterling Software|Informatics]] [[MARK-IV (Software)|MARK-IV]] (1967) product and [[Sperry Corporation|Sperry]]'s [[MAPPER]] (1969 internal use, 1979 release).
Though used earlier in papers and discussions, the term 4GL was first used formally by [[James Martin (author)|James Martin]] in his 1981 book ''Application Development Without Programmers''<ref>[[James Martin (author)|Martin, James]]. ''Application Development Without Programmers.'' Prentice-Hall, 1981. {{ISBN|0-13-038943-9}}.</ref> to refer to non-procedural, high-level [[specification language]]s. In some primitive way, early 4GLs were included in the [[Sterling Software|Informatics]] [[MARK-IV (Software)|MARK-IV]] (1967) product and [[Sperry Corporation|Sperry]]'s [[MAPPER]] (1969 internal use, 1979 release).


The motivations for the '4GL' inception and continued interest are several. The term can apply to a large set of software products. It can also apply to an approach that looks for greater [[semantic]] properties and implementation power. Just as the 3GL offered greater power to the programmer, so too did the 4GL open up the development environment to a wider population.
The motivations for the '4GL' inception and continued interest are several. The term can apply to a large set of software products. It can also apply to an approach that looks for greater [[semantic]] properties and implementation power. Just as the 3GL offered greater power to the programmer, so too did the 4GL open up the development environment to a wider population.
Line 36: Line 36:
[[Atchison, Topeka and Santa Fe Railway|Santa Fe]] railroad used [[MAPPER]] to develop a system, in a project that was an early example of 4GL, [[Software prototyping|rapid prototyping]], and [[End-user computing|programming by users]].<ref>{{cite book|author=Louis Schlueter|title=User-Designed Computing: The Next Generation |year=1988}} [book on report generator and MAPPER systems]</ref> The idea was that it was easier to teach railroad experts to use [[MAPPER]] than to teach programmers the "intricacies of railroad operations".<ref>{{cite book|author1=Barbara Canning McNurlin|author2=Ralph H. Sprague|title=Information Systems Management in Practice|url=http://telaga.cs.ui.ac.id/WebKuliah/IKI42400/2004/McNurlin-5ed-ch09.pdf|year=2004|publisher=Pearson/Prentice Hall|isbn=978-0-13-101139-7|chapter=Ch. 9}}{{dead link|date=October 2017 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>
[[Atchison, Topeka and Santa Fe Railway|Santa Fe]] railroad used [[MAPPER]] to develop a system, in a project that was an early example of 4GL, [[Software prototyping|rapid prototyping]], and [[End-user computing|programming by users]].<ref>{{cite book|author=Louis Schlueter|title=User-Designed Computing: The Next Generation |year=1988}} [book on report generator and MAPPER systems]</ref> The idea was that it was easier to teach railroad experts to use [[MAPPER]] than to teach programmers the "intricacies of railroad operations".<ref>{{cite book|author1=Barbara Canning McNurlin|author2=Ralph H. Sprague|title=Information Systems Management in Practice|url=http://telaga.cs.ui.ac.id/WebKuliah/IKI42400/2004/McNurlin-5ed-ch09.pdf|year=2004|publisher=Pearson/Prentice Hall|isbn=978-0-13-101139-7|chapter=Ch. 9}}{{dead link|date=October 2017 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>


One of the early (and portable) languages that had 4GL properties was [[Ramis software|Ramis]] developed by Gerald C. Cohen at [[Mathematica]], a mathematical software company. Cohen left Mathematica and founded Information Builders to create a similar reporting-oriented 4GL, called [[FOCUS]].
One of the early (and portable) languages that had 4GL properties was [[Ramis software|Ramis]] developed by Gerald C. Cohen at [[Mathematica Inc. (1968–1986)|Mathematica]], a mathematical software company. Cohen left Mathematica and founded Information Builders to create a similar reporting-oriented 4GL, called [[FOCUS]].


Later 4GL types are tied to a database system and are far different from the earlier types in their use of techniques and resources that have resulted from the general improvement of computing with time.
Later 4GL types are tied to a database system and are far different from the earlier types in their use of techniques and resources that have resulted from the general improvement of computing with time.
Line 101: Line 101:
*[[XBase++]]
*[[XBase++]]
*[[Xojo]]
*[[Xojo]]
*[[ZIM:X]]
{{div col end}}
{{div col end}}


Line 113: Line 112:
*[[Ramis software|Ramis]]
*[[Ramis software|Ramis]]
*[[SQL]]
*[[SQL]]
*[[ZIM:X]]


===Report generators===
===Report generators===
*Speedware EasyReporter
*[[LINC 4GL|LINC]]
*[[LINC 4GL|LINC]]
*[[Oracle Reports]]
*[[Oracle Reports]]
*[[Progress 4GL]] Query/Results
*[[Progress 4GL]] Query/Results
*[[RPG programming language|RPG-II]]
*[[RPG programming language|RPG-II]]
*[[ZIM:X]]
Extract data from files or database to create reports in a wide range of formats is done by the report generator tools.
Extract data from files or database to create reports in a wide range of formats is done by the report generator tools.


Line 139: Line 137:
*[[Informix-4GL]]
*[[Informix-4GL]]
*[[JMP (statistical software)|JSL]]
*[[JMP (statistical software)|JSL]]
*[[Judoscript]]
*[[LANSA (development environment)|LANSA]]
*[[LANSA (development environment)|LANSA]]
*[[M-Power]]
*[[M-Power]]
Line 167: Line 164:
*[[XQuery]]
*[[XQuery]]
*[[XSLT]]
*[[XSLT]]
*[[ZIM:X]]
{{div col end}}
{{div col end}}


Line 182: Line 178:
*[[Xojo]]
*[[Xojo]]
*[[XUL]] Can be used with [[XQuery]]
*[[XUL]] Can be used with [[XQuery]]
*[[ZIM:X]]
{{div col end}}
{{div col end}}


Line 192: Line 187:
*[[MathProg]]
*[[MathProg]]
*[[MATLAB]]
*[[MATLAB]]
*[[ZIM:X]]


===Database-driven GUI application development===
===Database-driven GUI application development===
Line 199: Line 193:
*[[IBM SystemBuilder|SB+/SystemBuilder]]
*[[IBM SystemBuilder|SB+/SystemBuilder]]
*[[Unify VISION]]
*[[Unify VISION]]
*[[ZIM:X]]


===Low code / No code development platforms===
===Low code / No code development platforms<ref>{{cite web|url=https://www.pcmag.com/roundup/353252/the-best-low-code-development-platforms|title=The Best Low-Code Development Platforms for 2019|first1=Rob|last1=Marvin|date=August 10, 2018|website=PCMAG}}</ref><ref>{{cite web|url=https://www.infoworld.com/article/3214637/mobile-development/25-simple-tools-for-building-mobile-apps-fast.html|title=25 simple tools for building mobile apps fast|first=Martin Heller and Peter|last=Sayer|date=6 April 2018|website=InfoWorld|access-date=17 November 2017|archive-url=https://web.archive.org/web/20171118222718/https://www.infoworld.com/article/3214637/mobile-development/25-simple-tools-for-building-mobile-apps-fast.html|archive-date=18 November 2017|url-status=dead}}</ref>===

Source:<ref>{{cite web|url=https://www.pcmag.com/roundup/353252/the-best-low-code-development-platforms|title=The Best Low-Code Development Platforms for 2019|first1=Rob|last1=Marvin|date=August 10, 2018|website=PCMAG}}</ref><ref>{{cite web|url=https://www.infoworld.com/article/3214637/mobile-development/25-simple-tools-for-building-mobile-apps-fast.html|title=25 simple tools for building mobile apps fast|first=Martin Heller and Peter|last=Sayer|date=6 April 2018|website=InfoWorld|access-date=17 November 2017|archive-url=https://web.archive.org/web/20171118222718/https://www.infoworld.com/article/3214637/mobile-development/25-simple-tools-for-building-mobile-apps-fast.html|archive-date=18 November 2017|url-status=dead}}</ref>


{{div col|colwidth=25em}}
{{div col|colwidth=25em}}
Line 209: Line 204:
*[[Bizagi]]
*[[Bizagi]]
*[[DronaHQ]]<ref>{{cite web|url=https://dronahq.com/|title=DronaHQ. Build apps without coding.|website=www.dronahq.com|access-date=2019-09-11|archive-url=https://web.archive.org/web/20190809071649/https://dronahq.com/|archive-date=2019-08-09|url-status=dead}}</ref>
*[[DronaHQ]]<ref>{{cite web|url=https://dronahq.com/|title=DronaHQ. Build apps without coding.|website=www.dronahq.com|access-date=2019-09-11|archive-url=https://web.archive.org/web/20190809071649/https://dronahq.com/|archive-date=2019-08-09|url-status=dead}}</ref>
*[[K2]]<ref>{{cite web|url=https://www.k2.com/|title=K2 - Digital Process Automation|website=www.k2.com|access-date=2017-11-20|archive-url=https://web.archive.org/web/20171121094233/https://www.k2.com/|archive-date=2017-11-21|url-status=dead}}</ref>
*[[Kony, Inc.|Kony]]<ref>{{cite web|url=https://www.kony.com/|title=Kony. Accelerate digital success.|website=Kony|access-date=2017-11-20|archive-url=https://web.archive.org/web/20171124051239/https://www.kony.com/|archive-date=2017-11-24|url-status=dead}}</ref>
*[[LANSA (development environment)|LANSA]]
*[[LANSA (development environment)|LANSA]]
*[[M-Power]]
*[[M-Power]]
*[[Microsoft Power Automate]]
*[[Mendix]]
*[[Node-RED]]
*[[OutSystems]]
*[[OutSystems]]
*[[Pegasystems]]
*[[Pegasystems]]
Line 219: Line 213:
*[[Progress 4GL|Progress]]
*[[Progress 4GL|Progress]]
*[[ServiceNow]]
*[[ServiceNow]]
*[[Servoy]]
*[[ViziApps]]
*[[ViziApps]]
*[[WEM (programming language)|WEM]]<ref>{{cite web|url=https://wem.io/documentation/wem-modeler/about-wem-modeler/|title=WEM Modeler. Build Modern Applications At Incredible Speed.|website=wem.io|access-date=2021-09-07|archive-url=https://web.archive.org/web/20190809071649/https://wem.io/|archive-date=2019-08-09|url-status=dead}}</ref>

{{div col end}}
{{div col end}}


Line 229: Line 220:
*[[Progress 4GL]] ProVision
*[[Progress 4GL]] ProVision
*[[IBM SystemBuilder|SB+/SystemBuilder]]
*[[IBM SystemBuilder|SB+/SystemBuilder]]
*[[ZIM:X]]


===Web development languages===
===Web development languages===
Line 237: Line 227:
*[[OutSystems]]
*[[OutSystems]]
*[[Wavemaker]]
*[[Wavemaker]]
*[[ZIMWEB]]


===Music Programming language===
===Music Programming language===

Revision as of 21:55, 4 June 2024

A fourth-generation programming language (4GL) is a high-level computer programming language that belongs to a class of languages envisioned as an advancement upon third-generation programming languages (3GL). Each of the programming language generations aims to provide a higher level of abstraction of the internal computer hardware details, making the language more programmer-friendly, powerful, and versatile. While the definition of 4GL has changed over time, it can be typified by operating more with large collections of information at once rather than focusing on just bits and bytes. Languages claimed to be 4GL may include support for database management, report generation, mathematical optimization, GUI development, or web development. Some researchers state that 4GLs are a subset of domain-specific languages.[1][2]

The concept of 4GL was developed from the 1970s through the 1990s, overlapping most of the development of 3GL, with 4GLs identified as "non-procedural" or "program-generating" languages, contrasted with 3GLs being algorithmic or procedural languages. While 3GLs like C, C++, C#, Java, and JavaScript remain popular for a wide variety of uses, 4GLs as originally defined found uses focused on databases, reports, and websites.[3] Some advanced 3GLs like Python, Ruby, and Perl combine some 4GL abilities within a general-purpose 3GL environment,[4] and libraries with 4GL-like features have been developed as add-ons for most popular 3GLs, producing languages that are a mix of 3GL and 4GL, blurring the distinction.[5]

In the 1980s and 1990s, there were efforts to develop fifth-generation programming languages (5GL).

History

Though used earlier in papers and discussions, the term 4GL was first used formally by James Martin in his 1981 book Application Development Without Programmers[6] to refer to non-procedural, high-level specification languages. In some primitive way, early 4GLs were included in the Informatics MARK-IV (1967) product and Sperry's MAPPER (1969 internal use, 1979 release).

The motivations for the '4GL' inception and continued interest are several. The term can apply to a large set of software products. It can also apply to an approach that looks for greater semantic properties and implementation power. Just as the 3GL offered greater power to the programmer, so too did the 4GL open up the development environment to a wider population.

The early input scheme for the 4GL supported entry of data within the 72-character limit of the punched card (8 bytes used for sequencing) where a card's tag would identify the type or function. With judicious use of a few cards, the 4GL deck could offer a wide variety of processing and reporting capability whereas the equivalent functionality coded in a 3GL could subsume, perhaps, a whole box or more of cards.[7]

The 72-character format continued for a while as hardware progressed to larger memory and terminal interfaces. Even with its limitations, this approach supported highly sophisticated applications.

As interfaces improved and allowed longer statement lengths and grammar-driven input handling, greater power ensued. An example of this is described on the Nomad page.

Another example of Nomad's power is illustrated by Nicholas Rawlings in his comments for the Computer History Museum about NCSS (see citation below). He reports that James Martin asked Rawlings for a Nomad solution to a standard problem Martin called the Engineer's Problem: "give 6% raises to engineers whose job ratings had an average of 7 or better." Martin provided a "dozen pages of COBOL, and then just a page or two of Mark IV, from Informatics." Rawlings offered the following single statement, performing a set-at-a-time operation...

The development of the 4GL was influenced by several factors, with the hardware and operating system constraints having a large weight. When the 4GL was first introduced, a disparate mix of hardware and operating systems mandated custom application development support that was specific to the system in order to ensure sales. One example is the MAPPER system developed by Sperry. Though it has roots back to the beginning, the system has proven successful in many applications and has been ported to modern platforms. The latest variant is embedded in the BIS[8] offering of Unisys. MARK-IV is now known as VISION:BUILDER and is offered by Computer Associates.

Santa Fe railroad used MAPPER to develop a system, in a project that was an early example of 4GL, rapid prototyping, and programming by users.[9] The idea was that it was easier to teach railroad experts to use MAPPER than to teach programmers the "intricacies of railroad operations".[10]

One of the early (and portable) languages that had 4GL properties was Ramis developed by Gerald C. Cohen at Mathematica, a mathematical software company. Cohen left Mathematica and founded Information Builders to create a similar reporting-oriented 4GL, called FOCUS.

Later 4GL types are tied to a database system and are far different from the earlier types in their use of techniques and resources that have resulted from the general improvement of computing with time.

An interesting twist to the 4GL scene is realization that graphical interfaces and the related reasoning done by the user form a 'language' that is poorly understood.

Types

A number of different types of 4GLs exist:

  • Table-driven (codeless) programming, usually running with a runtime framework and libraries. Instead of using code, the developer defines their logic by selecting an operation in a pre-defined list of memory or data table manipulation commands. In other words, instead of coding, the developer uses table-driven algorithm programming (see also control tables that can be used for this purpose). These types of tools can be used for business application development usually consisting in a package allowing for both business data manipulation and reporting, therefore they come with GUI screens and report editors. They usually offer integration with lower level DLLs generated from a typical 3GL for when the need arise for more hardware/OS specific operations.
  • Report-generator programming languages take a description of the data format and the report to generate and from that they either generate the required report directly or they generate a program to generate the report. See also RPG
  • Similarly, forms generators manage online interactions with the application system users or generate programs to do so.
  • More ambitious 4GLs (sometimes termed fourth generation environments) attempt to automatically generate whole systems from the outputs of CASE tools, specifications of screens and reports, and possibly also the specification of some additional processing logic.
  • Data management 4GLs such as SAS, SPSS, and Stata provide sophisticated coding commands for data manipulation, file reshaping, case selection, and data documentation in the preparation of data for statistical analysis and reporting.
  • So-called "XTalk" languages, developed initially with Apple's Hypercard in 1987. Hypercard was the progenitor of more modern and powerful programs such as SuperCard, Toolbook and LiveCode.

Some 4GLs have integrated tools that allow for the easy specification of all the required information:

Low code environments

In the twenty-first century, 4GL systems have emerged as "low code" environments or platforms for the problem of rapid application development in short periods of time. Vendors often provide sample systems such as CRM, contract management, bug tracking from which development can occur with little programming.[11]

Examples

General use / versatile

Report generators

Extract data from files or database to create reports in a wide range of formats is done by the report generator tools.

Data manipulation, analysis, and reporting languages

Software creators

Mathematical optimization

Database-driven GUI application development

Low code / No code development platforms

Source:[12][13]

Screen painters and generators

Web development languages

Music Programming language

See also

References

  1. ^ 35th Hawaii International Conference on System Sciences - 1002 Domain-Specific Languages for Software Engineering Archived May 16, 2011, at the Wayback Machine
  2. ^ Arie van Deursen; Paul Klint; Joost Visser (1998). "Domain-Specific witness Languages:An Annotated Bibliography". Archived from the original on 2009-02-02. Retrieved 2009-03-15.
  3. ^ MacDonell, Stephen (November 1993). "Software development, CASE tools and 4GLs—A survey of New Zealand usage. Part 1: 750 New Zealand organisations". hdl:10523/928. {{cite journal}}: Cite journal requires |journal= (help)
  4. ^ "Roger Clarke's Software Generations".
  5. ^ "Definition of fourth-generation language". PCMAG. Retrieved 7 May 2020.
  6. ^ Martin, James. Application Development Without Programmers. Prentice-Hall, 1981. ISBN 0-13-038943-9.
  7. ^ "IBM Punch Cards". www.columbia.edu. Archived from the original on 2019-02-16. Retrieved 2019-02-03.
  8. ^ "Data Mining Software, Data Analysis, and More: Unisys Business Information Server Features". Unisys. 2006-08-21. Archived from the original on 2006-08-21. Retrieved 2019-02-03.
  9. ^ Louis Schlueter (1988). User-Designed Computing: The Next Generation. [book on report generator and MAPPER systems]
  10. ^ Barbara Canning McNurlin; Ralph H. Sprague (2004). "Ch. 9". Information Systems Management in Practice (PDF). Pearson/Prentice Hall. ISBN 978-0-13-101139-7.[permanent dead link]
  11. ^ Forrest, Conner. "How Salesforce is using low-code orchestration to save 'floundering IoT projects'". ZDNet.
  12. ^ Marvin, Rob (August 10, 2018). "The Best Low-Code Development Platforms for 2019". PCMAG.
  13. ^ Sayer, Martin Heller and Peter (6 April 2018). "25 simple tools for building mobile apps fast". InfoWorld. Archived from the original on 18 November 2017. Retrieved 17 November 2017.
  14. ^ "DronaHQ. Build apps without coding". www.dronahq.com. Archived from the original on 2019-08-09. Retrieved 2019-09-11.

See also