Jump to content

Generalised Markup Language: Difference between revisions

From EDM2
Ak120 (talk | contribs)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Generalised Markup Language, commonly abbreviated as '''GML''', is a procedural markup language that was developed initially for use in the [[IBM]] [[macro]] text processor SCRIPT in 1969, but was used in one form or another for most formal documentation generation inside IBM well into the 21st century and is still used directly in generating [[BookManager]] files and as the basic technology behind of IBM's Document Composition Facility (DCF). The most common use for it on OS/2 and eComStation is in regards to the [[Help Facility]], but the help (.hlp) and .inf files used by the Help Viewer are compiled from GML scripts.
The '''Generalised Markup Language''' (''GML'') is a procedural markup language.


The name is actually a retronym, GML are the initials of the authors of the SCRIPT program, namely Charles Goldfarb, Edward Mosher and Raymond Lorie, and the full name was made up to fit the acronym, note that in USA English, Generalised is usually spelled with a z.
==History==
It was not developed initially for use in [[IBM]]'s macro text processor SCRIPT in 1969, but was used in one form or another for most formal documentation generation inside IBM well into the 21st century and is still used directly in generating [[BookManager]] files and as the basic technology behind of IBM's Document Composition Facility (DCF).  


GML is "intent-based" in the sense that commands, macros and formatting parameters are used to mark-up or tag your text to specify what you intend the resulting document to look like, rather than formatting a document '''exactly''' like it should look like, as you would with for instance a word processor or a [[DTP]] program. The GML processor the has an output profile that governs how the script is converted into a document format suitable for the required output device or file format. This is done to give the text document a certain amount of device and file format independence, a document printed out on a high resolution laser printer that has 120 characters per line will look different than a serial terminal with a 40 characters per line screen and concepts that make sense on an electronic device such as a hyperlink make no sense on a paper document and will need to be either stripped out or fully extended depending on end format.
The most common use for it on OS/2 is in regards to the Help Facility, but the help (.hlp) and .inf files used by the Help Viewer are compiled from GML scripts.


Thus GML uses concepts for tagging such as [[paragraph]] (:p), [[page header]] (:h) and [[list]] (:ol is an ordered list for example, :li is each list item) to spell out what the intended formatting of the following text is, here below is a GML script example taken from Wikipedia that should make sense as it stands:
The name is actually a retronym, GML are the initials of the authors of the SCRIPT program, namely Charles F. Goldfarb, Edward J. Mosher and Raymond A. Lorie, and the full name was made up to fit the acronym.


    :h1.Chapter 1:  Introduction
==Overview==
    :p.GML supported hierarchical containers, such as
GML is "intent-based" in the sense that commands, macros and formatting parameters are used to mark-up or tag your text to specify what you intend the resulting document to look like, rather than formatting a document '''exactly''' like it should look like, as you would with for instance a word processor or a DTP program. The GML processor the has an output profile that governs how the script is converted into a document format suitable for the required output device or file format. This is done to give the text document a certain amount of device and file format independence, a document printed out on a high resolution laser printer that has 120 characters per line will look different than a serial terminal with a 40 characters per line screen and concepts that make sense on an electronic device such as a hyperlink make no sense on a paper document and will need to be either stripped out or fully extended depending on end format.
    :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.


===Variants===
Thus GML uses concepts for tagging such as paragraph (:p), page header (:h) and list (:ol is an ordered list for example, :li is each list item) to spell out what the intended formatting of the following text is, here below is a GML script example taken from Wikipedia that should make sense as it stands:
<code>
:h1.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.
</code>
 
==Variants==
The best known variant of GML is the one used in the OS/2 help system.
The best known variant of GML is the one used in the OS/2 help system.


====OS/2 Help system tutorials====
===OS/2 Help system tutorials===
* Larry Salomon Jr.: [[The Help Manager and Online Documentation]]
* Larry Salomon Jr.: [[The Help Manager and Online Documentation]]


==Descendants==
==Descendants==
[[Standard Generalised Markup Language]] (SGML) is ISO standard [[markup language]] for text documents that is derived from GML, it keeps the structure and concepts of GML but changes the way the formatting is done. [[HTML]] and [[XML]] are both subsets of SGML although HTML is starting to change slowly into something that has concepts that strictly speaking do not exist in SMGL proper. [[DocBook]] is also a GML derivative, and in the beginning was heavily GML influenced but grew into something more SMGL like.
[[Standard Generalised Markup Language]] (SGML) is ISO standard markup language for text documents that is derived from GML, it keeps the structure and concepts of GML but changes the way the formatting is done. [[HTML]] and [[XML]] are both subsets of SGML although HTML is starting to change slowly into something that has concepts that strictly speaking do not exist in SGML proper. DocBook is also a GML derivative, and in the beginning was heavily GML influenced but grew into something more SGML like.


==Software==
==Software==
Traditionally all GML software originating from IBM was developed for their mainframe systems, the original SCRIPT macro processor is still actively updated and used by IBM internally and as a back end for mainframe document systems. They also released a dedicated publishing tool called '''Information Structure Identification Language''' (ISIL) around 1980 that featured a GML superset and was used for all technical document publishing internally during the 80's and later converted to a commercial offering called  BookMaster that is still available and supported by the company, although they are these days much keener to sell you the SCRIPT based "Document Composition Facility".
Traditionally all GML software originating from IBM was developed for their mainframe systems, the original SCRIPT macro processor is still actively updated and used by IBM internally and as a back end for mainframe document systems. They also released a dedicated publishing tool called '''Information Structure Identification Language''' (ISIL) around 1980 that featured a GML superset and was used for all technical document publishing internally during the 80s and later converted to a commercial offering called  BookMaster that is still available and supported by the company, although they are these days much keener to sell you the SCRIPT based "Document Composition Facility".


