Inform - Support - Source

Back to List

Inventory
Complete

Plain
Coloured
Gaudy

Browsing Parser.h

This is the complete source code of the example game Parser.inf.

01  ! ----------------------------------------------------------------------------
02  !  PARSER:  Front end to parser.
03  !
04  !  Supplied for use with Inform 6
05  !
06  !  (c) Graham Nelson 1993, 1994, 1995, 1996, 1997, 1998, 1999
07  !      but freely usable (see manuals)
08  ! ----------------------------------------------------------------------------
09  System_file;
10  IFDEF INFIX; IFNDEF DEBUG; Constant DEBUG; ENDIF; ENDIF;
11  IFDEF STRICT_MODE; IFNDEF DEBUG; Constant DEBUG; ENDIF; ENDIF;
12  Constant LibSerial  = "991113";
13  Constant LibRelease = "6/10";
14  Constant Grammar__Version = 2;
15  IFNDEF VN_1610;
16  Message fatalerror "*** Library 6/10 needs Inform v6.10 or later to work ***";
17  ENDIF;
18  Include "linklpa";
19  Fake_Action LetGo;
20  Fake_Action Receive;
21  Fake_Action ThrownAt;
22  Fake_Action Order;
23  Fake_Action TheSame;
24  Fake_Action PluralFound;
25  Fake_Action ListMiscellany;
26  Fake_Action Miscellany;
27  Fake_Action Prompt;
28  Fake_Action NotUnderstood;
29  IFDEF NO_PLACES;
30  Fake_Action Places;
31  Fake_Action Objects;
32  ENDIF;
33  [ Main; InformLibrary.play(); ];
34  IFDEF USE_MODULES;
35  Link "parserm";
36  IFNOT;
37  Include "parserm";
38  ENDIF;


Last updated 27 February 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.