Difference between revisions of "JSZM"

From IFWiki
Jump to: navigation, search
(Created page with "<b>JSZM</b> is a public-domain Z-machine implementation written in JavaScript, with ES6. It uses only pure JavaScript and does not use DOM or anything like that; it could be u...")
 
(Node.js front-end)
Line 9: Line 9:
  
 
==External==
 
==External==
* [http://zzo38computer.org/jszm/jszm.js jszm.js] (includes documentation)
+
* [http://zzo38computer.org/jszm/jszm.js jszm.js]
* [http://zzo38computer.org/jszm/display.html Example HTML front-end] (somewhat defective)
+
* [http://zzo38computer.org/jszm/example.js Example Node.js front-end]
 +
* [http://zzo38computer.org/jszm/display.html Example HTML front-end] (defective)
  
 
{{stub}}[[Category:Z-machine]][[Category:Interpreter]]
 
{{stub}}[[Category:Z-machine]][[Category:Interpreter]]

Revision as of 21:16, 20 February 2016

JSZM is a public-domain Z-machine implementation written in JavaScript, with ES6. It uses only pure JavaScript and does not use DOM or anything like that; it could be used with any front-end (HTML, XUL, Node.js, Synchronet, etc).

Features

  • Based on Generator functions
  • Optional split-screen support (if implemented in front-end)
  • Optional scripting support (if implemented in front-end)
  • Optional save/restore games (JSZM serializes and deserializes; saving/restoring the serialized data must be implemented in front-end)
  • Optional status-line (JSZM tells the front-end the type (time or score) and the text and numbers to display, the front-end displays it)

External

This article is a stub. You can help IFWiki by expanding it.