......
    

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 

Chapter 1 - New Kinds of Value 

understood word, ZSCII letter, 0-based index, 1-based index, struct

Chapter 2 - From the Definitions i6t File 

token type, '<grammar token>', '<understood word>', '<description of values>', '<adjective>', 'any <description of objects>', '<understand token>', grammar token, 'something preferably held', 'things', 'things preferably held', 'other things', 'things inside', 'someone', 'understood word', 'number', 'text', descriptor property, invalid-descriptor-property, run-time problem, backdrops in regions only run-time problem, parser result, numeric result, multiple result, UNDO reason, no further saved state exists to return to, ready to UNDO, UNDO succeeded, scope reason, does this allow multiple objects, please add eligible objects to scope, please report the noun not making sense in this context, invalid scope reason, because we're looping over scope, because we're testing scope, word usage, being a verb, being out of world, invalid word usage, being plural, parser action, parsing normally, identifying identical things, identifying plurals

Chapter 3 - From the Output i6t File 

Chapter 4 - From the Light i6t File 

Chapter 5 - From the Language i6t File 

Chapter 6 - From the Standard Rules 

Chapter 7 - From the RTP i6t File 

Chapter 8 - From the Individual VM's i6t File 

Chapter 9 - From other i6t Files 

Volume 2 - The Inform 6 Parser Template File 

Book - Basic Definitions and Utilities 

Chapter - Grammar Line Variables 

pattern union, that special word

Chapter - declarations moved forward 

descriptor kind, misc descriptors

Chapter - Grammar Token Variables 

Chapter - Match List Variables 

Chapter - Words 

Chapter - Snippets 

Section - A Small Snippet Extension 

Section - Snippets 

Chapter - Unpacking Grammar Lines 

Chapter - Extracting Verb Numbers 

Chapter - Keyboard Primitive 

Chapter - Reading the Command 

Book - The Parser Proper 

Section - (for Z-machine only) 

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 

Section - Descriptor Debugging - not for release 

Section - 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 - 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 - Translation 

Book - Inform 7 mini-extensions 

Chapter 1 - Understood Words 

invalid understood word

Chapter 2 - ZSCII Letters 

invalid ZSCII letter

Chapter 3 - New Command Parser Errors 

can't use addressee w/AGAIN error, nothing to repeat error, can't begin w/commas error, can't see addressee error, can't talk to inanimate objects error, can't understand sentence subjects error

Chapter 4 - Bit Twiddling 

Chapter 5 - Truth States as 'We' Commands 

Chapter 6 - Unconditional Local Jumps 

Chapter 7 - Pointer Arithmetic 

Chapter 8 - Bug Fixes 

Chapter 9 - Test-at-the-Bottom Loops 

Chapter 10 - Alternatives (for use without Alternatives by Eric Eve) 

Chapter 11 - Inform 6 Direct Translations 

Section 1 - Object Tree and Properties 

Section 2 - Control 

Section 3 - Rules and Routines 

Chapter 12 - Testing 

Section 1 - Debugging Built in to Parser i6t 

Section 2 - Debugging this - not for release 

Chapter 13 - Use-Options for Languages Other Than English 

Chapter 14 - Typecasts 

Book - Preserving I6 Function Names Where Necessary 

Book - Array Phrases 

Chapter - Arrays in Inform 7 

0-based-array, 1-based-array

Chapter - Get and Set a particular element for arrays of word values 

Chapter - Get and Set a particular element for arrays of letters 

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

Section 2 - Searches, Loops, and Ifs 

Section - For use by WDYM element grouping 

Chapter - Array-based Properties 

Volume - Differences between the Z-machine and Glulx 

Book - (for Z-machine only) 

Book - (for Glulx only) 


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

From the Output i6t File
saved score  - number
saved turn count  - number
pending paragraph break  - truth state
paragraphing status  - number
UNDO status  - undo reason
TRACE testing command setting  - number
parser callback  - objects based rule
pronoun used  - understood word
saved pronoun used  - understood word
saved pronoun reference object  - object
What the parser's doing  - parser action
Parser one  - object
Parser two  - truth state
Parser object two  - object
number of parameters in the command  - number
action to be  - action name
action's nouns swapped places  - truth state
parser's current word position  - number
number of words in the command  - number
verb  - understood word
verb's position  - number
reason for deciding scope  - scope reason
scope decider  - rule producing truth states
context that this noun didn't make sense within  - rule producing truth states
scope stage  - scope reason
likely second noun  - object
add to scope flag  - number
add to scope has-light-source  - truth state
actor's scopewise location  - object
multiple-object list overflowed  - truth state
action in progress  - action name
person requesting  - person
position of the topic understood  - number
length of the topic understood  - number

Grammar Line Variables
current names list  - understood words valued property
understood command's current size  - number
second understood command's current size  - number
number of parameters for this line  - number
Make inferences  - truth state
Where inferring the pattern from  - number
Remember where the typo's at  - number
ranking strategy  - number
Where the previous typo's at  - number

Grammar Token Variables
current token type  - token type
current grammar token  - grammar token
length of this noun  - number
next token  - grammar token
kind of multi  - grammar token
number of items wanted previously wanted  - number
number of items actually received  - number
indefinite article mode  - truth state
type of descriptor word used  - descriptor kind
number of items wanted  - number
Probably plural  - truth state
What the pronoun stands for  - object
grammatical case  - word usage
Ambiguous descriptor  - truth state
Where we found a number used like an adjective  - number
noun filter  - rule producing truth states
Allow numeric words as descriptors  - truth state
TAKE ALL exception  - number
word's usages  - word usage

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

Parse Token
parse token nesting level  - number

TryGivenObject
Noting descriptors  - truth state

Choose Objects
number of objects in the alternate match list  - number

Arrays in Inform 7
chosen  - number

For use by WDYM element grouping
current group-together 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    6
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:  Z-Machine version 5  See estimates of memory usage

Use preferred held objects 

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,  choose objects debugging,  inflected nouns


 See some technicalities for Inform maintainers only