Import variable variable ... variable;
Link "compiled_file";
Switches list_of_compiler_switches;
- System_file;
\ No newline at end of file
+ System_file;
+
+File structure
+--------------
+
+A minimal source file:
+
+ Constant Story "MYGAME";
+ Constant Headline "^My first Inform game.^";
+ Constant MANUAL_PRONOUNS;
+
+ Include "Parser";
+ Include "VerbLib";
+
+ [ Initialise; location = study; "^Hello!^"; ];
+
+ Class Room
+ with description "A bare room."
+ has light;
+
+ Class Furniture
+ with before [; Take,Pull,Push,Pushdir:
+ print_ret (The) self,
+ " is too heavy for that."; ]
+ has static supporter;
+
+ Room study "Your study';
+
+ Furniture "writing desk" study
+ with name 'writing' 'desk' 'table';
+
+ Object -> -> axe "rusty axe"
+ with name 'rusty' 'blunt' 'axe' 'hatchet'
+ description "It seems old and blunt.";
+
+ Include "Grammar";
+
+Compiler
+--------
+
+To compile:
+
+ inform commands source_file
+
+Useful *commands* include:
+
+ -------------- ------------------------------------------------
+ -~S disable both Strict checks and Debug tools
+ -~SD disable Strict checks, enable Debug tools
+ -X enable Infix debugger
+ -r output all game text to file (for spell-check)
+ -s display game's size and other statistics
+ -z display game's memory map
+ -v8 compile in Version 8 format (default is v5)
+ +dir,dir,... search for Included files in these directories
+ -------------- ------------------------------------------------
+
+To display full compiler help, type:
+
+ inform -h -h1 -h2
\ No newline at end of file