Fourth-generation programming language
||This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: "This article is internally inconsistent, lacks sources, and requires reformatting." (April 2016) (Learn how and when to remove this template message)|
||This article needs attention from an expert on the subject. (April 2016)|
A fourth-generation programming language (4GL) is a computer programming language envisioned as a refinement of the style of languages classified as third-generation programming language (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 3GL 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.
In the 1980s and 1990s, there were efforts to develop fifth-generation programming languages (5GL).
Though used earlier in papers and discussions, the term 4GL was first used formally by James Martin in his 1982 book Applications Development Without Programmers 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.
In a sense, the 4GL is an example of 'black box' processing, each generation (in the sense of the page) is further from the machine (see the Computer Science history in regard to data structure improvements and information hiding). It is this latter nature that is directly associated with 4GL having errors that are harder, in many cases, to debug. In terms of applications, a 4GL could be business oriented or it could deal with some technical domain. Being further from the machine implies being closer to domain. Given the wide disparity of concepts and methods across domains, 4GL limitations lead to recognition of the need for the 5GL.[original research?]
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.
The 72-character metaphor 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 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. The idea was that it was easier to teach railroad experts to use MAPPER than to teach programmers the "intricacies of railroad operations".
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.
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). A good example of this type of 4GL language is PowerBuilder. 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.
Some 4GLs have integrated tools which allow for the easy specification of all the required information:
- James Martin's version of Information Engineering systems development methodology was automated to allow the input of the results of system analysis and design in the form of data flow diagrams, entity relationship diagrams, entity life history diagrams etc. from which hundreds of thousands of lines of COBOL would be generated overnight.
- More recently Oracle Corporation's Oracle Designer and Oracle Developer Suite 4GL products could be integrated to produce database definitions and the forms and reports programs.
General use / versatile (Mount the Writer)
- GP 4GL from DaQing.
General use / versatile
- Accelerator (Productivity)
- Accell/SQL (4GL) from Unify Corporation.
- CA-Telon 4GL Cobol/PLI generator
- Cognos PowerHouse 4GL
- Forté TOOL (transactional object-oriented language)
- FOCUS from Information Builders Inc.
- Visual FoxPro
- Genero (Four J's)
- GeneXus (Knowledge-based Multi-Platform Development Tool)
- IBM Rational EGL (Enterprise Generation Language)
- Omnis Studio SDK
- OutSystems (Productivity/PaaS)
- Oracle Application Development Framework
- DEC RALLY
- SheerPower4GL (Microsoft Windows only)
- SQLWindows/Team Developer
- uniDap GTD
- Visual DataFlex (Microsoft Windows only)
- Unix Shell
- Manage (SDS Sigma series mainframes)
Database query languages
Data manipulation, analysis, and reporting languages
- Ab Initio
- Audit Command Language
- Clarion Programming Language
- ADS/Online (plus transaction processing)
- IGOR Pro
- MAPPER (Unisys/Sperry) now part of BIS
- MARK-IV (Sterling/Informatics) now VISION:BUILDER of CA
- Simulink a component of MATLAB
- Progress 4GL
- SQL PL
- Wolfram Language
- Xquery Backward compatible with SQL and forward compatible with XML data sources.
Database-driven GUI application development
Screen painters and generators
Web development languages
- Wavemaker open source, browser-based development platform for Ajax development based on Dojo, Spring, Hibernate
Taiwanese - DaQing and his partner-Jay have shown design prototypes in two inventions.
At that time the inventor claimed that this was the world's first General-Purpose 4GL.
- In the Geneva International Exhibition of Inventions (2014)
- One language that produces two languages : PHP and Action Script 3
- In the Taipei International Invention Show & Technomart (2016)
- One language that produces two languages : PHP and C#
At that time the inventor had introduced its characteristics:
1. Cross-Language: Has proven that a language can produce RIA, Web , Windows version of the three different types of programming language.
2. This language adapts concepts from traditional imperative third generation programming languages and is Turing complete.
3. According to the mounted writer to decide what program to produce.
- Although third generation programming languages can be converted to other programming languages, and its function is similar to the language and some controversy, but the operation of the main language is not the same, the former is still operating third-generation programming language and left to right Of the level of conversion, the latter is to learn a relatively simple fourth-generation programming language to the vertical conversion, which is a big difference.[clarification needed]
- Support is not enough to call it a General-Purpose type:[clarification needed]
- This is based on his grammar (see point 2) + the program that can be generated (see point 3), the General-Purpose type is based on the maximum expansion of these two essentials, rather than based on its current level of expansion.
- List of fourth-generation programming languages
- Domain-specific programming language
- Rapid application development
- 35th Hawaii International Conference on System Sciences - 1002 Domain-Specific Languages for Software Engineering Archived May 16, 2011, at the Wayback Machine.
- Arie van Deursen; Paul Klint; Joost Visser (1998). "Domain-Specific Languages:An Annotated Bibliography". Archived from the original on 2009-02-02. Retrieved 2009-03-15.
- Martin, James. Application Development Without Programmers. Prentice-Hall, 1981. ISBN 0-13-038943-9.
- Columbia University Computing History: IBM Cards
- Unisys. Business Information Server (BIS).
- Louis Schlueter, User-Designed Computing: The Next Generation, 1988. [book on report generator and MAPPER systems]
- McNurlin & Sprague. Technologies for Developing Systems Information Systems Management in Practice. Prentice Hall, 2003. ISBN 0-13-101139-1
- FourGen CASE Tools - Rapid Application Development Environment
- Four J's Development Tools Genero, Genero Studio
- IBM Informix Genero
- 4GL GPL/GNU OpenSource development tools project
- Domain-Specific Languages for Software Engineering (Compares 4GLs to DSLs)
- The fourgen site.
- The Gillani fourgen site.
- Up ! 5GL to consolidate or to build component-based applications.