1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00
inform7/inform6/Inform6
2022-03-03 00:10:25 +00:00
..
arrays.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
asm.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
bpatch.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
chars.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
DebugFileFormat.txt Initial commit 2019-02-05 00:44:07 +00:00
directs.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
errors.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
expressc.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
expressp.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
files.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
header.h Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
inform.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
lexer.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
licence.txt Initial commit 2019-02-05 00:44:07 +00:00
linker.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
memory.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
objects.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
README.md Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
readme.txt Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
ReleaseNotes.html Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
states.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
symbols.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
syntax.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
tables.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
text.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
veneer.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00
verbs.c Advanced inform6 to v6.36 and added test cases 2022-03-03 00:10:25 +00:00

Inform 6

Inform 6 is a compiler for interactive fiction (text adventure games), written by Graham Nelson.

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.