Inform - Support - Source

Back to List

Inventory
Complete

At Start
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Grammar.h

Grammar.h begins (lines 1-45)

001  ! ==============================================================================
002  !   GRAMMAR:  Grammar table entries for the standard verbs library.
003  !
004  !   Supplied for use with Inform 6 -- Release 6/11 -- Serial number 040227
005  !
006  !   Copyright Graham Nelson 1993-2004 but freely usable (see manuals)
007  !
008  !   In your game file, Include three library files in this order:
009  !       Include "Parser";
010  !       Include "VerbLib";
011  !       Include "Grammar";
012  ! ==============================================================================
013   
014  System_file;
015   
016  ! ------------------------------------------------------------------------------
017  !  The "meta-verbs", commands to the game rather than in the game, come first:
018  ! ------------------------------------------------------------------------------
019   
020  Verb meta 'brief' 'normal'
021      *                                           -> LMode1;
022  Verb meta 'verbose' 'long'
023      *                                           -> LMode2;
024  Verb meta 'superbrief' 'short'
025      *                                           -> LMode3;
026  Verb meta 'notify'
027      *                                           -> NotifyOn
028      * 'on'                                      -> NotifyOn
029      * 'off'                                     -> NotifyOff;
030  Verb meta 'pronouns' 'nouns'
031      *                                           -> Pronouns;
032  Verb meta 'quit' 'q//' 'die'
033      *                                           -> Quit;
034  Verb meta 'recording'
035      *                                           -> CommandsOn
036      * 'on'                                      -> CommandsOn
037      * 'off'                                     -> CommandsOff;
038  Verb meta 'replay'
039      *                                           -> CommandsRead;
040  Verb meta 'restart'
041      *                                           -> Restart;
042  Verb meta 'restore'
043      *                                           -> Restore;
044  Verb meta 'save'
045      *                                           -> Save;


Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.