Search results for "module:Language::Zcode"
Language::Zcode - Play with Z-code and the Z-machine
Z-code is the machine language for the Z-machine, the virtual machine that the Infocom text adventure games (among others) run on. Language::Zcode provides tools to parse story files written in Z-code, and to translate ("compile") them to executables...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Parser - reads and parses a Z-code file into a big Perl hash
For finding where the subroutines start and end, you can either depend on an external call to txd, a 1992 C program available at ifarchive.org, or a pure Perl version. Everything else is done in pure Perl....
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Parser::Perl - Z-code parser in pure Perl
Finding subroutine starts and ends Things we know: 1a We understand the syntax of all opcodes that are in the spec. (modulo bugs) 1b 0 is not a legal opcode (almost every other 1-byte number is, depending on version -- but see NOTES) 2a Subs must sta...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::State - Handle saving, restoring, etc. the game state
AKARGER/Language-Zcode-0.8
-
15 Sep 2004 04:15:30 UTC
Language::Zcode::Parser::Opcode - parse one opcode
This package parses one opcode. It uses the syntax described in the Z-spec's table, 14.1. It parses the opcode and its arguments into a hash: opcode Name of the opcode opcode_address Byte address of the opcode (in hex) args Arguments to a subroutine ...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::Input - handle (some) input to Z-machine
AKARGER/Language-Zcode-0.8
-
15 Sep 2004 04:15:30 UTC
Language::Zcode::Parser::Routine - A single Z-code subroutine
A set of Z-code commands at a given address....
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Translator::XML - Translate Z-code into XML
This is an extremely simple proof of concept. It just parses the Z-file and outputs it as an XML file. With some really fancy css work, I suspect you could do some neat stuff, though....
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::Opcodes
This module is included by Perl translations of Z files. It includes functionality that'll be the same for every game, namely the implementations of the Z opcodes. Simpler opcode translations are translated into native Perl. sub names are (usually) o...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::Quetzal - Save/restore Z-machine state using the Quetzal standard
AKARGER/Language-Zcode-0.8
-
15 Sep 2004 04:15:30 UTC
Language::Zcode::Translator::Generic
Abstract class that's the parent of all language-specific translators. A translator has methods to translate Z-code into a given other language. Methods (Implement all of these to have a valid language translator.) program_start Returns a string that...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Translator::Perl - Translate Z-code into Perl code
AKARGER/Language-Zcode-0.8
-
15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::Text
This class handles different kinds of text: input, output, etc. Actually, it holds a bunch of subclasses, so that a piece of text knows what kind of text it is: text that was input with a keyboard or a file, text that was read a line at a time vs. ch...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC
Language::Zcode::Runtime::IO - IO for Perl runtimes created by L::Z translations
This package contains a number of different packages that support the IO features needed for a running Z-machine. This includes windows, input and output streams, cursors, lines, and fonts. See the Z-machine Spec for descriptions of what all these th...
AKARGER/Language-Zcode-0.8 - 15 Sep 2004 04:15:30 UTC