......
    

Contents Index

Headings and   extensions;   named values, Tables and so on; the   Library Card; the   story file.
How do headings work?  ; What's the Library Card?  

......

The Parser by Anonymous

Volume 1 - Exposing Necessary pieces from other template files to Inform 7 and vice-versa 

Chapter - Inform 6 basics 

Section - many miscellaneous translations 

understood word, invalid understood word

Section - Type Disambiguators and Casts 

Chapter - Arrays in Inform 7 

ZSCII letter, invalid ZSCII letter, 0-based index, 0-based-array, 1-based index, 1-based-array, 2-based index, 2-based-array

Chapter - Inform 7 exposed to I6 

Chapter - Inform 7 niceties 

Chapter - Non-English hooks 

Chapter - From the Definitions i6t File 

token type, elementary type, preposition type, routine filter type, attribute filter type, scope type, general parsing routine type, grammar token, held token, multi token, multi-held token, multi-except token, multi-inside token, creature token, special token, number token, topic token, scope reason, talking reason

Chapter - From the Output i6t File 

Chapter - From the Light i6t File 

Volume 2 - The Inform 6 Parser Template File 

Book - Basic Definitions and Utilities 

Chapter - Grammar Line Variables 

Chapter - Grammar Token Variables 

Chapter - Match List Variables 

Chapter - Words 

Section 1 - (for Z-machine only) 

Section 2 - (for Glulx only) 

Section 3 - both VMs 

Chapter - Snippets 

Chapter - Unpacking Grammar Lines 

Chapter - Extracting Verb Numbers 

Chapter - Keyboard Primitive 

Chapter - Reading the Command 

Book - The Parser Proper 

Chapter - Parser Proper 

Book - Tokens 

Chapter - Parse Token 

Chapter - Parse Token Letter A 

Chapter - Descriptors 

Chapter - Parsing Descriptors 

Chapter - Preposition Chain 

Chapter - Creature 

Chapter - Noun Domain 

Chapter - Adjudicate 

Chapter - ReviseMulti 

Chapter - Match List 

Chapter - ScoreMatchL 

Chapter - BestGuess 

Chapter - SingleBestGuess 

Chapter - Identical 

Chapter - Print Command 

Chapter - CantSee 

Chapter - Multiple Object List 

Book - Scope 

Chapter - Scope 

Chapter - Scope Level 0 

Chapter - SearchScope 

Chapter - ScopeWithin 

Chapter - DoScopeActionAndRecurse 

Chapter - DoScopeAction 

Book - Text to Name Matching 

Chapter - Parsing Object Names 

Chapter - TryGivenObject 

Chapter - Refers 

Chapter - NounWord 

Chapter - TryNumber 

Chapter - Extended TryNumber 

Chapter - Gender 

Chapter - Noticing Plurals 

Chapter - Pronoun Handling 

Chapter - Yes/No Questions 

Chapter - Number Words 

Book - Does The Player Mean 

Chapter - Choose Objects 

Chapter - Default Topic 

Volume - Array Phrase Implementations 

Chapter - Get and Set a particular element 

Section 2 - Get and Set the array size for 1-based arrays only 

Section 3 - Searches, Loops, and Ifs 

Chapter - 2-based array 

Chapter - Array-based Properties 

Chapter - (for Z-machine only) 

Chapter - (for Glulx only) 

Section - Properties that hold either an array or a rule 

Section - byte-based array of letters 

Section - 2-based array 


List of extensions included (About these  )

Standard Rules  version 2/090402 (documentation)


List of named values (About these )

Situation
player - person
location  - object
score  - number
last notified score - number
maximum score - number
turn count - number
time of day  - time
darkness witnessed - truth state

Current action
noun  - object
second noun - object
person asked  - object
reason the action failed  - rule
item described - object

Used when ruling on accessibility
person reaching  - object
container in question - object
supporter in question - object
particular possession  - thing

Used when understanding typed commands
player's command  - snippet
matched text - snippet
kind understood - value
current item from the multiple object list - object

Presentation on screen
command prompt  - text
left hand status line  - text
right hand status line - text
listing group size - number

Command parser errors
latest parser error - command parser error

Arrays in Inform 7
chosen row  - number

From the Output i6t File
reason for deciding scope  - scope reason
parser's current word position  - number
add to scope flag  - number
add to scope has-light-source  - truth state
TRACE testing command setting  - number
parser callback  - objects based rule
Parser one  - object
Parser two  - truth state
actor's scopewise location  - object
scope decider  - rule producing truth states
scope stage  - number
likely second noun  - object
multiple-object list overflowed  - truth state
action to be  - action name

Grammar Line Variables
current names list  - understood words valued property
pattern's current position  - number
second pattern's current position  - number

Grammar Token Variables
kind of multi  - grammar token
indefinite article mode  - truth state
noun filter  - rule producing truth states
TAKE ALL exception  - number

Match List Variables
number of objects in the match list  - number
number of words matched per object  - number
next word to parse  - number

Parsing Object Names
number of words in the command  - number
Where we found a number  - number


List of Tables (About tables )

Table of Final Question Options    5 columns, 5 rows
Table of Locale Priorities    2 columns, 2 rows (1 blank)


Library Card (About library cards: )

Story title    The Parser
Story author    Anonymous
Story headline    An Interactive Fiction
Story genre    Fiction
Release number    4
Story creation year    (This year)
IFID number    6EE9572E-846C-43F9-B276-BFAC9E383BCE
Story description    The parser for turning the text of the typed command into a proposed action by the player.


Story file format:  Glulx

Use dynamic memory allocation of at least 8192  Double this

Use maximum things understood at once of at least 100  Double this

You could also use:  ineffectual,  American dialect,  serial comma,  full-length room descriptions,  abbreviated room descriptions,  memory economy,  no scoring,  command line echoing,  undo prevention,  predictable randomisation,  fast route-finding,  slow route-finding,  numbered rules,  telemetry recordings,  no deprecated features,  VERBOSE room descriptions,  BRIEF room descriptions,  SUPERBRIEF room descriptions,  inflected nouns


 See some technicalities for Inform maintainers only