Glk (software)
Glk is a portable application programming interface (API) created by Andrew Plotkin for use by programs with a text interface; these programs mostly include interactive fiction (IF) interpreters for Z-machine, TADS, Glulx, and Hugo games, and IF games written in more obscure file formats such as those used by Level 9 Computing and Magnetic Scrolls. The Glk API specification describes facilities for input, output, text formatting, graphics, sound, and file I/O. Glk does not describe a virtual machine. Glulx is a virtual machine designed to be implemented using the Glk functions, and Glulxe is an interpreter for Glulx. Interpreters for other virtual machines may use Glk while being unrelated to Glulx: for example, Nitfol is an interpreter for the Z-Machine that uses Glk. The Glk API has many implementations, including GlkTerm, ScummVM's Glk, WindowsGlk, XGlk. Implementations are available on the following platforms: * Java * JavaScript * Mac * MS-DOS * Unix * Windows * Pocket PC The existence of the Glk API has made possible the creation of "universal translator" IF interpreters, programs such as Gargoyle and Spatterlight which can run all popular IF formats and almost all of the more obscure ones. Such programs are very useful for newcomers to the medium who are unsure of which interpreter to choose, and to experienced players who may possess games in a variety of formats.
Glk is a portable application programming interface (API) created by Andrew Plotkin for use by programs with a text interface; these programs mostly include interactive fiction (IF) interpreters for Z-machine, TADS, Glulx, and Hugo games, and IF games written in more obscure file formats such as those used by Level 9 Computing and Magnetic Scrolls. The Glk API specification describes facilities for input, output, text formatting, graphics, sound, and file I/O. Glk does not describe a virtual machine. Glulx is a virtual machine designed to be implemented using the Glk functions, and Glulxe is an interpreter for Glulx. Interpreters for other virtual machines may use Glk while being unrelated to Glulx: for example, Nitfol is an interpreter for the Z-Machine that uses Glk. The Glk API has many implementations, including GlkTerm, ScummVM's Glk, WindowsGlk, XGlk. Implementations are available on the following platforms: Java JavaScript Mac MS-DOS Unix Windows Pocket PC The existence of the Glk API has made possible the creation of "universal translator" IF interpreters, programs such as Gargoyle and Spatterlight which can run all popular IF formats and almost all of the more obscure ones. Such programs are very useful for newcomers to the medium who are unsure of which interpreter to choose, and to experienced players who may possess games in a variety of formats. ==External links== GLK API specification The GLK Section of the Interactive FictionArchive
References
No reference rows published for this article.
Cite this article
MLA
"Glk (software)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/glk-software. Accessed 24 November 2026.
Chicago
"Glk (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/glk-software.
APA
encyclopegia.org. (2025). Glk (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/glk-software
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON