Message-ID: <3c8c56bb_3@corp-news.newsgroups.com>
From: CardinalT <cardinalt@helpmejebus.com>
Subject: Re: The pitfalls of skipping words in parsing [was Re: Making a parser - what are the minimal requirements?
Newsgroups: rec.arts.int-fiction
Date: Sun, 10 Mar 2002 23:01:55 -0800
References: <665b644a.0203100742.7481160d@posting.google.com> <MPG.16f56d3a3b5bd414989693@news.mindspring.com> <3c8be350$1_1@corp-news.newsgroups.com> <u8npij7s9grg50@corp.supernews.com>
Lines: 21
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: news4
X-Authenticated-User: 1001408008
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups.
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!hub1.nntpserver.com!hub1.meganetnews.com!local-out2.newsfeeds.com!corp-news.newsgroups.com!not-for-mail
Xref: news.duke.edu rec.arts.int-fiction:101485

Kodrik wrote:

>> nor can two objects share the same grammar.
>
> Everything you said is true except this last point. Two objects can share
> the same grammar, which one is taken will be decided upon it's position
> when processed by the parser. That's why positionning the order in which
> the parser processes inputs is crucial.

Sorry, I worded this badly. What I meant to say is that one object can't
use the already constructed grammar of another object. The designer has to
supply a complete grammar for every object.

In Hugo (or Inform or TADS), grammar is universal. If I construct a grammar
for my new object, pistol, I can then use that same grammar for another,
similar item, rifle, without having to rewrite the whole thing from
scratch.

--
--CardinalT
  Archbishop of Frith and Funeral Barker to the Stars
