From IFWiki
Jump to: navigation, search

FyreVM-Web is an Inform 7 Web interpreter platform based on the FyreVM implementation of Glulx.


  • FyreVM - Glulx implementation with Channel IO instead of Glk.
  • Channel IO - organizes text output by semantics.
  • Glulx-TypeScript - version of FyreVM built in TypeScript by Thilo Plaz.
  • TypeScript - superset of JavaScript that enables static analysis, and standard OO like constructs.
  • FyreVM-Web - platform that brings everything together to use in a web application.

From Glk to Channel IO

The standard Glulx interpreters use the Glk IO library to manage input and output.

FyreVM was built to replace Glk with Channel IO. Channel IO transmits text as separate items like "main text", "location name", "turn count", "time", "score", along with more structured data like JSON, CSS, XML, or any other data structures that can be passed as text. This allows the interpreter to handle data semantically, so main text is shown in some central part of the screen while other types of data are displayed in other ways. No assumption on displaying the story is made within Inform 7. The only display capabilities offered within FyreVM-Web are in-line styles like b, i, em, strong, with an additional special hyperlink capability to identify text that can be clicked to send a command to the story engine.