AminetAminet
Search:
84799 packages online
About
Recent
Browse
Search
Upload
Setup
Services

game/text/infoglf1.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Adds new features to Inform's parser
Author: glyph at mindless.com (GLYPH)
Uploader:glyph mindless com (GLYPH)
Type:game/text
Architecture:generic
Date:1998-02-01
Download:game/text/infoglf1.lha - View contents
Readme:game/text/infoglf1.readme
Downloads:1399

This archive contains modified versions of grammar.h, parser.h, parserm.h,
and english.h.  They're real neat and super easy to use in your own inform
games.


What does it do?
================
The modifications I have whipped up extend Inform's standard parser to
include some nifty handy features:

Better handling of AND and THEN
-------------------------------
"Take the box and then open it" works now.
"Take and open the box" works now.
"Pick up the box and the ball and open the box and look in it" works now.
"Take and open the book and the box and put the book in the box" works too.

Better handling of multiple subjects
------------------------------------
Most verbs now allow multiple subjects, like "Look at all".  To keep
things fair, daemons are allowed to run between actions, but only if the
action took time to do.

For example, if you had a Rat daemon going and you typed "open all", you
might get something like this:

Book: Opened.                               <- it worked so it took time
The rats are chewing on your foot.          <- this is the Rat daemon
Table: That's not something you can open.   <- no time taken so no daemon
Door: Opened.                               <- took time
The rats are still chewing on your foot.    <- that Rat daemon again

-----------------------------------------


Contents of game/text/infoglf1.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1283    2941  43.6% -lh5- 05aa Jan 30  1998 glyph.txt
[generic]                  466     986  47.3% -lh5- 6f19 Dec 31  1969 gparser.h
[generic]                49890  168228  29.7% -lh5- fcef Dec 31  1969 gparserm.h
[generic]                 8407   35541  23.7% -lh5- a7c9 Dec 31  1969 genglish.h
[generic]                 3611   20205  17.9% -lh5- 0873 Dec 31  1969 ggrammar.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   63657  227901  27.9%            Feb  1  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>