1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-28 21:14:57 +03:00
inform7/inform6/Inform6
2022-07-24 11:10:45 +01:00
..
arrays.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
asm.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
bpatch.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
chars.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
directs.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
errors.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
expressc.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
expressp.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
files.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
header.h Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
inform.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
lexer.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
licence.txt Initial commit 2019-02-05 00:44:07 +00:00
memory.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
objects.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
README.md Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
ReleaseNotes.html Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
states.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
symbols.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
syntax.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
tables.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
text.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
veneer.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00
verbs.c Updated inform6 to v6.41 2022-07-24 11:10:45 +01:00

Inform 6

This is Inform 6.41, copyright (c) Graham Nelson 1993 - 2022, a compiler for interactive fiction (text adventure games).

Release notes, manuals, executables and more are available from https://ifarchive.org/indexes/if-archive/infocom/compilers/inform6/.

Introduction

Back in the late 1980s, people began investigating the format of Infocom's text adventures. Infocom used a standard format that defined a virtual machine, which has come to be known as the Z-Machine, to allow them to be able to port their games to many different computers. This investigation lead to the creation of open source implementations of the Z-Machine, such as the InfoTaskForce interpreter, Zip, Frotz, and many others.

In 1993, Graham Nelson released the first version of Inform, which compiled a somewhat C-like language ("Inform") to the Z-Machine. In the years that followed this led to the creation of hundreds of free games by a community that had sprung up based around the Usenet group rec.arts.int-fiction.

The latest version of Inform is Inform 7, but Inform 6 still lives on, both as the code generator used by Inform 7, and as a language and compiler in its own right. Inform 6 is now considered stable and only has bugs fixed and minor, non-breaking features added, but development continues.

Using Inform 6

To use the compiler, you will need an executable. There are pre-built executables available, or you can compile the source yourself. There is no makefile as compilation does not really need one: all that is required is a C compiler and for it to be invoked with something like

  cc -O2 -o inform *.c

Suitable defaults for various operating systems can be selected by defining the appropriate symbol, a list of which are near the top of the "header.h" file (under "Our host machine or OS for today is..."). For example, to compile for Windows, use

  cc -DPC_WIN32 -O2 -o inform *.c

To write a work of interactive fiction with Inform 6, you will also need a version of the Inform 6 library. Stable versions of the library are available, and development of the library continues in a separate project.

More resources and documentation, including the Inform Designer's Manual, are available from the Inform 6 web site.