From a.rosta@ntlworld.com Mon Aug 27 09:17:26 2001
Return-Path: <a.rosta@ntlworld.com>
X-Sender: a.rosta@ntlworld.com
X-Apparently-To: lojban@yahoogroups.com
Received: (EGP: mail-7_3_2); 27 Aug 2001 16:17:26 -0000
Received: (qmail 82567 invoked from network); 27 Aug 2001 15:58:12 -0000
Received: from unknown (10.1.10.27)
  by l9.egroups.com with QMQP; 27 Aug 2001 15:58:12 -0000
Received: from unknown (HELO mta07-svc.ntlworld.com) (62.253.162.47)
  by mta2 with SMTP; 27 Aug 2001 15:58:12 -0000
Received: from andrew ([62.255.42.247]) by mta07-svc.ntlworld.com
  (InterMail vM.4.01.03.00 201-229-121) with SMTP
  id <20010827155810.NNHQ710.mta07-svc.ntlworld.com@andrew>
  for <lojban@yahoogroups.com>; Mon, 27 Aug 2001 16:58:10 +0100
To: "Lojban@Yahoogroups. Com" <lojban@yahoogroups.com>
Subject: LALR1 question
Date: Mon, 27 Aug 2001 16:57:24 +0100
Message-ID: <LPBBJKMNINKHACNDIIGMMEALEKAA.a.rosta@ntlworld.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
From: "And Rosta" <a.rosta@ntlworld.com>

I don't think I understand what the difference between 0-tokens 
lookahead and 1-token lookahead is.

Take the notorious example:

le broda joi le brode
1 2 3 4

If "1-token lookahead" means that the decision about how to parse
word n can be made on the basis of knowing what word n+1 is, then
how come it won't work in this case? You get to word 3 & think
"selbri linkage or sumti linkage?", so you take a look at word 4,
see it's a sumti and so parse word 3 as sumti linkage.

What actually happens, apparently, is that when you hit word 3 
you're not allowed to see word 4. Can someone explain this to me,
please? That is, explain what lookahead is.

--And.

