IBM Generalized Markup Language
Developed by | IBM |
---|---|
Extended to | SGML |
Generalized Markup Language (GML) is a set of macros that implement intent-based (procedural) markup tags for the IBM text formatter, SCRIPT. SCRIPT/VS is the main component of IBM's Document Composition Facility (DCF). A starter set of tags in GML is provided with the DCF product.
Characteristics
GML was developed in 1969 and the early 1970s by Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials were used by Goldfarb to make up the term GML).[1]
Using GML, a document is marked up with tags that define what the text is, in terms of paragraphs, headers, lists, tables, and so forth. The document can then be automatically formatted for various devices. For example, it is possible to format a document for a laser printer or a line (dot matrix) printer or for a screen by specifying a profile for the device, without changing the document itself.
The Standard Generalized Markup Language (SGML), an ISO-standard technology for defining generalized markup languages for documents, is descended from GML.[1] The Extensible Markup Language (XML) was initially a streamlined and simplified development of SGML, but has outgrown its parent in terms of worldwide acceptance and support.
A GML script example
:h1 id='intr'.Chapter 1: Introduction :p.GML supported hierarchical containers, such as :ol. :li.Ordered lists (like this one), :li.Unordered lists, and :li.Definition lists :eol. as well as simple structures. :p.Markup minimization (later generalized and formalized in SGML), allowed the end-tags to be omitted for the "h1" and "p" elements.
Related programs
In the early 1980s, IBM developed a dedicated publishing tool called Information Structure Identification Language (ISIL) based on GML. ISIL was used to generate much of IBM documentation for the IBM PC and other products at this time. In the late 1980s, a commercial product called BookMaster was developed, based mostly on ISIL.
During the early 1980s, Don Williams at IBM developed DWScript to use the SCRIPT/VS on the IBM PC.[2] In 1986, he developed a PC version of ISIL called DWISIL. These products were used only internally at IBM.
IBM uses GML as description language on IBM i and predecessors for objects called "panel groups". Panel groups can present just formatted help text to the user when pressing the help key (often F1), resemble the typical IBM i menus with embedded help texts, or complete application displays with input/output fields, and other TUI elements being formatted on screen according to IBM CUA Standards. The overall facility is called User Interface Manager (UIM) and documented in Application Display Programming.
See also
- HyperText Markup Language
- Standard Generalized Markup Language
- XML
- SCRIPT (markup)
- Information Presentation Facility - a descendant of GML, used by IBM to write OS/2's electronic books and online help.
References
- ^ a b Charles F. Goldfarb (1996). "The Roots of SGML - A Personal Recollection". Archived from the original on 2012-12-20. Retrieved 2007-07-07.
- ^ DWScript - Document Composition Facility for the IBM Personal Computer Version 4.6 Updates, DW-04167, Nov 8th, 1985
External links
- Document Composition Facility Generalized Markup Language Implementation Guide (SH35.0050-2). IBM. 1985.
- "GML Starter Set Tag Reference". IBM.
- "Creating help text using UIM". RPGPGM.com. 2017.
- "Application Display Programming (SC41-5715)". IBM. 2006.