====OS/2 GML software====
===OS/2 GML software===
* IBM DWSISIL - Simple OS/2 port of DOS DWISIL - IBM internal product only.
*IBM DWSISIL - Simple OS/2 port of DOS DWISIL - IBM internal product only
* [[Phelsuma/2]] - Help and INF file creation & editing environment - Freeware - Discontinued
*[[Hyperwise]] - GML/Help & [[HTML]] file creation/editing capability
*[[Phelsuma/2]] - Help and INF file creation & editing environment
*[[Vyperhelp]] - [[GML]]/Help & HTML/WinHelp creator


====DOS GML software====
===DOS GML software===
* IBM SCRIPT/PC - subset of DCF - 1984
* [[IBM SCRIPT/PC]] - subset of DCF - 1984
* [[IBM MARKUP]] (1987)
* IBM DWSISIL - PC version of ISIL - Introduced in 1987 - IBM internal product only.
* IBM DWSISIL - PC version of ISIL - Introduced in 1987 - IBM internal product only.
* IBM DWScript - SCRIPT/VS compatible - Last known version: Version 4.6 - IBM internal product only.
* IBM DWScript - SCRIPT/VS compatible - Last known version: Version 4.6 - IBM internal product only.


====Text & programmers editors with GML support====
===Text & programmers editors with GML support===
* [[Boxer]] - GML syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.
*[[Boxer]] - GML syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.
* [[Enhanced Editor]] - Has IPF source files syntax highlighting built in with some auto-formatting features.
*[[Enhanced Editor]] - Has IPF source files syntax highlighting built in with some auto-formatting features.
 
===Other tools with GML/Help/IPF related functionality===
*[[Pillarsoft Suite]] - Contains a code template tool with IPF support - Shareware


==Links==
==Publications==
* [http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsm04m00/CCONTENTS GML Starter Set User's Guide]
* GML Starter Set User's Guide
* [http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsm05m00/CCONTENTS GML Starter Set Reference]
* GML Starter Set Reference


[[Category:Markup Languages]]
[[Category:Markup Language]]

Latest revision as of 20:55, 10 December 2019

The Generalised Markup Language (GML) is a procedural markup language.

History

It was not developed initially for use in IBM's macro text processor SCRIPT in 1969, but was used in one form or another for most formal documentation generation inside IBM well into the 21st century and is still used directly in generating BookManager files and as the basic technology behind of IBM's Document Composition Facility (DCF).

The most common use for it on OS/2 is in regards to the Help Facility, but the help (.hlp) and .inf files used by the Help Viewer are compiled from GML scripts.

The name is actually a retronym, GML are the initials of the authors of the SCRIPT program, namely Charles F. Goldfarb, Edward J. Mosher and Raymond A. Lorie, and the full name was made up to fit the acronym.

Overview

GML is "intent-based" in the sense that commands, macros and formatting parameters are used to mark-up or tag your text to specify what you intend the resulting document to look like, rather than formatting a document exactly like it should look like, as you would with for instance a word processor or a DTP program. The GML processor the has an output profile that governs how the script is converted into a document format suitable for the required output device or file format. This is done to give the text document a certain amount of device and file format independence, a document printed out on a high resolution laser printer that has 120 characters per line will look different than a serial terminal with a 40 characters per line screen and concepts that make sense on an electronic device such as a hyperlink make no sense on a paper document and will need to be either stripped out or fully extended depending on end format.

Thus GML uses concepts for tagging such as paragraph (:p), page header (:h) and list (:ol is an ordered list for example, :li is each list item) to spell out what the intended formatting of the following text is, here below is a GML script example taken from Wikipedia that should make sense as it stands:

:h1.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.

Variants

The best known variant of GML is the one used in the OS/2 help system.

OS/2 Help system tutorials

Descendants

Standard Generalised Markup Language (SGML) is ISO standard markup language for text documents that is derived from GML, it keeps the structure and concepts of GML but changes the way the formatting is done. HTML and XML are both subsets of SGML although HTML is starting to change slowly into something that has concepts that strictly speaking do not exist in SGML proper. DocBook is also a GML derivative, and in the beginning was heavily GML influenced but grew into something more SGML like.

Software

Traditionally all GML software originating from IBM was developed for their mainframe systems, the original SCRIPT macro processor is still actively updated and used by IBM internally and as a back end for mainframe document systems. They also released a dedicated publishing tool called Information Structure Identification Language (ISIL) around 1980 that featured a GML superset and was used for all technical document publishing internally during the 80s and later converted to a commercial offering called BookMaster that is still available and supported by the company, although they are these days much keener to sell you the SCRIPT based "Document Composition Facility".

OS/2 GML software

  • IBM DWSISIL - Simple OS/2 port of DOS DWISIL - IBM internal product only
  • Hyperwise - GML/Help & HTML file creation/editing capability
  • Phelsuma/2 - Help and INF file creation & editing environment
  • Vyperhelp - GML/Help & HTML/WinHelp creator

DOS GML software

  • IBM SCRIPT/PC - subset of DCF - 1984
  • IBM MARKUP (1987)
  • IBM DWSISIL - PC version of ISIL - Introduced in 1987 - IBM internal product only.
  • IBM DWScript - SCRIPT/VS compatible - Last known version: Version 4.6 - IBM internal product only.

Text & programmers editors with GML support

  • Boxer - GML syntax highlighting support built in - Commercial - DOS and OS/2 versions discontinued, Win32 version still sold.
  • Enhanced Editor - Has IPF source files syntax highlighting built in with some auto-formatting features.

Other tools with GML/Help/IPF related functionality

Publications

  • GML Starter Set User's Guide
  • GML Starter Set Reference